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_MIPS. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS. |
6 #if defined(TARGET_ARCH_MIPS) | 6 #if defined(TARGET_ARCH_MIPS) |
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 4826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4837 RawPcDescriptors::kOther, | 4837 RawPcDescriptors::kOther, |
4838 locs()); | 4838 locs()); |
4839 __ Drop(ArgumentCount()); // Discard arguments. | 4839 __ Drop(ArgumentCount()); // Discard arguments. |
4840 } | 4840 } |
4841 | 4841 |
4842 | 4842 |
4843 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4843 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
4844 ASSERT(!compiler->is_optimizing()); | 4844 ASSERT(!compiler->is_optimizing()); |
4845 StubCode* stub_code = compiler->isolate()->stub_code(); | 4845 StubCode* stub_code = compiler->isolate()->stub_code(); |
4846 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); | 4846 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); |
4847 __ LoadImmediate(S4, 0); | |
4848 __ LoadImmediate(S5, 0); | |
4849 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 4847 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
4850 #if defined(DEBUG) | 4848 #if defined(DEBUG) |
4851 __ LoadImmediate(S4, kInvalidObjectPointer); | 4849 __ LoadImmediate(S4, kInvalidObjectPointer); |
4852 __ LoadImmediate(S5, kInvalidObjectPointer); | 4850 __ LoadImmediate(S5, kInvalidObjectPointer); |
4853 #endif | 4851 #endif |
4854 } | 4852 } |
4855 | 4853 |
4856 } // namespace dart | 4854 } // namespace dart |
4857 | 4855 |
4858 #endif // defined TARGET_ARCH_MIPS | 4856 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |