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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/debug.h" | 10 #include "src/debug.h" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // -- r3 : slot in feedback array (smi) | 171 // -- r3 : slot in feedback array (smi) |
172 // ----------------------------------- | 172 // ----------------------------------- |
173 Generate_DebugBreakCallHelper(masm, r1.bit() | r3.bit(), 0); | 173 Generate_DebugBreakCallHelper(masm, r1.bit() | r3.bit(), 0); |
174 } | 174 } |
175 | 175 |
176 | 176 |
177 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 177 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
178 // Calling convention for IC load (from ic-arm.cc). | 178 // Calling convention for IC load (from ic-arm.cc). |
179 Register receiver = LoadDescriptor::ReceiverRegister(); | 179 Register receiver = LoadDescriptor::ReceiverRegister(); |
180 Register name = LoadDescriptor::NameRegister(); | 180 Register name = LoadDescriptor::NameRegister(); |
181 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0); | 181 RegList regs = receiver.bit() | name.bit(); |
| 182 if (FLAG_vector_ics) { |
| 183 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit(); |
| 184 } |
| 185 Generate_DebugBreakCallHelper(masm, regs, 0); |
182 } | 186 } |
183 | 187 |
184 | 188 |
185 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 189 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
186 // Calling convention for IC store (from ic-arm.cc). | 190 // Calling convention for IC store (from ic-arm.cc). |
187 Register receiver = StoreDescriptor::ReceiverRegister(); | 191 Register receiver = StoreDescriptor::ReceiverRegister(); |
188 Register name = StoreDescriptor::NameRegister(); | 192 Register name = StoreDescriptor::NameRegister(); |
189 Register value = StoreDescriptor::ValueRegister(); | 193 Register value = StoreDescriptor::ValueRegister(); |
190 Generate_DebugBreakCallHelper( | 194 Generate_DebugBreakCallHelper( |
191 masm, receiver.bit() | name.bit() | value.bit(), 0); | 195 masm, receiver.bit() | name.bit() | value.bit(), 0); |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 } | 319 } |
316 | 320 |
317 | 321 |
318 const bool LiveEdit::kFrameDropperSupported = true; | 322 const bool LiveEdit::kFrameDropperSupported = true; |
319 | 323 |
320 #undef __ | 324 #undef __ |
321 | 325 |
322 } } // namespace v8::internal | 326 } } // namespace v8::internal |
323 | 327 |
324 #endif // V8_TARGET_ARCH_ARM | 328 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |