Commit 3a1332a3 authored by Michael Beck's avatar Michael Beck
Browse files

- implemented get_irg_value_param_type()

[r25272]
parent 33c44746
......@@ -202,6 +202,9 @@ ir_type *get_irg_frame_type(ir_graph *irg);
/** Sets the frame type of an IR graph. */
void set_irg_frame_type(ir_graph *irg, ir_type *ftp);
/** Returns the value parameter type of an IR graph. */
ir_type *get_irg_value_param_type(ir_graph *irg);
/** Returns the start block of an IR graph. */
ir_node *get_irg_start_block(const ir_graph *irg);
/** Sets the start block of an IR graph. */
......
......@@ -748,6 +748,13 @@ void
_set_irg_frame_type(irg, ftp);
}
/* Returns the value parameter type of an IR graph. */
ir_type *get_irg_value_param_type(ir_graph *irg) {
ir_entity *ent = get_irg_entity(irg);
ir_type *mtp = get_entity_type(ent);
return get_method_value_param_type(mtp);
}
int
get_irg_n_locs(ir_graph *irg) {
if (get_opt_precise_exc_context())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment