[commit: ghc] wip/libdw-unwind: StgCmmForeign: Break up long line (f50d72c)

git at git.haskell.org git at git.haskell.org
Mon Jan 4 22:20:18 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/libdw-unwind
Link       : http://ghc.haskell.org/trac/ghc/changeset/f50d72c74e89e9bb7ab39ca965ecf3ff9d4103ed/ghc

>---------------------------------------------------------------

commit f50d72c74e89e9bb7ab39ca965ecf3ff9d4103ed
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat Jan 2 17:22:11 2016 +0100

    StgCmmForeign: Break up long line


>---------------------------------------------------------------

f50d72c74e89e9bb7ab39ca965ecf3ff9d4103ed
 compiler/codeGen/StgCmmForeign.hs | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/compiler/codeGen/StgCmmForeign.hs b/compiler/codeGen/StgCmmForeign.hs
index f3311bb..cb185ea 100644
--- a/compiler/codeGen/StgCmmForeign.hs
+++ b/compiler/codeGen/StgCmmForeign.hs
@@ -295,7 +295,13 @@ saveThreadState dflags initialSp = do
     -- tso = CurrentTSO;
     mkAssign (CmmLocal tso) stgCurrentTSO,
     -- tso->stackobj->sp = Sp;
-    mkStore (cmmOffset dflags (CmmLoad (cmmOffset dflags (CmmReg (CmmLocal tso)) (tso_stackobj dflags)) (bWord dflags)) (stack_SP dflags)) stgSp,
+    mkStore (cmmOffset dflags
+                       (CmmLoad (cmmOffset dflags
+                                           (CmmReg (CmmLocal tso))
+                                           (tso_stackobj dflags))
+                                (bWord dflags))
+                       (stack_SP dflags))
+            stgSp,
     -- unwind Sp = initialSp(tso->stackobj->sp)
     case initialSp of
       Just initial | debugLevel dflags > 0 ->



More information about the ghc-commits mailing list