generatePushArgumentsAndInvoke

fun generatePushArgumentsAndInvoke(    translator: JVMTranslator,     method: MethodVisitor,     argsRegsList: List<L2ReadBoxedOperand>,     result: L2WriteBoxedOperand,     onNormalReturn: L2PcOperand,     onReification: L2PcOperand)

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.

argsRegsList

The List of L2ReadBoxedOperand arguments.

result

Where to write the return result if the call returns without reification.

onNormalReturn

Where to jump if the call completes.

onReification

Where to jump if reification is requested during the call.