mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-21 01:57:49 +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:
parent
3480ee9711
commit
4c84412c84
@ -33,7 +33,7 @@
|
||||
|
||||
|
||||
/* FAST case return use */
|
||||
#ifndef ISC
|
||||
#ifndef RESWAPPEDCODESTREAM
|
||||
#define FastRetCALL \
|
||||
{ \
|
||||
/* Get IVar from Returnee's IVAR offset slot(BF) */ \
|
||||
@ -60,7 +60,7 @@
|
||||
FuncObj->byteswapped = 1; \
|
||||
} \
|
||||
}
|
||||
#endif /* ISC */
|
||||
#endif /* RESWAPPEDCODESTREAM */
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user