| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. |
| 6 #if defined(TARGET_ARCH_IA32) | 6 #if defined(TARGET_ARCH_IA32) |
| 7 | 7 |
| 8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
| 9 | 9 |
| 10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
| (...skipping 6338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6349 RawPcDescriptors::kOther, | 6349 RawPcDescriptors::kOther, |
| 6350 locs()); | 6350 locs()); |
| 6351 __ Drop(ArgumentCount()); // Discard arguments. | 6351 __ Drop(ArgumentCount()); // Discard arguments. |
| 6352 } | 6352 } |
| 6353 | 6353 |
| 6354 | 6354 |
| 6355 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 6355 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 6356 ASSERT(!compiler->is_optimizing()); | 6356 ASSERT(!compiler->is_optimizing()); |
| 6357 StubCode* stub_code = compiler->isolate()->stub_code(); | 6357 StubCode* stub_code = compiler->isolate()->stub_code(); |
| 6358 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); | 6358 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); |
| 6359 __ movl(EDX, Immediate(0)); | |
| 6360 __ movl(ECX, Immediate(0)); | |
| 6361 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 6359 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
| 6362 #if defined(DEBUG) | 6360 #if defined(DEBUG) |
| 6363 __ movl(EDX, Immediate(kInvalidObjectPointer)); | 6361 __ movl(EDX, Immediate(kInvalidObjectPointer)); |
| 6364 __ movl(EDX, Immediate(kInvalidObjectPointer)); | 6362 __ movl(EDX, Immediate(kInvalidObjectPointer)); |
| 6365 #endif | 6363 #endif |
| 6366 } | 6364 } |
| 6367 | 6365 |
| 6368 } // namespace dart | 6366 } // namespace dart |
| 6369 | 6367 |
| 6370 #undef __ | 6368 #undef __ |
| 6371 | 6369 |
| 6372 #endif // defined TARGET_ARCH_IA32 | 6370 #endif // defined TARGET_ARCH_IA32 |
| OLD | NEW |