Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: runtime/vm/intermediate_language_arm64.cc

Issue 2572563004: Improve the casing of Stackmap and Stacktrace. (Closed)
Patch Set: Build fixes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/intermediate_language_arm.cc ('k') | runtime/vm/intermediate_language_dbc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm.cc ('k') | runtime/vm/intermediate_language_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698