projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c41f51
)
Use constant of appropriate enum type.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Wed, 28 Dec 2011 12:33:08 +0000
(13:33 +0100)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 29 Dec 2011 19:19:15 +0000
(20:19 +0100)
ir/ir/irprog.c
patch
|
blob
|
history
diff --git
a/ir/ir/irprog.c
b/ir/ir/irprog.c
index
bd5a73c
..
8dd3767
100644
(file)
--- a/
ir/ir/irprog.c
+++ b/
ir/ir/irprog.c
@@
-62,7
+62,7
@@
static ir_prog *new_incomplete_ir_prog(void)
res->max_irg_idx = 0;
res->max_node_nr = 0;
#ifndef NDEBUG
- res->reserved_resources = IR_RESOURCE_NONE;
+ res->reserved_resources = IR
P
_RESOURCE_NONE;
#endif
return res;