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_X64 | 7 #if V8_TARGET_ARCH_X64 |
8 | 8 |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // -- rdi : function | 157 // -- rdi : function |
158 // ----------------------------------- | 158 // ----------------------------------- |
159 Generate_DebugBreakCallHelper(masm, rdx.bit() | rdi.bit(), 0, false); | 159 Generate_DebugBreakCallHelper(masm, rdx.bit() | rdi.bit(), 0, false); |
160 } | 160 } |
161 | 161 |
162 | 162 |
163 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 163 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
164 // Register state for IC load call (from ic-x64.cc). | 164 // Register state for IC load call (from ic-x64.cc). |
165 Register receiver = LoadDescriptor::ReceiverRegister(); | 165 Register receiver = LoadDescriptor::ReceiverRegister(); |
166 Register name = LoadDescriptor::NameRegister(); | 166 Register name = LoadDescriptor::NameRegister(); |
167 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); | 167 RegList regs = receiver.bit() | name.bit(); |
| 168 if (FLAG_vector_ics) { |
| 169 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit(); |
| 170 } |
| 171 Generate_DebugBreakCallHelper(masm, regs, 0, false); |
168 } | 172 } |
169 | 173 |
170 | 174 |
171 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 175 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
172 // Register state for IC store call (from ic-x64.cc). | 176 // Register state for IC store call (from ic-x64.cc). |
173 Register receiver = StoreDescriptor::ReceiverRegister(); | 177 Register receiver = StoreDescriptor::ReceiverRegister(); |
174 Register name = StoreDescriptor::NameRegister(); | 178 Register name = StoreDescriptor::NameRegister(); |
175 Register value = StoreDescriptor::ValueRegister(); | 179 Register value = StoreDescriptor::ValueRegister(); |
176 Generate_DebugBreakCallHelper( | 180 Generate_DebugBreakCallHelper( |
177 masm, receiver.bit() | name.bit() | value.bit(), 0, false); | 181 masm, receiver.bit() | name.bit() | value.bit(), 0, false); |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 __ jmp(rdx); | 301 __ jmp(rdx); |
298 } | 302 } |
299 | 303 |
300 const bool LiveEdit::kFrameDropperSupported = true; | 304 const bool LiveEdit::kFrameDropperSupported = true; |
301 | 305 |
302 #undef __ | 306 #undef __ |
303 | 307 |
304 } } // namespace v8::internal | 308 } } // namespace v8::internal |
305 | 309 |
306 #endif // V8_TARGET_ARCH_X64 | 310 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |