question about understand interp generate transform code #109072
Labels
area-Codegen-Interpreter-mono
question
Answer questions and provide assistance, not an issue with source code or documentation.
Milestone
mono interp transfer il code to opcode in
generate
function:runtime/src/mono/mono/mini/interp/transform.c
Line 9424 in 1e5bae2
the
TransformData
allocate stack at below:runtime/src/mono/mono/mini/interp/transform.c
Lines 9501 to 9508 in 1e5bae2
and will store the custom data in
data_items
:runtime/src/mono/mono/mini/interp/transform.c
Line 9476 in 1e5bae2
at end of the function
generate
, I found theopcode
ordata_items
will copy to InterpMethod in below code:runtime/src/mono/mono/mini/interp/transform.c
Lines 9584 to 9614 in 1e5bae2
and copy
InterpInst
(allocated ininterp_add_ins
) atgenerate_compacted_code
:runtime/src/mono/mono/mini/interp/transform.c
Lines 9286 to 9289 in 1e5bae2
but I could not found the
td->stack
been copy before being freed at :runtime/src/mono/mono/mini/interp/transform.c
Lines 9675 to 9688 in 1e5bae2
why not these data not restore to
InterpMethod
or maybe other place restore it?could you help me? @BrzVlad
The text was updated successfully, but these errors were encountered: