The following crashes 3.3.0 through current trunk (commit:caf4f279d1): ```ruby module M # fixnum: (0x6f56<<1)+1 = 0xdead def first = 0x6f56.instance_exec { super } end M.instance_method(:first).bind_call([]) # <internal:array>...alanwu (Alan Wu)
Give the stack map decoder knowledge of frame layout so that it can decide whether to write each frame's locals: - ZJIT_STACK_MAP_OP_SKIP_VM_ENV_DATA moves the cursor past a frame's env data (me/cref, specval, flags) and marks the sta...alanwu (Alan Wu)
Categorize local variable access into two kinds: syntactic access and surprise access. Syntactic accesses are ones written out in the Ruby source, contained in the ISEQ and visible at compile time. Surprise accesses come from facilities ...alanwu (Alan Wu)
Now that the stack map describes local variables, replace the local-spilling code stubs of side exits. The stack map decoder checks whether the environment has escaped before writing locals at runtime, unlike previously, when it was bou...alanwu (Alan Wu)
We make a lot of empty BitSets for FrameState::spilled_locals and previously allocated memory for the clear bits unnecessarily. There is now one representation for the all-clear BitSet of any size.alanwu (Alan Wu)