X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FnativeGen%2FStix.lhs;h=1e04305e3d762337fdbef12871b8992d025ef1e0;hb=6a3f5f6beed9cec42c4b3a1b7cabc1809c838562;hp=7dcca3ef8be0c905bd1261bd4044d6fd2d84d093;hpb=fffba9e37c59f6b03bb79dcafb818b88abc0ed47;p=ghc-hetmet.git diff --git a/ghc/compiler/nativeGen/Stix.lhs b/ghc/compiler/nativeGen/Stix.lhs index 7dcca3e..1e04305 100644 --- a/ghc/compiler/nativeGen/Stix.lhs +++ b/ghc/compiler/nativeGen/Stix.lhs @@ -38,6 +38,7 @@ import SMRep ( fixedHdrSize, arrWordsHdrSize, arrPtrsHdrSize ) import UniqSupply ( UniqSupply, splitUniqSupply, uniqFromSupply, UniqSM, thenUs, returnUs, getUniqueUs ) import Outputable +import FastTypes \end{code} Here is the tag at the nodes of our @StixTree@. Notice its @@ -204,11 +205,11 @@ ppStixReg (StixTemp u pr) ppMId BaseReg = text "BaseReg" ppMId (VanillaReg kind n) = hcat [pprPrimRep kind, text "IntReg(", - int (I# n), char ')'] -ppMId (FloatReg n) = hcat [text "FltReg(", int (I# n), char ')'] -ppMId (DoubleReg n) = hcat [text "DblReg(", int (I# n), char ')'] + int (iBox n), char ')'] +ppMId (FloatReg n) = hcat [text "FltReg(", int (iBox n), char ')'] +ppMId (DoubleReg n) = hcat [text "DblReg(", int (iBox n), char ')'] ppMId (LongReg kind n) = hcat [pprPrimRep kind, text "LongReg(", - int (I# n), char ')'] + int (iBox n), char ')'] ppMId Sp = text "Sp" ppMId Su = text "Su" ppMId SpLim = text "SpLim" @@ -244,8 +245,8 @@ stgHp = StReg (StixMagicId Hp) stgHpLim = StReg (StixMagicId HpLim) stgCurrentTSO = StReg (StixMagicId CurrentTSO) stgCurrentNursery = StReg (StixMagicId CurrentNursery) -stgR9 = StReg (StixMagicId (VanillaReg WordRep ILIT(9))) -stgR10 = StReg (StixMagicId (VanillaReg WordRep ILIT(10))) +stgR9 = StReg (StixMagicId (VanillaReg WordRep (_ILIT 9))) +stgR10 = StReg (StixMagicId (VanillaReg WordRep (_ILIT 10))) getNatLabelNCG :: NatM CLabel getNatLabelNCG