diff src/share/vm/c1/c1_InstructionPrinter.cpp @ 12882:ce0cc25bc5e2

8026054: New type profiling points: type of return values at calls Summary: x86 interpreter and c1 type profiling for return values at calls Reviewed-by: kvn, twisti
author roland
date Sat, 12 Oct 2013 12:12:59 +0200
parents d13d7aba8c12
children 78bbf4d43a14
line wrap: on
line diff
--- a/src/share/vm/c1/c1_InstructionPrinter.cpp	Fri Oct 11 19:51:31 2013 -0700
+++ b/src/share/vm/c1/c1_InstructionPrinter.cpp	Sat Oct 12 12:12:59 2013 +0200
@@ -904,6 +904,12 @@
   output()->put(')');
 }
 
+void InstructionPrinter::do_ProfileReturnType(ProfileReturnType* x) {
+  output()->print("profile ret type ");
+  print_value(x->ret());
+  output()->print(" %s.%s", x->method()->holder()->name()->as_utf8(), x->method()->name()->as_utf8());
+  output()->put(')');
+}
 void InstructionPrinter::do_ProfileInvoke(ProfileInvoke* x) {
   output()->print("profile_invoke ");
   output()->print(" %s.%s", x->inlinee()->holder()->name()->as_utf8(), x->inlinee()->name()->as_utf8());