| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 // -- x3 : slot in feedback array | 200 // -- x3 : slot in feedback array |
| 201 // ----------------------------------- | 201 // ----------------------------------- |
| 202 Generate_DebugBreakCallHelper(masm, x1.Bit() | x3.Bit(), 0, x10); | 202 Generate_DebugBreakCallHelper(masm, x1.Bit() | x3.Bit(), 0, x10); |
| 203 } | 203 } |
| 204 | 204 |
| 205 | 205 |
| 206 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 206 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
| 207 // Calling convention for IC load (from ic-arm.cc). | 207 // Calling convention for IC load (from ic-arm.cc). |
| 208 Register receiver = LoadDescriptor::ReceiverRegister(); | 208 Register receiver = LoadDescriptor::ReceiverRegister(); |
| 209 Register name = LoadDescriptor::NameRegister(); | 209 Register name = LoadDescriptor::NameRegister(); |
| 210 RegList regs = receiver.Bit() | name.Bit(); | 210 RegList regs = receiver.Bit() | name.Bit() | |
| 211 if (FLAG_vector_ics) { | 211 VectorLoadICTrampolineDescriptor::SlotRegister().Bit(); |
| 212 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().Bit(); | |
| 213 } | |
| 214 Generate_DebugBreakCallHelper(masm, regs, 0, x10); | 212 Generate_DebugBreakCallHelper(masm, regs, 0, x10); |
| 215 } | 213 } |
| 216 | 214 |
| 217 | 215 |
| 218 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 216 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
| 219 // Calling convention for IC store (from ic-arm64.cc). | 217 // Calling convention for IC store (from ic-arm64.cc). |
| 220 Register receiver = StoreDescriptor::ReceiverRegister(); | 218 Register receiver = StoreDescriptor::ReceiverRegister(); |
| 221 Register name = StoreDescriptor::NameRegister(); | 219 Register name = StoreDescriptor::NameRegister(); |
| 222 Register value = StoreDescriptor::ValueRegister(); | 220 Register value = StoreDescriptor::ValueRegister(); |
| 223 Generate_DebugBreakCallHelper( | 221 Generate_DebugBreakCallHelper( |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 // Re-run JSFunction, x1 is function, cp is context. | 340 // Re-run JSFunction, x1 is function, cp is context. |
| 343 __ Br(scratch); | 341 __ Br(scratch); |
| 344 } | 342 } |
| 345 | 343 |
| 346 | 344 |
| 347 const bool LiveEdit::kFrameDropperSupported = true; | 345 const bool LiveEdit::kFrameDropperSupported = true; |
| 348 | 346 |
| 349 } } // namespace v8::internal | 347 } } // namespace v8::internal |
| 350 | 348 |
| 351 #endif // V8_TARGET_ARCH_ARM64 | 349 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |