diff options
author | Ben Gamari <ben@smart-cactus.org> | 2016-01-04 17:21:50 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-01-04 17:21:50 +0100 |
commit | ad2a0a2ed1723bf7e7c758733c8b0f676de139eb (patch) | |
tree | d492b1ca79e34d463eea74e217d367047790f691 | |
parent | b3ea026ee03cd1525e53c98884f0b484bd68f922 (diff) | |
download | haskell-ad2a0a2ed1723bf7e7c758733c8b0f676de139eb.tar.gz |
StgCmmForeign: Kill erroneous dereferencewip/libdw-unwind
-rw-r--r-- | compiler/codeGen/StgCmmForeign.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmForeign.hs b/compiler/codeGen/StgCmmForeign.hs index cb185ea113..0b870ec1af 100644 --- a/compiler/codeGen/StgCmmForeign.hs +++ b/compiler/codeGen/StgCmmForeign.hs @@ -309,7 +309,7 @@ saveThreadState dflags initialSp = do CmmLoad (cmmOffset dflags stgCurrentTSO (tso_stackobj dflags)) (bWord dflags) spValue = cmmOffset dflags tsoValue (stack_SP dflags) - in mkUnwind (NewLabel lbl) Sp (initial $ CmmLoad spValue (bWord dflags)) + in mkUnwind (NewLabel lbl) Sp (initial spValue) _ -> mkNop, close_nursery, -- and save the current cost centre stack in the TSO when profiling: |