| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |