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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user