changeset 8584:0c4972bb428c

8144582: AArch64 does not generate correct branch profile data Reviewed-by: kvn
author aph
date Wed, 16 Dec 2015 11:35:59 +0000
parents b9bf568c9511
children 6f0989f53a30
files src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp	Tue Dec 15 19:18:05 2015 +0000
+++ b/src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp	Wed Dec 16 11:35:59 2015 +0000
@@ -394,7 +394,7 @@
       __ br(Assembler::LT, *profile_method_continue);
 
       // if no method data exists, go to profile_method
-      __ test_method_data_pointer(r0, *profile_method);
+      __ test_method_data_pointer(rscratch2, *profile_method);
     }
 
     {