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_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
10 | 10 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 // -- a1 : function | 180 // -- a1 : function |
181 // -- a3 : slot in feedback array (smi) | 181 // -- a3 : slot in feedback array (smi) |
182 // ----------------------------------- | 182 // ----------------------------------- |
183 Generate_DebugBreakCallHelper(masm, a1.bit() | a3.bit(), 0); | 183 Generate_DebugBreakCallHelper(masm, a1.bit() | a3.bit(), 0); |
184 } | 184 } |
185 | 185 |
186 | 186 |
187 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 187 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
188 Register receiver = LoadDescriptor::ReceiverRegister(); | 188 Register receiver = LoadDescriptor::ReceiverRegister(); |
189 Register name = LoadDescriptor::NameRegister(); | 189 Register name = LoadDescriptor::NameRegister(); |
190 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0); | 190 RegList regs = receiver.bit() | name.bit(); |
| 191 if (FLAG_vector_ics) { |
| 192 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit(); |
| 193 } |
| 194 Generate_DebugBreakCallHelper(masm, regs, 0); |
191 } | 195 } |
192 | 196 |
193 | 197 |
194 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 198 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
195 // Calling convention for IC store (from ic-mips.cc). | 199 // Calling convention for IC store (from ic-mips.cc). |
196 Register receiver = StoreDescriptor::ReceiverRegister(); | 200 Register receiver = StoreDescriptor::ReceiverRegister(); |
197 Register name = StoreDescriptor::NameRegister(); | 201 Register name = StoreDescriptor::NameRegister(); |
198 Register value = StoreDescriptor::ValueRegister(); | 202 Register value = StoreDescriptor::ValueRegister(); |
199 Generate_DebugBreakCallHelper( | 203 Generate_DebugBreakCallHelper( |
200 masm, receiver.bit() | name.bit() | value.bit(), 0); | 204 masm, receiver.bit() | name.bit() | value.bit(), 0); |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 } | 322 } |
319 | 323 |
320 | 324 |
321 const bool LiveEdit::kFrameDropperSupported = true; | 325 const bool LiveEdit::kFrameDropperSupported = true; |
322 | 326 |
323 #undef __ | 327 #undef __ |
324 | 328 |
325 } } // namespace v8::internal | 329 } } // namespace v8::internal |
326 | 330 |
327 #endif // V8_TARGET_ARCH_MIPS | 331 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |