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
Glasgow Haskell Compiler
GHC
Commits
e44d2542
Commit
e44d2542
authored
Jan 27, 1999
by
simonpj
Browse files
[project @ 1999-01-27 16:54:18 by simonpj]
Undo bogus fix to CgCase.lhs
parent
2c2d3948
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/codeGen/CgCase.lhs
View file @
e44d2542
%
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
%
% $Id: CgCase.lhs,v 1.2
2
1999/01/27 1
4
:5
1:31
simonpj Exp $
% $Id: CgCase.lhs,v 1.2
3
1999/01/27 1
6
:5
4:18
simonpj Exp $
%
%********************************************************
%* *
...
...
@@ -547,9 +547,12 @@ Tag is held in a temporary.
\begin{code}
cgInlineAlts bndr (StgAlgAlts ty alts deflt)
= -- bind the default binder (it covers all the alternatives)
(if (isDeadBinder bndr)
then nopC
else bindNewToReg bndr node mkLFArgument) `thenC`
-- ToDo: BUG! bndr isn't bound in the alternatives
-- Shows up when compiling Word.lhs
-- case cmp# a b of r {
-- True -> f1 r
-- False -> f2 r
cgAlgAlts NoGC uniq AbsCNop{-restore_cc-} False{-no semi-tagging-}
False{-not poly case-} alts deflt
...
...
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