summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-01-27 09:52:04 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-01-27 09:52:04 +0000
commit1fdb39b5a648bac2a7c68ae8f69b074e39b0ea2e (patch)
tree85540a3b21a2749b02b843a673e82166a78e648a /compiler/codeGen
parent46a772f8efb7aa9d350227e8fd5d5809757c3f1e (diff)
downloadhaskell-1fdb39b5a648bac2a7c68ae8f69b074e39b0ea2e.tar.gz
Don't call computeSRTs when -fnew-codegen is on
Diffstat (limited to 'compiler/codeGen')
-rw-r--r--compiler/codeGen/StgCmmUtils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmUtils.hs b/compiler/codeGen/StgCmmUtils.hs
index 93a8bf317b..391dc163f1 100644
--- a/compiler/codeGen/StgCmmUtils.hs
+++ b/compiler/codeGen/StgCmmUtils.hs
@@ -816,7 +816,7 @@ assignTemp' e
-- the nested bindings via the monad.
getSRTInfo :: SRT -> FCode C_SRT
-getSRTInfo (SRTEntries {}) = panic "getSRTInfo"
+getSRTInfo (SRTEntries {}) = return NoC_SRT --panic "getSRTInfo"
getSRTInfo (SRT off len bmp)
| len > hALF_WORD_SIZE_IN_BITS || bmp == [fromIntegral srt_escape]