1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-17 08:33:48 +00:00

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

In commit 6f7ec059bc763d49c753adea70d5cc337f9e353c, 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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: