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

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

Issue 2572563004: Improve the casing of Stackmap and Stacktrace. (Closed)
Patch Set: Build fixes Created 4 years 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_ia32.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 5758 matching lines...) Expand 10 before | Expand all | Expand 10 after
5769 __ break_(0); 5769 __ break_(0);
5770 } 5770 }
5771 5771
5772 5772
5773 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { 5773 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const {
5774 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); 5774 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall);
5775 } 5775 }
5776 5776
5777 5777
5778 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 5778 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5779 compiler->SetNeedsStacktrace(catch_try_index()); 5779 compiler->SetNeedsStackTrace(catch_try_index());
5780 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, 5780 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry,
5781 2, locs()); 5781 2, locs());
5782 __ break_(0); 5782 __ break_(0);
5783 } 5783 }
5784 5784
5785 5785
5786 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { 5786 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const {
5787 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); 5787 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall);
5788 } 5788 }
5789 5789
(...skipping 219 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_ia32.cc ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698