1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-26 03:51:32 +00:00

Fix compilation error from dead store removal. (#266)

In commit 6f7ec059bc, we removed
some dead stores. This broke compilation when `STACKCHECK` was
enabled.

Closes Interlisp/medley#162.
This commit is contained in:
Bruce Mitchener
2021-01-21 14:49:18 +07:00
committed by GitHub
parent 421685bd49
commit 36b8695bf6

View File

@@ -335,7 +335,7 @@ SCAN:
case STK_FX:
scanptr68k = (StackWord *)Addr68k_from_StkOffset(((FX *)scanptr68k)->nextblock);
break;
default:
default: {
#ifdef STACKCHECK
StackWord *orig68k = scanptr68k;
#endif
@@ -360,7 +360,7 @@ SCAN:
/* Used to be a +=, but SunOS4/Sparc compiles it wrong */
scanptr68k = (StackWord *)((DLword *)scanptr68k + DLWORDSPER_CELL);
break;
}
} /* end switch(scanptr68k */
NEXT: