hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp
changeset 24018 77b156916bab
parent 23485 13a2ccc01c44
child 24935 046e99df67d0
equal deleted inserted replaced
24016:2927072ed5fb 24018:77b156916bab
   150 LIR_Opr LIR_Assembler::osrBufferPointer() {
   150 LIR_Opr LIR_Assembler::osrBufferPointer() {
   151   return FrameMap::I0_opr;
   151   return FrameMap::I0_opr;
   152 }
   152 }
   153 
   153 
   154 
   154 
   155 int LIR_Assembler::initial_frame_size_in_bytes() {
   155 int LIR_Assembler::initial_frame_size_in_bytes() const {
   156   return in_bytes(frame_map()->framesize_in_bytes());
   156   return in_bytes(frame_map()->framesize_in_bytes());
   157 }
   157 }
   158 
   158 
   159 
   159 
   160 // inline cache check: the inline cached class is in G5_inline_cache_reg(G5);
   160 // inline cache check: the inline cached class is in G5_inline_cache_reg(G5);
   180   BlockBegin* osr_entry = compilation()->hir()->osr_entry();
   180   BlockBegin* osr_entry = compilation()->hir()->osr_entry();
   181   ValueStack* entry_state = osr_entry->end()->state();
   181   ValueStack* entry_state = osr_entry->end()->state();
   182   int number_of_locks = entry_state->locks_size();
   182   int number_of_locks = entry_state->locks_size();
   183 
   183 
   184   // Create a frame for the compiled activation.
   184   // Create a frame for the compiled activation.
   185   __ build_frame(initial_frame_size_in_bytes());
   185   __ build_frame(initial_frame_size_in_bytes(), bang_size_in_bytes());
   186 
   186 
   187   // OSR buffer is
   187   // OSR buffer is
   188   //
   188   //
   189   // locals[nlocals-1..0]
   189   // locals[nlocals-1..0]
   190   // monitors[number_of_locks-1..0]
   190   // monitors[number_of_locks-1..0]