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

Side by Side Diff: runtime/vm/intermediate_language_arm.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/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm64.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 1
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. 6 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
7 #if defined(TARGET_ARCH_ARM) 7 #if defined(TARGET_ARCH_ARM)
8 8
9 #include "vm/intermediate_language.h" 9 #include "vm/intermediate_language.h"
10 10
(...skipping 6976 matching lines...) Expand 10 before | Expand all | Expand 10 after
6987 __ bkpt(0); 6987 __ bkpt(0);
6988 } 6988 }
6989 6989
6990 6990
6991 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { 6991 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const {
6992 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); 6992 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall);
6993 } 6993 }
6994 6994
6995 6995
6996 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6996 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6997 compiler->SetNeedsStacktrace(catch_try_index()); 6997 compiler->SetNeedsStackTrace(catch_try_index());
6998 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, 6998 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry,
6999 2, locs()); 6999 2, locs());
7000 __ bkpt(0); 7000 __ bkpt(0);
7001 } 7001 }
7002 7002
7003 7003
7004 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { 7004 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const {
7005 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); 7005 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall);
7006 } 7006 }
7007 7007
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
7227 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), 7227 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(),
7228 kGrowRegExpStackRuntimeEntry, 1, locs()); 7228 kGrowRegExpStackRuntimeEntry, 1, locs());
7229 __ Drop(1); 7229 __ Drop(1);
7230 __ Pop(result); 7230 __ Pop(result);
7231 } 7231 }
7232 7232
7233 7233
7234 } // namespace dart 7234 } // namespace dart
7235 7235
7236 #endif // defined TARGET_ARCH_ARM 7236 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698