|
|
|
@ -323,7 +323,7 @@ public class CodeGenImpl extends CodeGenBase
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
backend.emitADDI(SP, SP, -spaceRequiredForArgs, "Set SP to last argument.");
|
|
|
|
|
backend.emitJAL(new Label("$"+functionId.name), "Invoke function: " + functionId.name);
|
|
|
|
|
backend.emitJAL(calleeFunctionInfo.getCodeLabel(), "Invoke function: " + functionId.name);
|
|
|
|
|
backend.emitADDI(SP, SP, spaceRequiredForArgs, "Set SP to stack frame top.");
|
|
|
|
|
}
|
|
|
|
|
return A0;
|
|
|
|
|