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

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

Issue 2686813006: Reapply "Use CodeSourceMap for stack traces (still JIT only)." (Closed)
Patch Set: Created 3 years, 10 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_mips.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 5529 matching lines...) Expand 10 before | Expand all | Expand 10 after
5540 5540
5541 virtual void EmitNativeCode(FlowGraphCompiler* compiler) { 5541 virtual void EmitNativeCode(FlowGraphCompiler* compiler) {
5542 if (Assembler::EmittingComments()) { 5542 if (Assembler::EmittingComments()) {
5543 __ Comment("slow path check bound operation"); 5543 __ Comment("slow path check bound operation");
5544 } 5544 }
5545 __ Bind(entry_label()); 5545 __ Bind(entry_label());
5546 LocationSummary* locs = instruction_->locs(); 5546 LocationSummary* locs = instruction_->locs();
5547 __ Push(locs->in(0).reg()); 5547 __ Push(locs->in(0).reg());
5548 __ Push(locs->in(1).reg()); 5548 __ Push(locs->in(1).reg());
5549 __ CallRuntime(kRangeErrorRuntimeEntry, 2); 5549 __ CallRuntime(kRangeErrorRuntimeEntry, 2);
5550 compiler->pc_descriptors_list()->AddDescriptor( 5550 compiler->AddDescriptor(
5551 RawPcDescriptors::kOther, compiler->assembler()->CodeSize(), 5551 RawPcDescriptors::kOther, compiler->assembler()->CodeSize(),
5552 instruction_->deopt_id(), instruction_->token_pos(), try_index_); 5552 instruction_->deopt_id(), instruction_->token_pos(), try_index_);
5553 compiler->RecordSafepoint(locs, 2); 5553 compiler->RecordSafepoint(locs, 2);
5554 __ brk(0); 5554 __ brk(0);
5555 } 5555 }
5556 5556
5557 private: 5557 private:
5558 GenericCheckBoundInstr* instruction_; 5558 GenericCheckBoundInstr* instruction_;
5559 intptr_t try_index_; 5559 intptr_t try_index_;
5560 }; 5560 };
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
6017 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), 6017 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(),
6018 kGrowRegExpStackRuntimeEntry, 1, locs()); 6018 kGrowRegExpStackRuntimeEntry, 1, locs());
6019 __ Drop(1); 6019 __ Drop(1);
6020 __ Pop(result); 6020 __ Pop(result);
6021 } 6021 }
6022 6022
6023 6023
6024 } // namespace dart 6024 } // namespace dart
6025 6025
6026 #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_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698