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