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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 // -- edx : type feedback slot (smi) | 173 // -- edx : type feedback slot (smi) |
174 // -- edi : function | 174 // -- edi : function |
175 // ----------------------------------- | 175 // ----------------------------------- |
176 Generate_DebugBreakCallHelper(masm, edx.bit() | edi.bit(), | 176 Generate_DebugBreakCallHelper(masm, edx.bit() | edi.bit(), |
177 0, false); | 177 0, false); |
178 } | 178 } |
179 | 179 |
180 | 180 |
181 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 181 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
182 // Register state for IC load call (from ic-ia32.cc). | 182 // Register state for IC load call (from ic-ia32.cc). |
183 Register receiver = LoadIC::ReceiverRegister(); | 183 Register receiver = LoadConvention::ReceiverRegister(); |
184 Register name = LoadIC::NameRegister(); | 184 Register name = LoadConvention::NameRegister(); |
185 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); | 185 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); |
186 } | 186 } |
187 | 187 |
188 | 188 |
189 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 189 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
190 // Register state for IC store call (from ic-ia32.cc). | 190 // Register state for IC store call (from ic-ia32.cc). |
191 Register receiver = StoreIC::ReceiverRegister(); | 191 Register receiver = StoreConvention::ReceiverRegister(); |
192 Register name = StoreIC::NameRegister(); | 192 Register name = StoreConvention::NameRegister(); |
193 Register value = StoreIC::ValueRegister(); | 193 Register value = StoreConvention::ValueRegister(); |
194 Generate_DebugBreakCallHelper( | 194 Generate_DebugBreakCallHelper( |
195 masm, receiver.bit() | name.bit() | value.bit(), 0, false); | 195 masm, receiver.bit() | name.bit() | value.bit(), 0, false); |
196 } | 196 } |
197 | 197 |
198 | 198 |
199 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { | 199 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
200 // Register state for keyed IC load call (from ic-ia32.cc). | 200 // Register state for keyed IC load call (from ic-ia32.cc). |
201 GenerateLoadICDebugBreak(masm); | 201 GenerateLoadICDebugBreak(masm); |
202 } | 202 } |
203 | 203 |
204 | 204 |
205 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { | 205 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
206 // Register state for keyed IC store call (from ic-ia32.cc). | 206 // Register state for keyed IC store call (from ic-ia32.cc). |
207 Register receiver = KeyedStoreIC::ReceiverRegister(); | 207 Register receiver = StoreConvention::ReceiverRegister(); |
208 Register name = KeyedStoreIC::NameRegister(); | 208 Register name = StoreConvention::NameRegister(); |
209 Register value = KeyedStoreIC::ValueRegister(); | 209 Register value = StoreConvention::ValueRegister(); |
210 Generate_DebugBreakCallHelper( | 210 Generate_DebugBreakCallHelper( |
211 masm, receiver.bit() | name.bit() | value.bit(), 0, false); | 211 masm, receiver.bit() | name.bit() | value.bit(), 0, false); |
212 } | 212 } |
213 | 213 |
214 | 214 |
215 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { | 215 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { |
216 // Register state for CompareNil IC | 216 // Register state for CompareNil IC |
217 // ----------- S t a t e ------------- | 217 // ----------- S t a t e ------------- |
218 // -- eax : value | 218 // -- eax : value |
219 // ----------------------------------- | 219 // ----------------------------------- |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 } | 317 } |
318 | 318 |
319 | 319 |
320 const bool LiveEdit::kFrameDropperSupported = true; | 320 const bool LiveEdit::kFrameDropperSupported = true; |
321 | 321 |
322 #undef __ | 322 #undef __ |
323 | 323 |
324 } } // namespace v8::internal | 324 } } // namespace v8::internal |
325 | 325 |
326 #endif // V8_TARGET_ARCH_IA32 | 326 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |