projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warnings in StgCmmProf
[ghc-hetmet.git]
/
compiler
/
codeGen
/
StgCmmUtils.hs
diff --git
a/compiler/codeGen/StgCmmUtils.hs
b/compiler/codeGen/StgCmmUtils.hs
index
057e559
..
4803f5f
100644
(file)
--- a/
compiler/codeGen/StgCmmUtils.hs
+++ b/
compiler/codeGen/StgCmmUtils.hs
@@
-883,10
+883,10
@@
getSRTInfo (SRTEntries {}) = panic "getSRTInfo"
getSRTInfo (SRT off len bmp)
| len > hALF_WORD_SIZE_IN_BITS || bmp == [fromIntegral srt_escape]
= do { id <- newUnique
getSRTInfo (SRT off len bmp)
| len > hALF_WORD_SIZE_IN_BITS || bmp == [fromIntegral srt_escape]
= do { id <- newUnique
- ; top_srt <- getSRTLabel
+ -- ; top_srt <- getSRTLabel
; let srt_desc_lbl = mkLargeSRTLabel id
-- JD: We're not constructing and emitting SRTs in the back end,
; let srt_desc_lbl = mkLargeSRTLabel id
-- JD: We're not constructing and emitting SRTs in the back end,
- -- which renders this code wrong (and it now names a now-non-existent label).
+ -- which renders this code wrong (it now names a now-non-existent label).
-- ; emitRODataLits srt_desc_lbl
-- ( cmmLabelOffW top_srt off
-- : mkWordCLit (fromIntegral len)
-- ; emitRODataLits srt_desc_lbl
-- ( cmmLabelOffW top_srt off
-- : mkWordCLit (fromIntegral len)