Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tobias Decking
GHC
Commits
96364859
Commit
96364859
authored
Apr 27, 2005
by
simonmar
Browse files
[project @ 2005-04-27 09:54:26 by simonmar]
Fix the volatile regs to the suspendThread call
parent
03d63424
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/codeGen/CgForeignCall.hs
View file @
96364859
...
@@ -80,7 +80,7 @@ emitForeignCall results (CCall (CCallSpec target cconv safety)) args live
...
@@ -80,7 +80,7 @@ emitForeignCall results (CCall (CCallSpec target cconv safety)) args live
emitSaveThreadState
emitSaveThreadState
stmtC
(
CmmCall
(
CmmForeignCall
suspendThread
CCallConv
)
[(
id
,
NoHint
)]
stmtC
(
CmmCall
(
CmmForeignCall
suspendThread
CCallConv
)
[(
id
,
NoHint
)]
[
(
CmmReg
(
CmmGlobal
BaseReg
),
PtrHint
)
]
[
(
CmmReg
(
CmmGlobal
BaseReg
),
PtrHint
)
]
Nothing
{-save all; ToDo-}
(
Just
vols
)
)
)
stmtC
(
the_call
vols
)
stmtC
(
the_call
vols
)
stmtC
(
CmmCall
(
CmmForeignCall
resumeThread
CCallConv
)
[]
stmtC
(
CmmCall
(
CmmForeignCall
resumeThread
CCallConv
)
[]
...
...
Write
Preview
Supports
Markdown
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