Mercurial > hg > graal-compiler
diff src/cpu/x86/vm/templateTable_x86_64.cpp @ 13109:58dfd753ada8
fixed regression from recent hsx merge that prevented TypeProfileLevel from being enabled
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 22 Nov 2013 01:40:16 +0100 |
parents | 096c224171c4 |
children | d8041d695d19 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/templateTable_x86_64.cpp Fri Nov 22 01:30:06 2013 +0100 +++ b/src/cpu/x86/vm/templateTable_x86_64.cpp Fri Nov 22 01:40:16 2013 +0100 @@ -3043,11 +3043,11 @@ // get target Method* & entry point __ lookup_virtual_method(rax, index, method); - __ profile_arguments_type(rdx, method, r13, true); #ifdef GRAAL // r14: MethodDataPointer (r14 is callee saved) __ profile_called_method(method, r14, r13); #endif + __ profile_arguments_type(rdx, method, r13, true); __ jump_from_interpreted(method, rdx); } @@ -3147,15 +3147,15 @@ __ testptr(rbx, rbx); __ jcc(Assembler::zero, no_such_method); +#ifdef GRAAL + // r13: MethodDataPointer (r13 is callee saved) + __ profile_called_method(rbx, r13, r14); +#endif __ profile_arguments_type(rdx, rbx, r13, true); // do the call // rcx: receiver // rbx,: Method* -#ifdef GRAAL - // r13: MethodDataPointer (r13 is callee saved) - __ profile_called_method(rbx, r13, r14); -#endif __ jump_from_interpreted(rbx, rdx); __ should_not_reach_here();