Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alex D
GHC
Commits
bd702f49
Commit
bd702f49
authored
Jan 02, 2016
by
Ben Gamari
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
StgCmmForeign: Break up long line
parent
bbee3e16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
compiler/codeGen/StgCmmForeign.hs
compiler/codeGen/StgCmmForeign.hs
+7
-1
No files found.
compiler/codeGen/StgCmmForeign.hs
View file @
bd702f49
...
...
@@ -287,7 +287,13 @@ saveThreadState dflags = 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
,
close_nursery
,
-- and save the current cost centre stack in the TSO when profiling:
if
gopt
Opt_SccProfilingOn
dflags
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment