From 544c0aa835344814a7e9782f9e64ae3e2699d686 Mon Sep 17 00:00:00 2001 From: Stephen Adams Date: Mon, 22 Jul 1996 04:46:15 +0000 Subject: [PATCH] *** empty log message *** --- v8/src/compiler/machines/spectrum/rulrew.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/v8/src/compiler/machines/spectrum/rulrew.scm b/v8/src/compiler/machines/spectrum/rulrew.scm index c2c4c72ad..8686d5d5e 100644 --- a/v8/src/compiler/machines/spectrum/rulrew.scm +++ b/v8/src/compiler/machines/spectrum/rulrew.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: rulrew.scm,v 1.5 1995/07/27 14:23:46 adams Exp $ +$Id: rulrew.scm,v 1.6 1996/07/22 04:46:15 adams Exp $ Copyright (c) 1990-1993 Massachusetts Institute of Technology @@ -129,8 +129,9 @@ MIT in each case. |# (define-rule rewriting (CONS-POINTER (? type) (REGISTER (? datum register-known-value))) (QUALIFIER (and (rtl:object->datum? datum) - (not (rtl:constant-non-pointer? - (rtl:object->datum-expression datum))))) + (let ((datum-expression (rtl:object->datum-expression datum))) + (and (rtl:constant? datum-expression) + (not (rtl:constant-non-pointer? datum-expression)))))) ;; Since we use DEP/DEPI, there is no need to clear the old bits (rtl:make-cons-pointer type (rtl:object->datum-expression datum))) -- 2.25.1