mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-20 18:26:40 +00:00
Update binaryen; Replace uses of Math.* with portable built-ins
This commit is contained in:
@ -37,7 +37,7 @@ export class Type {
|
||||
constructor(kind: TypeKind, size: i32) {
|
||||
this.kind = kind;
|
||||
this.size = size;
|
||||
this.byteSize = Math.ceil(<f64>size / 8);
|
||||
this.byteSize = ceil<f64>(<f64>size / 8);
|
||||
this.classType = null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user