1.1 --- a/src/cpu/x86/vm/templateInterpreter_x86_64.cpp Fri Oct 11 19:51:31 2013 -0700 1.2 +++ b/src/cpu/x86/vm/templateInterpreter_x86_64.cpp Sat Oct 12 12:12:59 2013 +0200 1.3 @@ -177,6 +177,12 @@ 1.4 __ restore_bcp(); 1.5 __ restore_locals(); 1.6 1.7 + if (state == atos) { 1.8 + Register mdp = rbx; 1.9 + Register tmp = rcx; 1.10 + __ profile_return_type(mdp, rax, tmp); 1.11 + } 1.12 + 1.13 Label L_got_cache, L_giant_index; 1.14 if (EnableInvokeDynamic) { 1.15 __ cmpb(Address(r13, 0), Bytecodes::_invokedynamic);