OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS64 | 9 #if V8_TARGET_ARCH_MIPS64 |
10 | 10 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 // Register state for CallICStub | 181 // Register state for CallICStub |
182 // ----------- S t a t e ------------- | 182 // ----------- S t a t e ------------- |
183 // -- a1 : function | 183 // -- a1 : function |
184 // -- a3 : slot in feedback array (smi) | 184 // -- a3 : slot in feedback array (smi) |
185 // ----------------------------------- | 185 // ----------------------------------- |
186 Generate_DebugBreakCallHelper(masm, a1.bit() | a3.bit(), 0); | 186 Generate_DebugBreakCallHelper(masm, a1.bit() | a3.bit(), 0); |
187 } | 187 } |
188 | 188 |
189 | 189 |
190 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 190 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
191 Register receiver = LoadIC::ReceiverRegister(); | 191 Register receiver = LoadConvention::ReceiverRegister(); |
192 Register name = LoadIC::NameRegister(); | 192 Register name = LoadConvention::NameRegister(); |
193 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0); | 193 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0); |
194 } | 194 } |
195 | 195 |
196 | 196 |
197 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 197 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
198 Register receiver = StoreIC::ReceiverRegister(); | 198 Register receiver = StoreConvention::ReceiverRegister(); |
199 Register name = StoreIC::NameRegister(); | 199 Register name = StoreConvention::NameRegister(); |
200 Register value = StoreIC::ValueRegister(); | 200 Register value = StoreConvention::ValueRegister(); |
201 Generate_DebugBreakCallHelper( | 201 Generate_DebugBreakCallHelper( |
202 masm, receiver.bit() | name.bit() | value.bit(), 0); | 202 masm, receiver.bit() | name.bit() | value.bit(), 0); |
203 } | 203 } |
204 | 204 |
205 | 205 |
206 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { | 206 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
207 // Calling convention for keyed IC load (from ic-mips64.cc). | 207 // Calling convention for keyed IC load (from ic-mips64.cc). |
208 GenerateLoadICDebugBreak(masm); | 208 GenerateLoadICDebugBreak(masm); |
209 } | 209 } |
210 | 210 |
211 | 211 |
212 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { | 212 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
213 // Calling convention for IC keyed store call (from ic-mips64.cc). | 213 // Calling convention for IC keyed store call (from ic-mips64.cc). |
214 Register receiver = KeyedStoreIC::ReceiverRegister(); | 214 Register receiver = StoreConvention::ReceiverRegister(); |
215 Register name = KeyedStoreIC::NameRegister(); | 215 Register name = StoreConvention::NameRegister(); |
216 Register value = KeyedStoreIC::ValueRegister(); | 216 Register value = StoreConvention::ValueRegister(); |
217 Generate_DebugBreakCallHelper( | 217 Generate_DebugBreakCallHelper( |
218 masm, receiver.bit() | name.bit() | value.bit(), 0); | 218 masm, receiver.bit() | name.bit() | value.bit(), 0); |
219 } | 219 } |
220 | 220 |
221 | 221 |
222 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { | 222 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { |
223 // Register state for CompareNil IC | 223 // Register state for CompareNil IC |
224 // ----------- S t a t e ------------- | 224 // ----------- S t a t e ------------- |
225 // -- a0 : value | 225 // -- a0 : value |
226 // ----------------------------------- | 226 // ----------------------------------- |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 } | 321 } |
322 | 322 |
323 | 323 |
324 const bool LiveEdit::kFrameDropperSupported = true; | 324 const bool LiveEdit::kFrameDropperSupported = true; |
325 | 325 |
326 #undef __ | 326 #undef __ |
327 | 327 |
328 } } // namespace v8::internal | 328 } } // namespace v8::internal |
329 | 329 |
330 #endif // V8_TARGET_ARCH_MIPS64 | 330 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |