mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-02 08:01:48 +00:00
Add offsetof<T> builtin; Put a function's trampoline into the function table if a it has optional parameters; TypedArray scaffolding
This commit is contained in:
@ -3012,7 +3012,7 @@ export class ClassPrototype extends Element {
|
||||
}
|
||||
}
|
||||
}
|
||||
instance.currentMemoryOffset = memoryOffset; // sizeof<this>() is its byte size in memory
|
||||
instance.currentMemoryOffset = memoryOffset; // offsetof<this>() is the class' byte size in memory
|
||||
return instance;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user