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 // ----------- S t a t e ------------- | 183 Register receiver = LoadIC::ReceiverRegister(); |
184 // -- ecx : name | 184 Register name = LoadIC::NameRegister(); |
185 // -- edx : receiver | 185 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); |
186 // ----------------------------------- | |
187 Generate_DebugBreakCallHelper(masm, ecx.bit() | edx.bit(), 0, false); | |
188 } | 186 } |
189 | 187 |
190 | 188 |
191 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 189 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
192 // Register state for IC store call (from ic-ia32.cc). | 190 // Register state for IC store call (from ic-ia32.cc). |
193 // ----------- S t a t e ------------- | 191 // ----------- S t a t e ------------- |
194 // -- eax : value | 192 // -- eax : value |
195 // -- ecx : name | 193 // -- ecx : name |
196 // -- edx : receiver | 194 // -- edx : receiver |
197 // ----------------------------------- | 195 // ----------------------------------- |
198 Generate_DebugBreakCallHelper( | 196 Generate_DebugBreakCallHelper( |
199 masm, eax.bit() | ecx.bit() | edx.bit(), 0, false); | 197 masm, eax.bit() | ecx.bit() | edx.bit(), 0, false); |
200 } | 198 } |
201 | 199 |
202 | 200 |
203 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { | 201 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
204 // Register state for keyed IC load call (from ic-ia32.cc). | 202 // Register state for keyed IC load call (from ic-ia32.cc). |
205 // ----------- S t a t e ------------- | 203 Register receiver = KeyedLoadIC::ReceiverRegister(); |
206 // -- ecx : key | 204 Register name = KeyedLoadIC::NameRegister(); |
207 // -- edx : receiver | 205 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); |
208 // ----------------------------------- | |
209 Generate_DebugBreakCallHelper(masm, ecx.bit() | edx.bit(), 0, false); | |
210 } | 206 } |
211 | 207 |
212 | 208 |
213 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { | 209 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
214 // Register state for keyed IC load call (from ic-ia32.cc). | 210 // Register state for keyed IC load call (from ic-ia32.cc). |
215 // ----------- S t a t e ------------- | 211 // ----------- S t a t e ------------- |
216 // -- eax : value | 212 // -- eax : value |
217 // -- ecx : key | 213 // -- ecx : key |
218 // -- edx : receiver | 214 // -- edx : receiver |
219 // ----------------------------------- | 215 // ----------------------------------- |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 } | 323 } |
328 | 324 |
329 | 325 |
330 const bool LiveEdit::kFrameDropperSupported = true; | 326 const bool LiveEdit::kFrameDropperSupported = true; |
331 | 327 |
332 #undef __ | 328 #undef __ |
333 | 329 |
334 } } // namespace v8::internal | 330 } } // namespace v8::internal |
335 | 331 |
336 #endif // V8_TARGET_ARCH_IA32 | 332 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |