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/compiler.h" | 10 #include "vm/compiler.h" |
(...skipping 5733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5744 stub_entry, | 5744 stub_entry, |
5745 RawPcDescriptors::kOther, | 5745 RawPcDescriptors::kOther, |
5746 locs()); | 5746 locs()); |
5747 compiler->AddStubCallTarget(stub); | 5747 compiler->AddStubCallTarget(stub); |
5748 __ Drop(ArgumentCount()); // Discard arguments. | 5748 __ Drop(ArgumentCount()); // Discard arguments. |
5749 } | 5749 } |
5750 | 5750 |
5751 | 5751 |
5752 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5752 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5753 ASSERT(!compiler->is_optimizing()); | 5753 ASSERT(!compiler->is_optimizing()); |
5754 compiler->GenerateCall( | 5754 __ BranchLinkPatchable(*StubCode::DebugStepCheck_entry()); |
5755 token_pos(), *StubCode::DebugStepCheck_entry(), stub_kind_, locs()); | 5755 compiler->AddCurrentDescriptor(stub_kind_, Thread::kNoDeoptId, token_pos()); |
| 5756 compiler->RecordSafepoint(locs()); |
5756 } | 5757 } |
5757 | 5758 |
5758 | 5759 |
5759 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary( | 5760 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary( |
5760 Zone* zone, bool opt) const { | 5761 Zone* zone, bool opt) const { |
5761 const intptr_t kNumInputs = 1; | 5762 const intptr_t kNumInputs = 1; |
5762 const intptr_t kNumTemps = 0; | 5763 const intptr_t kNumTemps = 0; |
5763 LocationSummary* locs = new(zone) LocationSummary( | 5764 LocationSummary* locs = new(zone) LocationSummary( |
5764 zone, kNumInputs, kNumTemps, LocationSummary::kCall); | 5765 zone, kNumInputs, kNumTemps, LocationSummary::kCall); |
5765 locs->set_in(0, Location::RegisterLocation(R0)); | 5766 locs->set_in(0, Location::RegisterLocation(R0)); |
(...skipping 13 matching lines...) Expand all Loading... |
5779 1, | 5780 1, |
5780 locs()); | 5781 locs()); |
5781 __ Drop(1); | 5782 __ Drop(1); |
5782 __ Pop(result); | 5783 __ Pop(result); |
5783 } | 5784 } |
5784 | 5785 |
5785 | 5786 |
5786 } // namespace dart | 5787 } // namespace dart |
5787 | 5788 |
5788 #endif // defined TARGET_ARCH_ARM64 | 5789 #endif // defined TARGET_ARCH_ARM64 |
OLD | NEW |