| 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 4687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4698 RawPcDescriptors::kOther, | 4698 RawPcDescriptors::kOther, |
| 4699 locs()); | 4699 locs()); |
| 4700 __ Drop(ArgumentCount()); // Discard arguments. | 4700 __ Drop(ArgumentCount()); // Discard arguments. |
| 4701 } | 4701 } |
| 4702 | 4702 |
| 4703 | 4703 |
| 4704 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4704 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4705 ASSERT(!compiler->is_optimizing()); | 4705 ASSERT(!compiler->is_optimizing()); |
| 4706 StubCode* stub_code = compiler->isolate()->stub_code(); | 4706 StubCode* stub_code = compiler->isolate()->stub_code(); |
| 4707 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); | 4707 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); |
| 4708 __ LoadImmediate(S4, 0); | |
| 4709 __ LoadImmediate(S5, 0); | |
| 4710 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 4708 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
| 4711 #if defined(DEBUG) | 4709 #if defined(DEBUG) |
| 4712 __ LoadImmediate(S4, kInvalidObjectPointer); | 4710 __ LoadImmediate(S4, kInvalidObjectPointer); |
| 4713 __ LoadImmediate(S5, kInvalidObjectPointer); | 4711 __ LoadImmediate(S5, kInvalidObjectPointer); |
| 4714 #endif | 4712 #endif |
| 4715 } | 4713 } |
| 4716 | 4714 |
| 4717 } // namespace dart | 4715 } // namespace dart |
| 4718 | 4716 |
| 4719 #endif // defined TARGET_ARCH_MIPS | 4717 #endif // defined TARGET_ARCH_MIPS |
| OLD | NEW |