1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-31 13:52:29 +00:00

Correct some ifdefs from ISC to RESWAPPEDCODESTREAM. (#227)

`RESWAPPEDCODESTREAM` was only used on ISC, so some `#ifdef`'s were
previously set up incorrectly.
This commit is contained in:
Bruce Mitchener
2021-01-16 10:33:39 +07:00
committed by GitHub
parent 3480ee9711
commit 4c84412c84
2 changed files with 6 additions and 6 deletions

View File

@@ -72,12 +72,12 @@ newframe:
fnhead = (struct fnhead *)Addr68k_from_LADDR(POINTERMASK & SWA_FNHEAD((int)caller->fnheader));
pc = (ByteCode *)fnhead + (caller->pc);
}
#ifdef ISC
#ifdef RESWAPPEDCODESTREAM
if (!fnhead->byteswapped) {
byte_swap_code_block(fnhead);
fnhead->byteswapped = 1;
}
#endif /* ISC */
#endif /* RESWAPPEDCODESTREAM */
newpc:
#ifdef ISC
@@ -177,12 +177,12 @@ newframe:
pc = (ByteCode *)fnhead + (caller->pc);
}
#ifdef ISC
#ifdef RESWAPPEDCODESTREAM
if (!fnhead->byteswapped) {
byte_swap_code_block(fnhead);
fnhead->byteswapped = 1;
}
#endif /* ISC */
#endif /* RESWAPPEDCODESTREAM */
newpc:
#ifdef ISC