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

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

Issue 14431004: Implements missing features to run Hello, World in checked mode on MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/stub_code_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) 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 "lib/error.h" 10 #include "lib/error.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 211 }
212 } 212 }
213 213
214 214
215 LocationSummary* AssertAssignableInstr::MakeLocationSummary() const { 215 LocationSummary* AssertAssignableInstr::MakeLocationSummary() const {
216 const intptr_t kNumInputs = 3; 216 const intptr_t kNumInputs = 3;
217 const intptr_t kNumTemps = 0; 217 const intptr_t kNumTemps = 0;
218 LocationSummary* summary = 218 LocationSummary* summary =
219 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kCall); 219 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kCall);
220 summary->set_in(0, Location::RegisterLocation(A0)); // Value. 220 summary->set_in(0, Location::RegisterLocation(A0)); // Value.
221 summary->set_in(1, Location::RegisterLocation(A1)); // Instantiator. 221 summary->set_in(1, Location::RegisterLocation(A2)); // Instantiator.
222 summary->set_in(2, Location::RegisterLocation(A2)); // Type arguments. 222 summary->set_in(2, Location::RegisterLocation(A1)); // Type arguments.
223 summary->set_out(Location::RegisterLocation(A0)); 223 summary->set_out(Location::RegisterLocation(A0));
224 return summary; 224 return summary;
225 } 225 }
226 226
227 227
228 LocationSummary* AssertBooleanInstr::MakeLocationSummary() const { 228 LocationSummary* AssertBooleanInstr::MakeLocationSummary() const {
229 const intptr_t kNumInputs = 1; 229 const intptr_t kNumInputs = 1;
230 const intptr_t kNumTemps = 0; 230 const intptr_t kNumTemps = 0;
231 LocationSummary* locs = 231 LocationSummary* locs =
232 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kCall); 232 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kCall);
(...skipping 2200 matching lines...) Expand 10 before | Expand all | Expand 10 after
2433 &label, 2433 &label,
2434 PcDescriptors::kOther, 2434 PcDescriptors::kOther,
2435 locs()); 2435 locs());
2436 __ Drop(2); // Discard type arguments and receiver. 2436 __ Drop(2); // Discard type arguments and receiver.
2437 } 2437 }
2438 2438
2439 } // namespace dart 2439 } // namespace dart
2440 2440
2441 #endif // defined TARGET_ARCH_MIPS 2441 #endif // defined TARGET_ARCH_MIPS
2442 2442
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698