Minor restructure and fixes; README; Proposed binaryen additions

This commit is contained in:
dcodeIO
2017-12-10 21:59:45 +01:00
parent 5ff88e126e
commit 0228ab91d9
13 changed files with 391 additions and 72 deletions

View File

@ -37,7 +37,7 @@ export class Type {
constructor(kind: TypeKind, size: i32) {
this.kind = kind;
this.size = size;
this.byteSize = ceil<f64>(<f64>size / 8);
this.byteSize = <i32>ceil<f64>(<f64>size / 8);
this.classType = null;
}