Mercurial > hg > graal-jvmci-8
diff src/cpu/sparc/vm/sharedRuntime_sparc.cpp @ 22638:c7ce66399b04
[SPARC] use ld/st_ptr for store JavaThread::jvmci_alternate_call_target
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Wed, 30 Sep 2015 11:41:40 +0200 |
parents | 02fc27dc1da7 |
children | 3c1edc9c60d8 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Wed Sep 30 10:38:00 2015 +0200 +++ b/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Wed Sep 30 11:41:40 2015 +0200 @@ -993,14 +993,14 @@ __ ld_ptr(G5_method, in_bytes(Method::from_compiled_offset()), G3); #if INCLUDE_JVMCI // check if this call should be routed towards a specific entry point - __ ld(Address(G2_thread, in_bytes(JavaThread::jvmci_alternate_call_target_offset())), G1); + __ ld_ptr(Address(G2_thread, in_bytes(JavaThread::jvmci_alternate_call_target_offset())), G1); __ cmp(G0, G1); Label no_alternative_target; __ br(Assembler::equal, false, Assembler::pn, no_alternative_target); __ delayed()->nop(); __ ld_ptr(G2_thread, in_bytes(JavaThread::jvmci_alternate_call_target_offset()), G3); - __ st(G0, Address(G2_thread, in_bytes(JavaThread::jvmci_alternate_call_target_offset()))); + __ st_ptr(G0, Address(G2_thread, in_bytes(JavaThread::jvmci_alternate_call_target_offset()))); __ bind(no_alternative_target); #endif