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
Glasgow Haskell Compiler
GHC
Commits
374a85ae
Commit
374a85ae
authored
Nov 06, 2009
by
Ben.Lippmeier@anu.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
validate fixes
parent
a83cb1ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
compiler/cmm/CLabel.hs
compiler/cmm/CLabel.hs
+1
-0
compiler/codeGen/StgCmmHeap.hs
compiler/codeGen/StgCmmHeap.hs
+1
-1
No files found.
compiler/cmm/CLabel.hs
View file @
374a85ae
...
...
@@ -530,6 +530,7 @@ needsCDecl ModuleRegdLabel = False
needsCDecl
(
StringLitLabel
_
)
=
False
needsCDecl
(
AsmTempLabel
_
)
=
False
needsCDecl
(
RtsLabel
_
)
=
False
needsCDecl
(
CmmLabel
_
_
_
)
=
False
needsCDecl
l
@
(
ForeignLabel
_
_
_
_
)
=
not
(
isMathFun
l
)
needsCDecl
(
CC_Label
_
)
=
True
needsCDecl
(
CCS_Label
_
)
=
True
...
...
compiler/codeGen/StgCmmHeap.hs
View file @
374a85ae
...
...
@@ -389,7 +389,7 @@ altHeapCheck regs code
gc_call
updfr_sz
|
null
regs
=
mkCall
generic_gc
(
GC
,
GC
)
[]
[]
updfr_sz
|
Just
gc_lbl
<-
rts_label
regs
-- Canned call
|
Just
_
gc_lbl
<-
rts_label
regs
-- Canned call
=
panic
"StgCmmHeap.altHeapCheck: rts_label not finished"
-- mkCall (CmmLit (CmmLabel (mkRtsCodeLabel gc_lbl))) (GC, GC)
-- regs (map (CmmReg . CmmLocal) regs) updfr_sz
...
...
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