Mercurial > hg > truffle
comparison src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp @ 18018:7ef8ab2bf2b0
Merge
author | asaha |
---|---|
date | Tue, 17 Jun 2014 22:03:39 -0700 |
parents | 0bf37f737702 |
children | 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
18017:13be2835d7eb | 18018:7ef8ab2bf2b0 |
---|---|
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] |