unify runtime header

This commit is contained in:
dcode
2019-04-08 23:22:13 +02:00
parent 8ec51423ca
commit c16c19e18d
152 changed files with 7726 additions and 7703 deletions

View File

@ -419,9 +419,9 @@ export class Program extends DiagnosticEmitter {
this.resolver = new Resolver(this);
}
/** Gets the size of a common runtime header. */
/** Gets the size of a runtime header. */
get runtimeHeaderSize(): i32 {
return this.collectorKind ? 16 : 8;
return 16;
}
/** Writes a common runtime header to the specified buffer. */