Don't eliminate SLOAD restores across RETF.

Move restore-elimination logic into snapshot_slots().
This commit is contained in:
Mike Pall
2010-02-23 03:08:49 +01:00
parent f751cd1d6f
commit c1362dcac9
3 changed files with 13 additions and 6 deletions

View File

@@ -125,6 +125,7 @@ typedef uint32_t SnapEntry;
#define SNAP_FRAME 0x010000 /* Frame slot. */
#define SNAP_CONT 0x020000 /* Continuation slot. */
#define SNAP_NORESTORE 0x040000 /* No need to restore slot. */
LJ_STATIC_ASSERT(SNAP_FRAME == TREF_FRAME);
LJ_STATIC_ASSERT(SNAP_CONT == TREF_CONT);