projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fixed off-by-one error after phase refactoring
[libfirm]
/
ir
/
opt
/
dead_code_elimination.c
diff --git
a/ir/opt/dead_code_elimination.c
b/ir/opt/dead_code_elimination.c
index
8755653
..
f212029
100644
(file)
--- a/
ir/opt/dead_code_elimination.c
+++ b/
ir/opt/dead_code_elimination.c
@@
-47,7
+47,7
@@
#include "pmap.h"
/** a pointer to the new phases */
-static ir_phase *new_phases[PHASE_LAST];
+static ir_phase *new_phases[PHASE_LAST
+ 1
];
/**
* Reroute the inputs of a node from nodes in the old graph to copied nodes in