mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 01:11:32 +00:00
llvm-like naming of __heap_base, definition fixes, update examples
This commit is contained in:
Binary file not shown.
@ -111,6 +111,7 @@ car.openDoors();
|
||||
assert.strictEqual(car.isDoorsOpen, 1);
|
||||
car.closeDoors();
|
||||
assert.strictEqual(car.isDoorsOpen, 0);
|
||||
module.__release(car); // uses Car.prototype.valueOf to obtain `thisPtr`
|
||||
|
||||
// should be able to use trace
|
||||
module.dotrace(42);
|
||||
|
Reference in New Issue
Block a user