From: Stephen Adams Date: Fri, 8 Sep 1995 03:07:41 +0000 (+0000) Subject: Fixed dbg-info for diamonds. X-Git-Tag: 20090517-FFI~5969 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=426e5210f1e372fd413ca2bbe9c69ac8e32124dc;p=mit-scheme.git Fixed dbg-info for diamonds. --- diff --git a/v8/src/compiler/midend/typerew.scm b/v8/src/compiler/midend/typerew.scm index 61cd0fd3c..925f6af4b 100644 --- a/v8/src/compiler/midend/typerew.scm +++ b/v8/src/compiler/midend/typerew.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: typerew.scm,v 1.4 1995/09/05 18:46:09 adams Exp $ +$Id: typerew.scm,v 1.5 1995/09/08 03:07:41 adams Exp $ Copyright (c) 1994-1995 Massachusetts Institute of Technology @@ -466,8 +466,11 @@ MIT in each case. |# (define (typerew/remember new old) (code-rewrite/remember new old)) -(define (typerew/remember* new old) - (code-rewrite/remember new old)) +(define (typerew/remember* equivalent-subform new-form) + (let ((info (code-rewrite/original-form new-form))) + (if info + (code-rewrite/remember* equivalent-subform info)))) + (define (typerew/new-name prefix) (new-variable prefix))