summaryrefslogtreecommitdiff
path: root/ghc/compiler/nativeGen/Stix.lhs
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-11-08 12:56:01 +0000
committersimonmar <unknown>2001-11-08 12:56:01 +0000
commit6ae381cd9ca394e33c0d67b09c8b15a6500b6083 (patch)
treedec2ee4dd13b5a1d0ad38ac96584f6fde5334cc7 /ghc/compiler/nativeGen/Stix.lhs
parent11c7505f6a0d17bb7d00183b81a0bbf7cd38f3ef (diff)
downloadhaskell-6ae381cd9ca394e33c0d67b09c8b15a6500b6083.tar.gz
[project @ 2001-11-08 12:56:00 by simonmar]
Updates to the native code generator following the changes to fix the large block allocation bug, and changes to use the new function-address cache in the register table to reduce code size. Also: I changed the pretty-printing machinery for assembly code to use Pretty rather than Outputable, since we don't make use of the styles and it should improve performance. Perhaps the same should be done for abstract C.
Diffstat (limited to 'ghc/compiler/nativeGen/Stix.lhs')
-rw-r--r--ghc/compiler/nativeGen/Stix.lhs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc/compiler/nativeGen/Stix.lhs b/ghc/compiler/nativeGen/Stix.lhs
index cc7a491eb9..e8c27d1d13 100644
--- a/ghc/compiler/nativeGen/Stix.lhs
+++ b/ghc/compiler/nativeGen/Stix.lhs
@@ -10,7 +10,7 @@ module Stix (
DestInfo(..), hasDestInfo,
stgBaseReg, stgNode, stgSp, stgSu, stgSpLim,
- stgHp, stgHpLim, stgTagReg, stgR9, stgR10,
+ stgHp, stgHpLim, stgHpAlloc, stgTagReg, stgR9, stgR10,
stgCurrentTSO, stgCurrentNursery,
fixedHS, arrWordsHS, arrPtrsHS,
@@ -241,6 +241,7 @@ stgSu = StReg (StixMagicId Su)
stgSpLim = StReg (StixMagicId SpLim)
stgHp = StReg (StixMagicId Hp)
stgHpLim = StReg (StixMagicId HpLim)
+stgHpAlloc = StReg (StixMagicId HpAlloc)
stgCurrentTSO = StReg (StixMagicId CurrentTSO)
stgCurrentNursery = StReg (StixMagicId CurrentNursery)
stgR9 = StReg (StixMagicId (VanillaReg WordRep (_ILIT 9)))