Mercurial > hg > truffle
comparison src/cpu/x86/vm/templateInterpreter_x86_64.cpp @ 21559:be896a1983c0
recast all Graal native code as JVMCI code (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 28 May 2015 15:36:48 +0200 |
parents | 52b4284cb496 |
children |
comparison
equal
deleted
inserted
replaced
21558:d563baeca9df | 21559:be896a1983c0 |
---|---|
202 address entry = __ pc(); | 202 address entry = __ pc(); |
203 // NULL last_sp until next java call | 203 // NULL last_sp until next java call |
204 __ movptr(Address(rbp, frame::interpreter_frame_last_sp_offset * wordSize), (int32_t)NULL_WORD); | 204 __ movptr(Address(rbp, frame::interpreter_frame_last_sp_offset * wordSize), (int32_t)NULL_WORD); |
205 __ restore_bcp(); | 205 __ restore_bcp(); |
206 __ restore_locals(); | 206 __ restore_locals(); |
207 #ifdef GRAAL | 207 #ifdef JVMCI |
208 // Check if we need to take lock at entry of synchronized method. | 208 // Check if we need to take lock at entry of synchronized method. |
209 { | 209 { |
210 Label L; | 210 Label L; |
211 __ cmpb(Address(r15_thread, Thread::pending_monitorenter_offset()), 0); | 211 __ cmpb(Address(r15_thread, Thread::pending_monitorenter_offset()), 0); |
212 __ jcc(Assembler::zero, L); | 212 __ jcc(Assembler::zero, L); |