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

Side by Side Diff: runtime/vm/intermediate_language_arm.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/flow_graph_compiler_x64.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 6382 matching lines...) Expand 10 before | Expand all | Expand 10 after
6393 6393
6394 virtual void EmitNativeCode(FlowGraphCompiler* compiler) { 6394 virtual void EmitNativeCode(FlowGraphCompiler* compiler) {
6395 if (Assembler::EmittingComments()) { 6395 if (Assembler::EmittingComments()) {
6396 __ Comment("slow path check bound operation"); 6396 __ Comment("slow path check bound operation");
6397 } 6397 }
6398 __ Bind(entry_label()); 6398 __ Bind(entry_label());
6399 LocationSummary* locs = instruction_->locs(); 6399 LocationSummary* locs = instruction_->locs();
6400 __ Push(locs->in(0).reg()); 6400 __ Push(locs->in(0).reg());
6401 __ Push(locs->in(1).reg()); 6401 __ Push(locs->in(1).reg());
6402 __ CallRuntime(kRangeErrorRuntimeEntry, 2); 6402 __ CallRuntime(kRangeErrorRuntimeEntry, 2);
6403 compiler->pc_descriptors_list()->AddDescriptor( 6403 compiler->AddDescriptor(
6404 RawPcDescriptors::kOther, compiler->assembler()->CodeSize(), 6404 RawPcDescriptors::kOther, compiler->assembler()->CodeSize(),
6405 instruction_->deopt_id(), instruction_->token_pos(), try_index_); 6405 instruction_->deopt_id(), instruction_->token_pos(), try_index_);
6406 compiler->RecordSafepoint(locs, 2); 6406 compiler->RecordSafepoint(locs, 2);
6407 __ bkpt(0); 6407 __ bkpt(0);
6408 } 6408 }
6409 6409
6410 private: 6410 private:
6411 GenericCheckBoundInstr* instruction_; 6411 GenericCheckBoundInstr* instruction_;
6412 intptr_t try_index_; 6412 intptr_t try_index_;
6413 }; 6413 };
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
7224 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), 7224 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(),
7225 kGrowRegExpStackRuntimeEntry, 1, locs()); 7225 kGrowRegExpStackRuntimeEntry, 1, locs());
7226 __ Drop(1); 7226 __ Drop(1);
7227 __ Pop(result); 7227 __ Pop(result);
7228 } 7228 }
7229 7229
7230 7230
7231 } // namespace dart 7231 } // namespace dart
7232 7232
7233 #endif // defined TARGET_ARCH_ARM 7233 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698