diff options
-rw-r--r-- | ir_print_visitor.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index 682a553249..0e89f10c3f 100644 --- a/ir_print_visitor.cpp +++ b/ir_print_visitor.cpp @@ -197,10 +197,12 @@ void ir_print_visitor::visit(ir_constant *ir) void ir_print_visitor::visit(ir_call *ir) { - (void) ir; + printf("(call (%s) ", ir->callee_name()); + foreach_iter(exec_list_iterator, iter, *ir) { + ir_instruction *const inst = (ir_instruction *) iter.get(); - printf("(call FINISHME: function name here\n"); - printf(" (FINISHME: function paramaters here))\n"); + inst->accept(this); + } } |