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

Side by Side Diff: runtime/vm/intermediate_language_mips.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_arm64.cc ('k') | runtime/vm/intermediate_language_x64.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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 5114 matching lines...) Expand 10 before | Expand all | Expand 10 after
5125 5125
5126 virtual void EmitNativeCode(FlowGraphCompiler* compiler) { 5126 virtual void EmitNativeCode(FlowGraphCompiler* compiler) {
5127 if (Assembler::EmittingComments()) { 5127 if (Assembler::EmittingComments()) {
5128 __ Comment("slow path check bound operation"); 5128 __ Comment("slow path check bound operation");
5129 } 5129 }
5130 __ Bind(entry_label()); 5130 __ Bind(entry_label());
5131 LocationSummary* locs = instruction_->locs(); 5131 LocationSummary* locs = instruction_->locs();
5132 __ Push(locs->in(0).reg()); 5132 __ Push(locs->in(0).reg());
5133 __ Push(locs->in(1).reg()); 5133 __ Push(locs->in(1).reg());
5134 __ CallRuntime(kRangeErrorRuntimeEntry, 2); 5134 __ CallRuntime(kRangeErrorRuntimeEntry, 2);
5135 compiler->pc_descriptors_list()->AddDescriptor( 5135 compiler->AddDescriptor(
5136 RawPcDescriptors::kOther, compiler->assembler()->CodeSize(), 5136 RawPcDescriptors::kOther, compiler->assembler()->CodeSize(),
5137 instruction_->deopt_id(), instruction_->token_pos(), try_index_); 5137 instruction_->deopt_id(), instruction_->token_pos(), try_index_);
5138 __ break_(0); 5138 __ break_(0);
5139 } 5139 }
5140 5140
5141 private: 5141 private:
5142 GenericCheckBoundInstr* instruction_; 5142 GenericCheckBoundInstr* instruction_;
5143 intptr_t try_index_; 5143 intptr_t try_index_;
5144 }; 5144 };
5145 5145
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
6009 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), 6009 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(),
6010 kGrowRegExpStackRuntimeEntry, 1, locs()); 6010 kGrowRegExpStackRuntimeEntry, 1, locs());
6011 __ lw(result, Address(SP, 1 * kWordSize)); 6011 __ lw(result, Address(SP, 1 * kWordSize));
6012 __ addiu(SP, SP, Immediate(2 * kWordSize)); 6012 __ addiu(SP, SP, Immediate(2 * kWordSize));
6013 } 6013 }
6014 6014
6015 6015
6016 } // namespace dart 6016 } // namespace dart
6017 6017
6018 #endif // defined TARGET_ARCH_MIPS 6018 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698