Because we were too lazy to distinguish between locals and params in the
compiler, we had to move locals off the operand stack, and into JIT
locals, when PassParam is enabled. Since splitting the accessor opcode
into a param and a local code, it's now trivial to tell what we're
accessing. Now, this PR always defines JIT locals, independently of PP.
In the future, we may want to move this functionality out to the VM
state model.
Because we were too lazy to distinguish between locals and params in the compiler, we had to move locals off the operand stack, and into JIT locals, when PassParam is enabled. Since splitting the accessor opcode into a param and a local code, it's now trivial to tell what we're accessing. Now, this PR always defines JIT locals, independently of PP. In the future, we may want to move this functionality out to the VM state model.
Signed-off-by: Robert Young rwy0717@gmail.com