svm: typo
authorMatt Birkholz <matt@birchwood-abbey.net>
Tue, 31 Jan 2017 01:39:32 +0000 (18:39 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Tue, 31 Jan 2017 01:39:32 +0000 (18:39 -0700)
src/compiler/machines/svm/lapgen.scm

index 811e68fb473d766484bfa2389fec96417ada85e8..778e7fd886ba4a1f1aa6e1b6f377e8520e970924 100644 (file)
@@ -260,7 +260,7 @@ USA.
 
 (define (rtl:immediate-machine-constant? expression)
   (and (rtl:machine-constant? expression)
-       (immediate-integer? (rtl:machine-constant-value offset))))
+       (immediate-integer? (rtl:machine-constant-value expression))))
 
 (define (simple-offset->ea! offset)
   (let ((base (rtl:offset-base offset))