ir_print_visitor: Print return type of ir_function_signatures.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 22 Apr 2010 00:28:46 +0000 (17:28 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 28 Apr 2010 22:34:52 +0000 (15:34 -0700)
ir_print_visitor.cpp

index ec20e0c0eddbc51b9cc87e5540b6e5ee2a92084d..6a340a25d497f7c2ce73b62c91abc78f298ee98b 100644 (file)
@@ -64,7 +64,9 @@ void ir_print_visitor::visit(ir_variable *ir)
 
 void ir_print_visitor::visit(ir_function_signature *ir)
 {
-   printf("(signature\n  (parameters\n");
+   printf("(signature ");
+   print_type(ir->return_type);
+   printf("\n  (parameters\n");
    foreach_iter(exec_list_iterator, iter, ir->parameters) {
       ir_variable *const inst = (ir_variable *) iter.get();