summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmForeign.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/codeGen/StgCmmForeign.hs')
-rw-r--r--compiler/codeGen/StgCmmForeign.hs2
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: