projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba85e16
)
Fix SVM interpreter's INDEX-FIXNUM? predicate.
author
Taylor R Campbell
<campbell@mumble.net>
Sat, 28 Aug 2010 20:56:36 +0000
(20:56 +0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Sat, 28 Aug 2010 20:56:36 +0000
(20:56 +0000)
src/microcode/svm1-interp.c
patch
|
blob
|
history
diff --git
a/src/microcode/svm1-interp.c
b/src/microcode/svm1-interp.c
index 6ce84540823c8005b3c0d40997fa36a5c95835a7..89e2be0007825c00f88e33af8d917d274df17902 100644
(file)
--- a/
src/microcode/svm1-interp.c
+++ b/
src/microcode/svm1-interp.c
@@
-771,7
+771,7
@@
DEFINE_CJF_1 (pl, pu, s32, S32)
#define CMP_FIX(a) (LONG_TO_FIXNUM_P (a))
#define CMP_NFIX(a) (!CMP_FIX (a))
-#define CMP_IFIX(a) (((a) & SIGN_MASK) == (
TC_FIXNUM * 2
))
+#define CMP_IFIX(a) (((a) & SIGN_MASK) == (
MAKE_OBJECT (TC_FIXNUM, 0)
))
#define CMP_NIFIX(a) (!CMP_IFIX (a))
DEFINE_CJF (fix, FIX)