changeset 10534:4ccc1ae03940 icedtea-3.14.0 icedtea-3.15.0pre00

PR3762: profile_has_unique_klass gives wrong result Reviewed-by: aph
author fyang
date Wed, 23 Dec 2015 20:19:42 -1000
parents edbb52537121
children 648efd082956
files src/cpu/aarch64/vm/interp_masm_aarch64.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/interp_masm_aarch64.cpp	Tue Aug 27 15:54:28 2019 +0100
+++ b/src/cpu/aarch64/vm/interp_masm_aarch64.cpp	Wed Dec 23 20:19:42 2015 -1000
@@ -1162,12 +1162,12 @@
           b(done);
           bind(found_null);
         } else {
-	  cbz(reg2, done);
+	  cbnz(reg2, done);
         }
         break;
       }
       // Since null is rare, make it be the branch-taken case.
-      cbz(reg2,found_null);
+      cbz(reg2, found_null);
 
       // Put all the "Case 3" tests here.
       record_klass_in_profile_helper(receiver, mdp, reg2, start_row + 1, done, is_virtual_call);