Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/interp_masm_sparc.cpp @ 10138: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 | aeaca88565e6 |
children | 603ca7e51354 |
comparison
equal
deleted
inserted
replaced
10137:ce6d7e43501c | 10138:1ea6a35dcbe5 |
---|---|
2095 ld_ptr(method_counters, Rcounters); | 2095 ld_ptr(method_counters, Rcounters); |
2096 br_notnull_short(Rcounters, Assembler::pt, has_counters); | 2096 br_notnull_short(Rcounters, Assembler::pt, has_counters); |
2097 call_VM(noreg, CAST_FROM_FN_PTR(address, | 2097 call_VM(noreg, CAST_FROM_FN_PTR(address, |
2098 InterpreterRuntime::build_method_counters), method); | 2098 InterpreterRuntime::build_method_counters), method); |
2099 ld_ptr(method_counters, Rcounters); | 2099 ld_ptr(method_counters, Rcounters); |
2100 br_null_short(Rcounters, Assembler::pn, skip); // No MethodCounters, OutOfMemory | 2100 br_null(Rcounters, false, Assembler::pn, skip); // No MethodCounters, OutOfMemory |
2101 delayed()->nop(); | |
2101 bind(has_counters); | 2102 bind(has_counters); |
2102 } | 2103 } |
2103 | 2104 |
2104 void InterpreterMacroAssembler::increment_invocation_counter( Register Rcounters, Register Rtmp, Register Rtmp2 ) { | 2105 void InterpreterMacroAssembler::increment_invocation_counter( Register Rcounters, Register Rtmp, Register Rtmp2 ) { |
2105 assert(UseCompiler, "incrementing must be useful"); | 2106 assert(UseCompiler, "incrementing must be useful"); |