Fix misparenthesization.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 31 Dec 2018 21:41:51 +0000 (21:41 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Tue, 1 Jan 2019 06:30:06 +0000 (06:30 +0000)
src/compiler/base/utils.scm

index e4858c9bba168c52720d8449159eee55cea1c91c..d25442748b4f41a6ba8262ee4d8d2af9cd432037 100644 (file)
@@ -541,8 +541,8 @@ USA.
 
 (define (constant-foldable-primitive? operator)
   (and (memq operator function-primitives)
-       (or (not compiler:cross-compiling?))
-       (not (memq operator machine-dependent-primitives))))
+       (not (and compiler:cross-compiling?
+                (memq operator machine-dependent-primitives)))))
 
 (define-integrable (side-effect-free-primitive? operator)
   (memq operator side-effect-free-primitives))