1
0
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:
Bruce Mitchener 2021-01-16 10:33:39 +07:00 committed by GitHub
parent 3480ee9711
commit 4c84412c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -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 */

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