projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e550cb
)
- removed useless checking of control flow input for default_compute()
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sat, 25 Oct 2008 21:50:12 +0000
(21:50 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sat, 25 Oct 2008 21:50:12 +0000
(21:50 +0000)
[r23193]
ir/opt/combo.c
patch
|
blob
|
history
diff --git
a/ir/opt/combo.c
b/ir/opt/combo.c
index
20355b8
..
1218540
100644
(file)
--- a/
ir/opt/combo.c
+++ b/
ir/opt/combo.c
@@
-1834,12
+1834,6
@@
static void split_by(partition_t *X, environment_t *env) {
static void default_compute(node_t *node) {
int i;
ir_node *irn = node->node;
static void default_compute(node_t *node) {
int i;
ir_node *irn = node->node;
- node_t *block = get_irn_node(get_nodes_block(irn));
-
- if (block->type.tv == tarval_unreachable) {
- node->type.tv = tarval_top;
- return;
- }
/* if any of the data inputs have type top, the result is type top */
for (i = get_irn_arity(irn) - 1; i >= 0; --i) {
/* if any of the data inputs have type top, the result is type top */
for (i = get_irn_arity(irn) - 1; i >= 0; --i) {