projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a6af1f1
)
Fix bug with proc-point detection (only a temporary fix)
author
Michael D. Adams
<t-madams@microsoft.com>
Tue, 29 May 2007 15:02:06 +0000
(15:02 +0000)
committer
Michael D. Adams
<t-madams@microsoft.com>
Tue, 29 May 2007 15:02:06 +0000
(15:02 +0000)
compiler/cmm/CmmBrokenBlock.hs
patch
|
blob
|
history
diff --git
a/compiler/cmm/CmmBrokenBlock.hs
b/compiler/cmm/CmmBrokenBlock.hs
index
b367216
..
49c41bb
100644
(file)
--- a/
compiler/cmm/CmmBrokenBlock.hs
+++ b/
compiler/cmm/CmmBrokenBlock.hs
@@
-129,11
+129,13
@@
breakBlock uniques (BasicBlock ident stmts) entry =
-- Detect this special case to remain an inverse of
-- 'cmmBlockFromBrokenBlock'
+ {- TODO: Interferes with proc point detection
[CmmCall target results arguments,
CmmBranch next_id] -> [block]
where
block = do_call current_id entry accum_stmts exits next_id
target results arguments
+ -}
(CmmCall target results arguments:stmts) -> block : rest
where
next_id = BlockId $ head uniques