summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestack.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-25 22:12:26 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-25 22:12:26 +0100
commit5d0dc80583152b7e75989b205755bdb0cd1ce0aa (patch)
treefb2c64523017255dcf6d114dd9df54115873d19a /ir/be/bestack.c
parent8b9cffd15955b08311c41c37cd06acd7db3bd7f4 (diff)
cleanup: Remove several uses of current_ir_graph.
Diffstat (limited to 'ir/be/bestack.c')
-rw-r--r--ir/be/bestack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bestack.c b/ir/be/bestack.c
index 5695517..07d4775 100644
--- a/ir/be/bestack.c
+++ b/ir/be/bestack.c
@@ -128,7 +128,7 @@ static void lower_outer_frame_sels(ir_node *sel, void *ctx)
dbg_info *dbgi = get_irn_dbg_info(sel);
ir_mode *mode = get_irn_mode(sel);
ir_mode *mode_UInt = get_reference_mode_unsigned_eq(mode);
- ir_node *cnst = new_r_Const_long(current_ir_graph, mode_UInt, offset);
+ ir_node *cnst = new_r_Const_long(irg, mode_UInt, offset);
ptr = new_rd_Add(dbgi, bl, ptr, cnst, mode);
}