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

Side by Side Diff: runtime/vm/intermediate_language_arm64.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_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 2576 matching lines...) Expand 10 before | Expand all | Expand 10 after
2587 bool opt) const { 2587 bool opt) const {
2588 UNREACHABLE(); 2588 UNREACHABLE();
2589 return NULL; 2589 return NULL;
2590 } 2590 }
2591 2591
2592 2592
2593 void CatchBlockEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 2593 void CatchBlockEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
2594 __ Bind(compiler->GetJumpLabel(this)); 2594 __ Bind(compiler->GetJumpLabel(this));
2595 compiler->AddExceptionHandler(catch_try_index(), try_index(), 2595 compiler->AddExceptionHandler(catch_try_index(), try_index(),
2596 compiler->assembler()->CodeSize(), 2596 compiler->assembler()->CodeSize(),
2597 handler_token_pos(), is_generated(),
2598 catch_handler_types_, needs_stacktrace()); 2597 catch_handler_types_, needs_stacktrace());
2599 // On lazy deoptimization we patch the optimized code here to enter the 2598 // On lazy deoptimization we patch the optimized code here to enter the
2600 // deoptimization stub. 2599 // deoptimization stub.
2601 const intptr_t deopt_id = Thread::ToDeoptAfter(GetDeoptId()); 2600 const intptr_t deopt_id = Thread::ToDeoptAfter(GetDeoptId());
2602 if (compiler->is_optimizing()) { 2601 if (compiler->is_optimizing()) {
2603 compiler->AddDeoptIndexAtCall(deopt_id); 2602 compiler->AddDeoptIndexAtCall(deopt_id);
2604 } else { 2603 } else {
2605 compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id, 2604 compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id,
2606 TokenPosition::kNoSource); 2605 TokenPosition::kNoSource);
2607 } 2606 }
(...skipping 3410 matching lines...) Expand 10 before | Expand all | Expand 10 after
6018 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), 6017 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(),
6019 kGrowRegExpStackRuntimeEntry, 1, locs()); 6018 kGrowRegExpStackRuntimeEntry, 1, locs());
6020 __ Drop(1); 6019 __ Drop(1);
6021 __ Pop(result); 6020 __ Pop(result);
6022 } 6021 }
6023 6022
6024 6023
6025 } // namespace dart 6024 } // namespace dart
6026 6025
6027 #endif // defined TARGET_ARCH_ARM64 6026 #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