Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
d72b7e3a
Commit
d72b7e3a
authored
Dec 01, 2012
by
Christoph Mallon
Browse files
irgraph: Assert in get_irg_obstack(), that no object is currently growing.
parent
0ada12ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irgraph_t.h
View file @
d72b7e3a
...
...
@@ -129,6 +129,7 @@ static inline void set_irg_pinned(ir_graph *irg, op_pin_state p)
/** Returns the obstack associated with the graph. */
static
inline
struct
obstack
*
get_irg_obstack
(
const
ir_graph
*
irg
)
{
assert
(
obstack_object_size
(
irg
->
obst
)
==
0
);
return
irg
->
obst
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment