aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 9fa60ff..ed489d9 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -437,9 +437,9 @@ set_eh_region_tree_label (struct eh_region_d *region, tree lab)
}
void
-expand_resx_expr (tree exp)
+expand_resx_stmt (gimple stmt)
{
- int region_nr = TREE_INT_CST_LOW (TREE_OPERAND (exp, 0));
+ int region_nr = gimple_resx_region (stmt);
rtx insn;
struct eh_region_d *reg = VEC_index (eh_region,
cfun->eh->region_array, region_nr);