projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b4881e
)
Use a null pointer for marking the current position as unreachable again.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 1 Jun 2011 08:34:15 +0000
(10:34 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 1 Jun 2011 08:34:15 +0000
(10:34 +0200)
Using a BadBB has no benefits.
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
c8e4d8a
..
4a78f4d
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-182,8
+182,7
@@
static bool currently_reachable()
static void set_unreachable_now()
{
- ir_node *bad = new_Bad(mode_BB);
- set_cur_block(bad);
+ set_cur_block(NULL);
}
static ir_mode *atomic_modes[ATOMIC_TYPE_LAST+1];