create And Push Register Dump Arrays
fun createAndPushRegisterDumpArrays(translator: JVMTranslator, method: MethodVisitor)
Content copied to clipboard
Write JVM bytecodes to the JVMTranslator which will push:
An Array of AvailObjects containing the value of each live boxed register, and
A LongArray containing encoded data from each live unboxed register.
Also, associate within the JVMTranslator the information needed to extract these live registers when the target L2_ENTER_L2_CHUNK is reached.
These arrays are suitable arguments for creating a ContinuationRegisterDumpDescriptor instance.
Parameters
translator
The JVMTranslator in which to record the saved register layout.
method
The MethodVisitor on which to write code to push the register dump.