static inline struct obstack *be_get_be_obst(const ir_graph *irg)
{
- be_irg_t *birg = be_birg_from_irg(irg);
- return &birg->obst;
+ be_irg_t *const birg = be_birg_from_irg(irg);
+ struct obstack *const obst = &birg->obst;
+ assert(obstack_object_size(obst) == 0);
+ return obst;
}
static inline be_stack_layout_t *be_get_irg_stack_layout(const ir_graph *irg)
size_t i;
/* start building list of start constraints */
- assert(obstack_object_size(obst) == 0);
/* calculate number of outputs */
n_outs = 4; /* memory, g0, g7, sp */