| 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 6808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6819 RawPcDescriptors::kOther, | 6819 RawPcDescriptors::kOther, |
| 6820 locs()); | 6820 locs()); |
| 6821 __ Drop(ArgumentCount()); // Discard arguments. | 6821 __ Drop(ArgumentCount()); // Discard arguments. |
| 6822 } | 6822 } |
| 6823 | 6823 |
| 6824 | 6824 |
| 6825 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 6825 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 6826 ASSERT(!compiler->is_optimizing()); | 6826 ASSERT(!compiler->is_optimizing()); |
| 6827 StubCode* stub_code = compiler->isolate()->stub_code(); | 6827 StubCode* stub_code = compiler->isolate()->stub_code(); |
| 6828 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); | 6828 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); |
| 6829 __ movl(EDX, Immediate(0)); | |
| 6830 __ movl(ECX, Immediate(0)); | |
| 6831 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 6829 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
| 6832 #if defined(DEBUG) | 6830 #if defined(DEBUG) |
| 6833 __ movl(EDX, Immediate(kInvalidObjectPointer)); | 6831 __ movl(EDX, Immediate(kInvalidObjectPointer)); |
| 6834 __ movl(EDX, Immediate(kInvalidObjectPointer)); | 6832 __ movl(EDX, Immediate(kInvalidObjectPointer)); |
| 6835 #endif | 6833 #endif |
| 6836 } | 6834 } |
| 6837 | 6835 |
| 6838 } // namespace dart | 6836 } // namespace dart |
| 6839 | 6837 |
| 6840 #undef __ | 6838 #undef __ |
| 6841 | 6839 |
| 6842 #endif // defined TARGET_ARCH_IA32 | 6840 #endif // defined TARGET_ARCH_IA32 |
| OLD | NEW |