| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_ARM64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
| 6 #if defined(TARGET_ARCH_ARM64) | 6 #if defined(TARGET_ARCH_ARM64) |
| 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 5489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5500 RawPcDescriptors::kOther, | 5500 RawPcDescriptors::kOther, |
| 5501 locs()); | 5501 locs()); |
| 5502 __ Drop(ArgumentCount()); // Discard arguments. | 5502 __ Drop(ArgumentCount()); // Discard arguments. |
| 5503 } | 5503 } |
| 5504 | 5504 |
| 5505 | 5505 |
| 5506 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5506 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5507 ASSERT(!compiler->is_optimizing()); | 5507 ASSERT(!compiler->is_optimizing()); |
| 5508 StubCode* stub_code = compiler->isolate()->stub_code(); | 5508 StubCode* stub_code = compiler->isolate()->stub_code(); |
| 5509 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); | 5509 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); |
| 5510 __ LoadImmediate(R4, 0, kNoPP); | |
| 5511 __ LoadImmediate(R5, 0, kNoPP); | |
| 5512 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 5510 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
| 5513 #if defined(DEBUG) | 5511 #if defined(DEBUG) |
| 5514 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP); | 5512 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP); |
| 5515 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP); | 5513 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP); |
| 5516 #endif | 5514 #endif |
| 5517 } | 5515 } |
| 5518 | 5516 |
| 5519 } // namespace dart | 5517 } // namespace dart |
| 5520 | 5518 |
| 5521 #endif // defined TARGET_ARCH_ARM64 | 5519 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |