Initial instance methods and field layout; More cleanup

This commit is contained in:
dcodeIO
2018-01-01 20:27:21 +01:00
parent 2888ba14ad
commit 3add4624c5
29 changed files with 2196 additions and 622 deletions

View File

@ -6,7 +6,7 @@ var HEAP_OFFSET: usize = HEAP_BASE; // HEAP_BASE is a constant generated by the
// TODO: maybe tlsf
@global()
@global
export class Heap {
static get used(): usize { return HEAP_OFFSET - HEAP_BASE; }