Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
12881:ed2c74787eb5 | 12882:ce0cc25bc5e2 |
---|---|
902 } | 902 } |
903 } | 903 } |
904 output()->put(')'); | 904 output()->put(')'); |
905 } | 905 } |
906 | 906 |
907 void InstructionPrinter::do_ProfileReturnType(ProfileReturnType* x) { | |
908 output()->print("profile ret type "); | |
909 print_value(x->ret()); | |
910 output()->print(" %s.%s", x->method()->holder()->name()->as_utf8(), x->method()->name()->as_utf8()); | |
911 output()->put(')'); | |
912 } | |
907 void InstructionPrinter::do_ProfileInvoke(ProfileInvoke* x) { | 913 void InstructionPrinter::do_ProfileInvoke(ProfileInvoke* x) { |
908 output()->print("profile_invoke "); | 914 output()->print("profile_invoke "); |
909 output()->print(" %s.%s", x->inlinee()->holder()->name()->as_utf8(), x->inlinee()->name()->as_utf8()); | 915 output()->print(" %s.%s", x->inlinee()->holder()->name()->as_utf8(), x->inlinee()->name()->as_utf8()); |
910 output()->put(')'); | 916 output()->put(')'); |
911 | 917 |