generate Push Arguments And Invoke
fun generatePushArgumentsAndInvoke( translator: JVMTranslator, method: MethodVisitor, argsRegsList: List<L2ReadBoxedOperand>, result: L2WriteBoxedOperand, onNormalReturn: L2PcOperand, onReification: L2PcOperand)
Content copied to clipboard
Generate code to push the arguments and invoke. This expects the stack to already contain the Interpreter, the calling L2Chunk, another occurrence of the Interpreter, and the A_Function to be invoked.
Parameters
translator
The translator on which to generate the invocation.
method
The MethodVisitor controlling the method being written.
args Regs List
The List of L2ReadBoxedOperand arguments.
result
Where to write the return result if the call returns without reification.
on Normal Return
Where to jump if the call completes.
on Reification
Where to jump if reification is requested during the call.