2263 Label has_counters; |
2263 Label has_counters; |
2264 ld(Rcounters, in_bytes(Method::method_counters_offset()), method); |
2264 ld(Rcounters, in_bytes(Method::method_counters_offset()), method); |
2265 cmpdi(CCR0, Rcounters, 0); |
2265 cmpdi(CCR0, Rcounters, 0); |
2266 bne(CCR0, has_counters); |
2266 bne(CCR0, has_counters); |
2267 call_VM(noreg, CAST_FROM_FN_PTR(address, |
2267 call_VM(noreg, CAST_FROM_FN_PTR(address, |
2268 InterpreterRuntime::build_method_counters), method, false); |
2268 InterpreterRuntime::build_method_counters), method); |
2269 ld(Rcounters, in_bytes(Method::method_counters_offset()), method); |
2269 ld(Rcounters, in_bytes(Method::method_counters_offset()), method); |
2270 cmpdi(CCR0, Rcounters, 0); |
2270 cmpdi(CCR0, Rcounters, 0); |
2271 beq(CCR0, skip); // No MethodCounters, OutOfMemory. |
2271 beq(CCR0, skip); // No MethodCounters, OutOfMemory. |
2272 BLOCK_COMMENT("} Load and ev. allocate counter object"); |
2272 BLOCK_COMMENT("} Load and ev. allocate counter object"); |
2273 |
2273 |