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_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
7 | 7 |
8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
9 | 9 |
10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
(...skipping 6795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6806 RawPcDescriptors::kOther, | 6806 RawPcDescriptors::kOther, |
6807 locs()); | 6807 locs()); |
6808 __ Drop(ArgumentCount()); // Discard arguments. | 6808 __ Drop(ArgumentCount()); // Discard arguments. |
6809 } | 6809 } |
6810 | 6810 |
6811 | 6811 |
6812 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 6812 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
6813 ASSERT(!compiler->is_optimizing()); | 6813 ASSERT(!compiler->is_optimizing()); |
6814 StubCode* stub_code = compiler->isolate()->stub_code(); | 6814 StubCode* stub_code = compiler->isolate()->stub_code(); |
6815 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); | 6815 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); |
6816 __ LoadImmediate(R4, 0); | |
6817 __ LoadImmediate(R5, 0); | |
6818 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 6816 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
6819 #if defined(DEBUG) | 6817 #if defined(DEBUG) |
6820 __ LoadImmediate(R4, kInvalidObjectPointer); | 6818 __ LoadImmediate(R4, kInvalidObjectPointer); |
6821 __ LoadImmediate(R5, kInvalidObjectPointer); | 6819 __ LoadImmediate(R5, kInvalidObjectPointer); |
6822 #endif | 6820 #endif |
6823 } | 6821 } |
6824 | 6822 |
6825 } // namespace dart | 6823 } // namespace dart |
6826 | 6824 |
6827 #endif // defined TARGET_ARCH_ARM | 6825 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |