projects
/
mate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
679c78b
)
basicblock: remove warning
author
Bernhard Urban
<lewurm@gmail.com>
Tue, 3 Apr 2012 22:49:00 +0000
(
00:49
+0200)
committer
Bernhard Urban
<lewurm@gmail.com>
Tue, 3 Apr 2012 22:49:00 +0000
(
00:49
+0200)
it can happen now ;-)
Mate/BasicBlocks.hs
patch
|
blob
|
history
diff --git
a/Mate/BasicBlocks.hs
b/Mate/BasicBlocks.hs
index 45ec857df8259ea6d679d52d7946f738c4ec3a67..e80d388c05f17e977687d0888b89c22a893c9dc9 100644
(file)
--- a/
Mate/BasicBlocks.hs
+++ b/
Mate/BasicBlocks.hs
@@
-116,7
+116,7
@@
buildCFG' hmap (((off, Just entry), _):xs) insns = buildCFG' (insertlist entryi
case entry of
TwoTarget t1 t2 -> [t1, t2]
OneTarget t -> [t]
- Return ->
trace "should not happen"
[]
+ Return -> []
buildCFG' hmap (((_, Nothing), _):xs) insns = buildCFG' hmap xs insns