| 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 5770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5781 __ brk(0); | 5781 __ brk(0); |
| 5782 } | 5782 } |
| 5783 | 5783 |
| 5784 | 5784 |
| 5785 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { | 5785 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { |
| 5786 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); | 5786 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); |
| 5787 } | 5787 } |
| 5788 | 5788 |
| 5789 | 5789 |
| 5790 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5790 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5791 compiler->SetNeedsStacktrace(catch_try_index()); | 5791 compiler->SetNeedsStackTrace(catch_try_index()); |
| 5792 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, | 5792 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, |
| 5793 2, locs()); | 5793 2, locs()); |
| 5794 __ brk(0); | 5794 __ brk(0); |
| 5795 } | 5795 } |
| 5796 | 5796 |
| 5797 | 5797 |
| 5798 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { | 5798 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { |
| 5799 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); | 5799 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
| 5800 } | 5800 } |
| 5801 | 5801 |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6020 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), | 6020 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), |
| 6021 kGrowRegExpStackRuntimeEntry, 1, locs()); | 6021 kGrowRegExpStackRuntimeEntry, 1, locs()); |
| 6022 __ Drop(1); | 6022 __ Drop(1); |
| 6023 __ Pop(result); | 6023 __ Pop(result); |
| 6024 } | 6024 } |
| 6025 | 6025 |
| 6026 | 6026 |
| 6027 } // namespace dart | 6027 } // namespace dart |
| 6028 | 6028 |
| 6029 #endif // defined TARGET_ARCH_ARM64 | 6029 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |