Commits

Mark Shannon committed 3296790 Draft

Update frame reference from tstate in MATERIALISE

  • Participants
  • Parent commits 8d4d199

Comments (0)

Files changed (2)

File Python/register_interpreter.c

             PyObject *consts = registers[r1];
             PyObject *bytes = registers[r0];
             HotPy_MaterialiseFrame(tstate, bytes, consts, k0);
+            f = tstate->real_frame;
             DISPATCH();
 
         TARGET(PICK)

File Python/trace_interpreter.c

             PyObject *consts = POP();
             PyObject *bytes = POP();
             HotPy_MaterialiseFrame(tstate, bytes, consts, oparg);
+            f = tstate->real_frame;
+            SET_LOCALS_FROM_FRAME;
             Py_DECREF(bytes);
             Py_DECREF(consts);
             DISPATCH();