changeset 4535:1ea6a35dcbe5

8012927: 'assert(nbits == 32 || (-(1 << nbits-1) <= x && x < ( 1 << nbits-1))) failed: value out of range' in interpreter initialization. Summary: Change br_null_short() to br_null(). Reviewed-by: coleenp, hseigel
author jiangli
date Tue, 23 Apr 2013 12:32:17 -0400
parents ce6d7e43501c
children e8a7a5995e65 cc70cbbd422e
files src/cpu/sparc/vm/interp_masm_sparc.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/sparc/vm/interp_masm_sparc.cpp	Tue Apr 23 08:12:14 2013 -0700
+++ b/src/cpu/sparc/vm/interp_masm_sparc.cpp	Tue Apr 23 12:32:17 2013 -0400
@@ -2097,7 +2097,8 @@
   call_VM(noreg, CAST_FROM_FN_PTR(address,
           InterpreterRuntime::build_method_counters), method);
   ld_ptr(method_counters, Rcounters);
-  br_null_short(Rcounters, Assembler::pn, skip); // No MethodCounters, OutOfMemory
+  br_null(Rcounters, false, Assembler::pn, skip); // No MethodCounters, OutOfMemory
+  delayed()->nop();
   bind(has_counters);
 }