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

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

Issue 2289993002: Fix -O0 compilation errors (Closed)
Patch Set: Created 4 years, 3 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/bin/loader.cc ('k') | runtime/vm/profiler_service.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 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 summary->set_in(0, Location::RequiresRegister()); 1771 summary->set_in(0, Location::RequiresRegister());
1772 // We need temporaries for field object. 1772 // We need temporaries for field object.
1773 summary->set_temp(0, Location::RequiresRegister()); 1773 summary->set_temp(0, Location::RequiresRegister());
1774 return summary; 1774 return summary;
1775 } else { 1775 } else {
1776 LocationSummary* summary = new(zone) LocationSummary( 1776 LocationSummary* summary = new(zone) LocationSummary(
1777 zone, kNumInputs, 0, LocationSummary::kNoCall); 1777 zone, kNumInputs, 0, LocationSummary::kNoCall);
1778 summary->set_in(0, Location::RequiresRegister()); 1778 summary->set_in(0, Location::RequiresRegister());
1779 return summary; 1779 return summary;
1780 } 1780 }
1781 UNREACHABLE(); 1781 UNREACHABLE();
Florian Schneider 2016/08/29 21:44:06 I wonder if removing the UNREACHABLE would also fi
zra 2016/08/29 21:57:30 removed else
1782 return NULL;
1782 } 1783 }
1783 1784
1784 1785
1785 void GuardFieldLengthInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 1786 void GuardFieldLengthInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
1786 if (field().guarded_list_length() == Field::kNoFixedLength) { 1787 if (field().guarded_list_length() == Field::kNoFixedLength) {
1787 if (Compiler::IsBackgroundCompilation()) { 1788 if (Compiler::IsBackgroundCompilation()) {
1788 // Field state changed while compiling. 1789 // Field state changed while compiling.
1789 Compiler::AbortBackgroundCompilation(deopt_id(), 1790 Compiler::AbortBackgroundCompilation(deopt_id(),
1790 "GuardFieldLengthInstr: field state changed while compiling"); 1791 "GuardFieldLengthInstr: field state changed while compiling");
1791 } 1792 }
(...skipping 3990 matching lines...) Expand 10 before | Expand all | Expand 10 after
5782 1, 5783 1,
5783 locs()); 5784 locs());
5784 __ lw(result, Address(SP, 1 * kWordSize)); 5785 __ lw(result, Address(SP, 1 * kWordSize));
5785 __ addiu(SP, SP, Immediate(2 * kWordSize)); 5786 __ addiu(SP, SP, Immediate(2 * kWordSize));
5786 } 5787 }
5787 5788
5788 5789
5789 } // namespace dart 5790 } // namespace dart
5790 5791
5791 #endif // defined TARGET_ARCH_MIPS 5792 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/bin/loader.cc ('k') | runtime/vm/profiler_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698