| 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 6348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6359 &label, | 6359 &label, |
| 6360 PcDescriptors::kOther, | 6360 PcDescriptors::kOther, |
| 6361 locs()); | 6361 locs()); |
| 6362 __ Drop(ArgumentCount()); // Discard arguments. | 6362 __ Drop(ArgumentCount()); // Discard arguments. |
| 6363 } | 6363 } |
| 6364 | 6364 |
| 6365 | 6365 |
| 6366 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 6366 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 6367 ASSERT(!compiler->is_optimizing()); | 6367 ASSERT(!compiler->is_optimizing()); |
| 6368 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint()); | 6368 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint()); |
| 6369 __ LoadImmediate(R4, 0); | |
| 6370 __ LoadImmediate(R5, 0); | |
| 6371 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 6369 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
| 6372 #if defined(DEBUG) | 6370 #if defined(DEBUG) |
| 6373 __ LoadImmediate(R4, kInvalidObjectPointer); | 6371 __ LoadImmediate(R4, kInvalidObjectPointer); |
| 6374 __ LoadImmediate(R5, kInvalidObjectPointer); | 6372 __ LoadImmediate(R5, kInvalidObjectPointer); |
| 6375 #endif | 6373 #endif |
| 6376 } | 6374 } |
| 6377 | 6375 |
| 6378 } // namespace dart | 6376 } // namespace dart |
| 6379 | 6377 |
| 6380 #endif // defined TARGET_ARCH_ARM | 6378 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |