Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
59626458
Commit
59626458
authored
Aug 02, 2005
by
simonmar
Browse files
[project @ 2005-08-02 12:01:57 by simonmar]
Allow an empty list of volatile regs on a call
parent
2785a233
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/cmm/CmmParse.y
View file @
59626458
...
...
@@ -295,6 +295,7 @@ bool_op :: { ExtFCode BoolExpr }
-- This is not C-- syntax. What to do?
vols :: { Maybe [GlobalReg] }
: {- empty -} { Nothing }
| '[' ']' { Just [] }
| '[' globals ']' { Just $2 }
globals :: { [GlobalReg] }
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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