projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
we can do without the odd align.h
[libfirm]
/
ir
/
ana
/
vrp.c
diff --git
a/ir/ana/vrp.c
b/ir/ana/vrp.c
index
38d4737
..
567f383
100644
(file)
--- a/
ir/ana/vrp.c
+++ b/
ir/ana/vrp.c
@@
-27,6
+27,7
@@
#include "irtypes.h"
#include "vrp.h"
#include "irtypes.h"
#include "vrp.h"
+#include "iroptimize.h"
#include "irouts.h"
#include "irgraph_t.h"
#include "irgopt.h"
#include "irouts.h"
#include "irgraph_t.h"
#include "irgopt.h"
@@
-619,14
+620,14
@@
vrp_attr *vrp_get_info(const ir_node *node)
{
const ir_graph *irg = get_irn_irg(node);
const ir_phase *phase = irg_get_phase(irg, PHASE_VRP);
{
const ir_graph *irg = get_irn_irg(node);
const ir_phase *phase = irg_get_phase(irg, PHASE_VRP);
+ vrp_attr *vrp;
if (phase == NULL) {
/* phase has not yet been initialized */
return NULL;
}
if (phase == NULL) {
/* phase has not yet been initialized */
return NULL;
}
-
- vrp_attr *vrp = phase_get_irn_data(phase, node);
+ vrp = phase_get_irn_data(phase, node);
if (vrp && vrp->valid) {
return vrp;
}
if (vrp && vrp->valid) {
return vrp;
}