If the continuation of a combination is always known, do not record it
authorChris Hanson <org/chris-hanson/cph>
Wed, 14 Sep 1988 06:38:12 +0000 (06:38 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 14 Sep 1988 06:38:12 +0000 (06:38 +0000)
as the invocation continuation.  This is because the object will not
exist, and thus its label will never be defined.

v7/src/compiler/rtlgen/rgcomb.scm

index c1ac23bcbdcd6c0663a27eccaa90692f608b994c..5cbd45056c9750f44506385358a4829294a5a825 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/rtlgen/rgcomb.scm,v 4.5 1988/06/14 08:42:37 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/rtlgen/rgcomb.scm,v 4.6 1988/09/14 06:38:12 cph Exp $
 
 Copyright (c) 1988 Massachusetts Institute of Technology
 
@@ -56,6 +56,8 @@ MIT in each case. |#
                           offset
                           frame-size
                           (and (return-operator/subproblem? continuation)
+                               (not (continuation/always-known-operator?
+                                     continuation))
                                (continuation/label continuation))
                           (generate/invocation-prefix block
                                                       callee