projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
obstack access function
[libfirm]
/
ir
/
ir
/
irgraph.c
diff --git
a/ir/ir/irgraph.c
b/ir/ir/irgraph.c
index
4cdd97e
..
773d47b
100644
(file)
--- a/
ir/ir/irgraph.c
+++ b/
ir/ir/irgraph.c
@@
-415,6
+415,13
@@
set_irg_n_loc (ir_graph *irg, int n_loc)
#endif
}
+
+
+/* Returns the obstack associated with the graph. */
+struct obstack get_irg_obstack(ir_graph *irg) {
+ return irg->obst;
+}
+
irg_phase_state
get_irg_phase_state (ir_graph *irg) {
return irg->phase_state;