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 4668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4679 &label, | 4679 &label, |
4680 PcDescriptors::kOther, | 4680 PcDescriptors::kOther, |
4681 locs()); | 4681 locs()); |
4682 __ Drop(ArgumentCount()); // Discard arguments. | 4682 __ Drop(ArgumentCount()); // Discard arguments. |
4683 } | 4683 } |
4684 | 4684 |
4685 | 4685 |
4686 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4686 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
4687 ASSERT(!compiler->is_optimizing()); | 4687 ASSERT(!compiler->is_optimizing()); |
4688 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint()); | 4688 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint()); |
4689 __ LoadImmediate(S4, 0); | |
4690 __ LoadImmediate(S5, 0); | |
4691 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 4689 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
4692 #if defined(DEBUG) | 4690 #if defined(DEBUG) |
4693 __ LoadImmediate(S4, kInvalidObjectPointer); | 4691 __ LoadImmediate(S4, kInvalidObjectPointer); |
4694 __ LoadImmediate(S5, kInvalidObjectPointer); | 4692 __ LoadImmediate(S5, kInvalidObjectPointer); |
4695 #endif | 4693 #endif |
4696 } | 4694 } |
4697 | 4695 |
4698 } // namespace dart | 4696 } // namespace dart |
4699 | 4697 |
4700 #endif // defined TARGET_ARCH_MIPS | 4698 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |