OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/debug.h" | 10 #include "src/debug.h" |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 // -- x3 : slot in feedback array | 231 // -- x3 : slot in feedback array |
232 // ----------------------------------- | 232 // ----------------------------------- |
233 Generate_DebugBreakCallHelper(masm, x1.Bit() | x3.Bit(), 0, x10); | 233 Generate_DebugBreakCallHelper(masm, x1.Bit() | x3.Bit(), 0, x10); |
234 } | 234 } |
235 | 235 |
236 | 236 |
237 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 237 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
238 // Calling convention for IC load (from ic-arm.cc). | 238 // Calling convention for IC load (from ic-arm.cc). |
239 Register receiver = LoadDescriptor::ReceiverRegister(); | 239 Register receiver = LoadDescriptor::ReceiverRegister(); |
240 Register name = LoadDescriptor::NameRegister(); | 240 Register name = LoadDescriptor::NameRegister(); |
241 Generate_DebugBreakCallHelper(masm, receiver.Bit() | name.Bit(), 0, x10); | 241 RegList regs = receiver.Bit() | name.Bit(); |
| 242 if (FLAG_vector_ics) { |
| 243 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().Bit(); |
| 244 } |
| 245 Generate_DebugBreakCallHelper(masm, regs, 0, x10); |
242 } | 246 } |
243 | 247 |
244 | 248 |
245 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 249 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
246 // Calling convention for IC store (from ic-arm64.cc). | 250 // Calling convention for IC store (from ic-arm64.cc). |
247 Register receiver = StoreDescriptor::ReceiverRegister(); | 251 Register receiver = StoreDescriptor::ReceiverRegister(); |
248 Register name = StoreDescriptor::NameRegister(); | 252 Register name = StoreDescriptor::NameRegister(); |
249 Register value = StoreDescriptor::ValueRegister(); | 253 Register value = StoreDescriptor::ValueRegister(); |
250 Generate_DebugBreakCallHelper( | 254 Generate_DebugBreakCallHelper( |
251 masm, receiver.Bit() | name.Bit() | value.Bit(), 0, x10); | 255 masm, receiver.Bit() | name.Bit() | value.Bit(), 0, x10); |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 // Re-run JSFunction, x1 is function, cp is context. | 373 // Re-run JSFunction, x1 is function, cp is context. |
370 __ Br(scratch); | 374 __ Br(scratch); |
371 } | 375 } |
372 | 376 |
373 | 377 |
374 const bool LiveEdit::kFrameDropperSupported = true; | 378 const bool LiveEdit::kFrameDropperSupported = true; |
375 | 379 |
376 } } // namespace v8::internal | 380 } } // namespace v8::internal |
377 | 381 |
378 #endif // V8_TARGET_ARCH_ARM64 | 382 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |