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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 = LoadDescriptor::ReceiverRegister(); | 191 Register receiver = LoadDescriptor::ReceiverRegister(); |
192 Register name = LoadDescriptor::NameRegister(); | 192 Register name = LoadDescriptor::NameRegister(); |
193 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0); | 193 RegList regs = receiver.bit() | name.bit(); |
| 194 if (FLAG_vector_ics) { |
| 195 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit(); |
| 196 } |
| 197 Generate_DebugBreakCallHelper(masm, regs, 0); |
194 } | 198 } |
195 | 199 |
196 | 200 |
197 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 201 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
198 Register receiver = StoreDescriptor::ReceiverRegister(); | 202 Register receiver = StoreDescriptor::ReceiverRegister(); |
199 Register name = StoreDescriptor::NameRegister(); | 203 Register name = StoreDescriptor::NameRegister(); |
200 Register value = StoreDescriptor::ValueRegister(); | 204 Register value = StoreDescriptor::ValueRegister(); |
201 Generate_DebugBreakCallHelper( | 205 Generate_DebugBreakCallHelper( |
202 masm, receiver.bit() | name.bit() | value.bit(), 0); | 206 masm, receiver.bit() | name.bit() | value.bit(), 0); |
203 } | 207 } |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 } | 325 } |
322 | 326 |
323 | 327 |
324 const bool LiveEdit::kFrameDropperSupported = true; | 328 const bool LiveEdit::kFrameDropperSupported = true; |
325 | 329 |
326 #undef __ | 330 #undef __ |
327 | 331 |
328 } } // namespace v8::internal | 332 } } // namespace v8::internal |
329 | 333 |
330 #endif // V8_TARGET_ARCH_MIPS64 | 334 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |