issue a debug output when inlining
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 7 Apr 2008 11:28:41 +0000 (11:28 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 7 Apr 2008 11:28:41 +0000 (11:28 +0000)
[r19166]

ir/opt/opt_inline.c

index 9af7d52..f82ae6b 100644 (file)
@@ -842,6 +842,8 @@ int inline_method(ir_node *call, ir_graph *called_graph) {
        if (! can_inline(call, called_graph))
                return 0;
 
+       DB((dbg, SET_LEVEL_1, "Inlining %+F(%+F) into %+F\n", call, called_graph, current_ir_graph));
+
        /* --  Turn off optimizations, this can cause problems when allocating new nodes. -- */
        rem_opt = get_opt_optimize();
        set_optimize(0);