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_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/debug.h" | 10 #include "src/debug.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // ----------------------------------- | 176 // ----------------------------------- |
177 Generate_DebugBreakCallHelper(masm, edx.bit() | edi.bit(), | 177 Generate_DebugBreakCallHelper(masm, edx.bit() | edi.bit(), |
178 0, false); | 178 0, false); |
179 } | 179 } |
180 | 180 |
181 | 181 |
182 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 182 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
183 // Register state for IC load call (from ic-ia32.cc). | 183 // Register state for IC load call (from ic-ia32.cc). |
184 Register receiver = LoadDescriptor::ReceiverRegister(); | 184 Register receiver = LoadDescriptor::ReceiverRegister(); |
185 Register name = LoadDescriptor::NameRegister(); | 185 Register name = LoadDescriptor::NameRegister(); |
186 RegList regs = receiver.bit() | name.bit(); | 186 RegList regs = receiver.bit() | name.bit() | |
187 if (FLAG_vector_ics) { | 187 VectorLoadICTrampolineDescriptor::SlotRegister().bit(); |
188 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit(); | |
189 } | |
190 Generate_DebugBreakCallHelper(masm, regs, 0, false); | 188 Generate_DebugBreakCallHelper(masm, regs, 0, false); |
191 } | 189 } |
192 | 190 |
193 | 191 |
194 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 192 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
195 // Register state for IC store call (from ic-ia32.cc). | 193 // Register state for IC store call (from ic-ia32.cc). |
196 Register receiver = StoreDescriptor::ReceiverRegister(); | 194 Register receiver = StoreDescriptor::ReceiverRegister(); |
197 Register name = StoreDescriptor::NameRegister(); | 195 Register name = StoreDescriptor::NameRegister(); |
198 Register value = StoreDescriptor::ValueRegister(); | 196 Register value = StoreDescriptor::ValueRegister(); |
199 Generate_DebugBreakCallHelper( | 197 Generate_DebugBreakCallHelper( |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 } | 320 } |
323 | 321 |
324 | 322 |
325 const bool LiveEdit::kFrameDropperSupported = true; | 323 const bool LiveEdit::kFrameDropperSupported = true; |
326 | 324 |
327 #undef __ | 325 #undef __ |
328 | 326 |
329 } } // namespace v8::internal | 327 } } // namespace v8::internal |
330 | 328 |
331 #endif // V8_TARGET_ARCH_IA32 | 329 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |