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:
5cc9de1
)
[project @ 1998-08-14 11:03:37 by sof]
author
sof
<unknown>
Fri, 14 Aug 1998 11:03:37 +0000
(11:03 +0000)
committer
sof
<unknown>
Fri, 14 Aug 1998 11:03:37 +0000
(11:03 +0000)
{Save,Restore}AllStgRegs: save and restore LngRegs
ghc/includes/StgRegs.lh
patch
|
blob
|
history
diff --git
a/ghc/includes/StgRegs.lh
b/ghc/includes/StgRegs.lh
index
f5664f9
..
10f447e
100644
(file)
--- a/
ghc/includes/StgRegs.lh
+++ b/
ghc/includes/StgRegs.lh
@@
-116,6
+116,14
@@
void SaveAllStgRegs(STG_NO_ARGS)
SAVE_Dbl2 = DblReg2;
#endif
+#ifdef REG_Lng1
+ SAVE_Lng1 = LngReg1;
+#endif
+
+#ifdef REG_Lng2
+ SAVE_Lng2 = LngReg2;
+#endif
+
#ifdef REG_Tag
SAVE_Tag = TagReg;
#endif
@@
-254,6
+262,14
@@
RestoreAllStgRegs (STG_NO_ARGS)
DblReg2 = SAVE_Dbl2;
#endif
+#ifdef REG_Lng1
+ LngReg1 = SAVE_Lng1;
+#endif
+
+#ifdef REG_Lng2
+ LngReg2 = SAVE_Lng2;
+#endif
+
#ifdef REG_Tag
TagReg = SAVE_Tag;
#endif