Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/sharedRuntime_sparc.cpp @ 22524:ce7078904238
[SPARC] Use st_ptr to store JavaThread::jvmci_implicit_exception_pc
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Fri, 04 Sep 2015 19:22:19 +0200 |
parents | 4594b98717a0 |
children | 02fc27dc1da7 |
comparison
equal
deleted
inserted
replaced
22523:67ffe0bc3dc6 | 22524:ce7078904238 |
---|---|
3540 | 3540 |
3541 #if INCLUDE_JVMCI | 3541 #if INCLUDE_JVMCI |
3542 masm->block_comment("BEGIN implicit_exception_uncommon_trap"); | 3542 masm->block_comment("BEGIN implicit_exception_uncommon_trap"); |
3543 int implicit_exception_uncommon_trap_offset = __ offset() - start; | 3543 int implicit_exception_uncommon_trap_offset = __ offset() - start; |
3544 __ ld_ptr(G2_thread, in_bytes(JavaThread::jvmci_implicit_exception_pc_offset()), O7); | 3544 __ ld_ptr(G2_thread, in_bytes(JavaThread::jvmci_implicit_exception_pc_offset()), O7); |
3545 __ st(G0, Address(G2_thread, in_bytes(JavaThread::jvmci_implicit_exception_pc_offset()))); | 3545 __ st_ptr(G0, Address(G2_thread, in_bytes(JavaThread::jvmci_implicit_exception_pc_offset()))); |
3546 __ add(O7, -8, O7); | 3546 __ add(O7, -8, O7); |
3547 | 3547 |
3548 int uncommon_trap_offset = __ offset() - start; | 3548 int uncommon_trap_offset = __ offset() - start; |
3549 | 3549 |
3550 // Save everything in sight. | 3550 // Save everything in sight. |