hotspot/src/cpu/x86/vm/frame_x86.inline.hpp
changeset 16363 d6b2cbb70886
parent 14626 0cf4eccf130f
child 18938 ff8f8cec9434
equal deleted inserted replaced
16362:7b5c4f403e90 16363:d6b2cbb70886
   293 
   293 
   294 inline bool frame::volatile_across_calls(Register reg) {
   294 inline bool frame::volatile_across_calls(Register reg) {
   295   return true;
   295   return true;
   296 }
   296 }
   297 
   297 
   298 
   298 inline oop frame::saved_oop_result(RegisterMap* map) const {
   299 
   299   oop* result_adr = (oop *)map->location(rax->as_VMReg());
   300 inline oop frame::saved_oop_result(RegisterMap* map) const       {
   300   guarantee(result_adr != NULL, "bad register save location");
   301   return *((oop*) map->location(rax->as_VMReg()));
   301 
       
   302   return (*result_adr);
   302 }
   303 }
   303 
   304 
   304 inline void frame::set_saved_oop_result(RegisterMap* map, oop obj) {
   305 inline void frame::set_saved_oop_result(RegisterMap* map, oop obj) {
   305   *((oop*) map->location(rax->as_VMReg())) = obj;
   306   oop* result_adr = (oop *)map->location(rax->as_VMReg());
       
   307   guarantee(result_adr != NULL, "bad register save location");
       
   308 
       
   309   *result_adr = obj;
   306 }
   310 }
   307 
   311 
   308 #endif // CPU_X86_VM_FRAME_X86_INLINE_HPP
   312 #endif // CPU_X86_VM_FRAME_X86_INLINE_HPP