projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edc1a1b
)
[project @ 1997-10-30 22:29:59 by sof]
author
sof
<unknown>
Thu, 30 Oct 1997 22:29:59 +0000
(22:29 +0000)
committer
sof
<unknown>
Thu, 30 Oct 1997 22:29:59 +0000
(22:29 +0000)
ErrorIO_innards: push realWorld# on B stack (cf. startStgWorld)
ghc/runtime/main/StgStartup.lhc
patch
|
blob
|
history
diff --git
a/ghc/runtime/main/StgStartup.lhc
b/ghc/runtime/main/StgStartup.lhc
index
61d963b
..
30b29a8
100644
(file)
--- a/
ghc/runtime/main/StgStartup.lhc
+++ b/
ghc/runtime/main/StgStartup.lhc
@@
-355,10
+355,13
@@
STGFUN(ErrorIO_innards)
/* Finish stack setup as if for a top-level task and enter the error node */
+ /* Put an IoWorld token on the B stack */
+ SpB -= BREL(1);
+ *SpB = (P_) realWorldZh_closure;
+/*
SpA = SuA - AREL(1);
-
*SpA = (P_) realWorldZh_closure;
-
+*/
STKO_LINK(StkOReg) = PrelBase_Z91Z93_closure;
STKO_RETURN(StkOReg) = NULL;