mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-06 10:01:59 +00:00
Refactor TLSF to a more TS-friendly structure
This commit is contained in:
@ -2693,6 +2693,7 @@ export class Compiler extends DiagnosticEmitter {
|
||||
this.currentType = getterInstance.returnType;
|
||||
if (getterInstance.isInstance) {
|
||||
var targetExpr = this.compileExpression(<Expression>resolved.targetExpression, this.options.target == Target.WASM64 ? Type.usize64 : Type.usize32)
|
||||
this.currentType = getterInstance.returnType;
|
||||
return this.makeCall(getterInstance, [ targetExpr ]);
|
||||
} else
|
||||
return this.makeCall(getterInstance);
|
||||
|
Reference in New Issue
Block a user