Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/sharedRuntime_sparc.cpp @ 22471:a69a8d96ee6e
[SPARC] SharedRuntime::generate_deopt_blob use 32 bit store instead of 64bit for storing pending_deoptimization value
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Thu, 27 Aug 2015 12:19:43 +0200 |
parents | f58e7b5fe0ab |
children | 148664eacffa |
comparison
equal
deleted
inserted
replaced
22470:eaf97ec55a78 | 22471:a69a8d96ee6e |
---|---|
3555 __ set_last_Java_frame(SP, NULL); | 3555 __ set_last_Java_frame(SP, NULL); |
3556 masm->block_comment("/set_last_java_frame"); | 3556 masm->block_comment("/set_last_java_frame"); |
3557 | 3557 |
3558 __ ld(G2_thread, in_bytes(JavaThread::pending_deoptimization_offset()), O1); | 3558 __ ld(G2_thread, in_bytes(JavaThread::pending_deoptimization_offset()), O1); |
3559 __ sub(G0, 1, L1); | 3559 __ sub(G0, 1, L1); |
3560 __ st_ptr(L1, G2_thread, in_bytes(JavaThread::pending_deoptimization_offset())); | 3560 __ st(L1, G2_thread, in_bytes(JavaThread::pending_deoptimization_offset())); |
3561 | 3561 |
3562 __ mov((int32_t)Deoptimization::Unpack_reexecute, L0deopt_mode); | 3562 __ mov((int32_t)Deoptimization::Unpack_reexecute, L0deopt_mode); |
3563 __ mov(G2_thread, O0); | 3563 __ mov(G2_thread, O0); |
3564 __ call(CAST_FROM_FN_PTR(address, Deoptimization::uncommon_trap)); | 3564 __ call(CAST_FROM_FN_PTR(address, Deoptimization::uncommon_trap)); |
3565 __ delayed()->nop(); | 3565 __ delayed()->nop(); |