src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp

changeset 2185
a3f7f95b0165
parent 2146
3a294e483abc
child 2314
f95d63e2154a
equal deleted inserted replaced
2184:fe08403130db 2185:a3f7f95b0165
418 __ unlock_object(I3, I2, I1, *stub->entry()); 418 __ unlock_object(I3, I2, I1, *stub->entry());
419 __ bind(*stub->continuation()); 419 __ bind(*stub->continuation());
420 } 420 }
421 421
422 if (compilation()->env()->dtrace_method_probes()) { 422 if (compilation()->env()->dtrace_method_probes()) {
423 jobject2reg(method()->constant_encoding(), O0); 423 __ mov(G2_thread, O0);
424 jobject2reg(method()->constant_encoding(), O1);
424 __ call(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit), relocInfo::runtime_call_type); 425 __ call(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit), relocInfo::runtime_call_type);
425 __ delayed()->nop(); 426 __ delayed()->nop();
426 } 427 }
427 428
428 if (method()->is_synchronized() || compilation()->env()->dtrace_method_probes()) { 429 if (method()->is_synchronized() || compilation()->env()->dtrace_method_probes()) {

mercurial