Merge in changes from split-tag system.
authorChris Hanson <org/chris-hanson/cph>
Mon, 19 Dec 1994 22:11:51 +0000 (22:11 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 19 Dec 1994 22:11:51 +0000 (22:11 +0000)
v7/src/runtime/conpar.scm
v8/src/runtime/conpar.scm

index 0f1593b8930c1266bc1a07d916afae6a30b98927..14d446340cffa97f1388c9282ec4b8f559868f73 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: conpar.scm,v 14.34 1994/12/19 21:44:25 cph Exp $
+$Id: conpar.scm,v 14.35 1994/12/19 22:11:51 cph Exp $
 
 Copyright (c) 1988-94 Massachusetts Institute of Technology
 
@@ -549,16 +549,18 @@ MIT in each case. |#
                 5
                 (fix:+ 5 fsize))))
          ((fix:= code code/interrupt-restart)
-          (let ((homes-saved (object-datum (element-stream/ref stream 2)))
-                (regs-saved (object-datum (element-stream/ref stream 3))))
-            ;; The first reg saved is _always_ the continuation,
-            ;; part of the next frame.
-            (fix:- (fix:+
-                    ;; Return code, reflect code, homes saved, regs saved,
-                    ;; and entry point
-                    5
-                    (fix:+ homes-saved regs-saved))
-                   1)))
+          (if (fix:= 12 microcode-id/version)
+              4
+              (let ((homes-saved (object-datum (element-stream/ref stream 2)))
+                    (regs-saved (object-datum (element-stream/ref stream 3))))
+                ;; The first reg saved is _always_ the continuation,
+                ;; part of the next frame.
+                (fix:- (fix:+
+                        ;; Return code, reflect code, homes saved, regs saved,
+                        ;; and entry point
+                        5
+                        (fix:+ homes-saved regs-saved))
+                       1))))
          ((fix:= code code/restore-regs)
           (fix:+ 3 (object-datum (element-stream/ref stream 2))))
          ((fix:= code code/apply-compiled)
index 0f1593b8930c1266bc1a07d916afae6a30b98927..14d446340cffa97f1388c9282ec4b8f559868f73 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: conpar.scm,v 14.34 1994/12/19 21:44:25 cph Exp $
+$Id: conpar.scm,v 14.35 1994/12/19 22:11:51 cph Exp $
 
 Copyright (c) 1988-94 Massachusetts Institute of Technology
 
@@ -549,16 +549,18 @@ MIT in each case. |#
                 5
                 (fix:+ 5 fsize))))
          ((fix:= code code/interrupt-restart)
-          (let ((homes-saved (object-datum (element-stream/ref stream 2)))
-                (regs-saved (object-datum (element-stream/ref stream 3))))
-            ;; The first reg saved is _always_ the continuation,
-            ;; part of the next frame.
-            (fix:- (fix:+
-                    ;; Return code, reflect code, homes saved, regs saved,
-                    ;; and entry point
-                    5
-                    (fix:+ homes-saved regs-saved))
-                   1)))
+          (if (fix:= 12 microcode-id/version)
+              4
+              (let ((homes-saved (object-datum (element-stream/ref stream 2)))
+                    (regs-saved (object-datum (element-stream/ref stream 3))))
+                ;; The first reg saved is _always_ the continuation,
+                ;; part of the next frame.
+                (fix:- (fix:+
+                        ;; Return code, reflect code, homes saved, regs saved,
+                        ;; and entry point
+                        5
+                        (fix:+ homes-saved regs-saved))
+                       1))))
          ((fix:= code code/restore-regs)
           (fix:+ 3 (object-datum (element-stream/ref stream 2))))
          ((fix:= code code/apply-compiled)