mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-13 15:01:28 +00:00
Rename memory instructions; Rework constant handling
This commit is contained in:
@ -39,8 +39,8 @@ export class Car {
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
free_memory(changetype<usize>(this));
|
||||
memory.free(changetype<usize>(this));
|
||||
}
|
||||
}
|
||||
|
||||
export { allocate_memory, free_memory };
|
||||
export { memory };
|
||||
|
Reference in New Issue
Block a user