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

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

Issue 2718353002: Revert "Track the 'awaiter return' call stack..." (Closed)
Patch Set: Created 3 years, 9 months 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_arm64.cc ('k') | runtime/vm/intermediate_language_ia32.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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_DBC. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_DBC.
6 #if defined(TARGET_ARCH_DBC) 6 #if defined(TARGET_ARCH_DBC)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 if (compiler->is_optimizing()) { 1142 if (compiler->is_optimizing()) {
1143 __ PopLocal(locs()->out(0).reg()); 1143 __ PopLocal(locs()->out(0).reg());
1144 } 1144 }
1145 } 1145 }
1146 1146
1147 1147
1148 EMIT_NATIVE_CODE(CatchBlockEntry, 0) { 1148 EMIT_NATIVE_CODE(CatchBlockEntry, 0) {
1149 __ Bind(compiler->GetJumpLabel(this)); 1149 __ Bind(compiler->GetJumpLabel(this));
1150 compiler->AddExceptionHandler(catch_try_index(), try_index(), 1150 compiler->AddExceptionHandler(catch_try_index(), try_index(),
1151 compiler->assembler()->CodeSize(), 1151 compiler->assembler()->CodeSize(),
1152 handler_token_pos(), is_generated(),
1153 catch_handler_types_, needs_stacktrace()); 1152 catch_handler_types_, needs_stacktrace());
1154 // On lazy deoptimization we patch the optimized code here to enter the 1153 // On lazy deoptimization we patch the optimized code here to enter the
1155 // deoptimization stub. 1154 // deoptimization stub.
1156 const intptr_t deopt_id = Thread::ToDeoptAfter(GetDeoptId()); 1155 const intptr_t deopt_id = Thread::ToDeoptAfter(GetDeoptId());
1157 if (compiler->is_optimizing()) { 1156 if (compiler->is_optimizing()) {
1158 compiler->AddDeoptIndexAtCall(deopt_id); 1157 compiler->AddDeoptIndexAtCall(deopt_id);
1159 } else { 1158 } else {
1160 compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id, 1159 compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id,
1161 TokenPosition::kNoSource); 1160 TokenPosition::kNoSource);
1162 } 1161 }
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
2010 } 2009 }
2011 __ IfULe(length, index); 2010 __ IfULe(length, index);
2012 compiler->EmitDeopt(deopt_id(), ICData::kDeoptCheckArrayBound, 2011 compiler->EmitDeopt(deopt_id(), ICData::kDeoptCheckArrayBound,
2013 (generalized_ ? ICData::kGeneralized : 0) | 2012 (generalized_ ? ICData::kGeneralized : 0) |
2014 (licm_hoisted_ ? ICData::kHoisted : 0)); 2013 (licm_hoisted_ ? ICData::kHoisted : 0));
2015 } 2014 }
2016 2015
2017 } // namespace dart 2016 } // namespace dart
2018 2017
2019 #endif // defined TARGET_ARCH_DBC 2018 #endif // defined TARGET_ARCH_DBC
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698