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_XXX. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX. |
6 | 6 |
7 #include "vm/flow_graph_compiler.h" | 7 #include "vm/flow_graph_compiler.h" |
8 | 8 |
9 #include "vm/cha.h" | 9 #include "vm/cha.h" |
10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 intptr_t index = fpu_reg_slots[loc.fpu_reg()]; | 574 intptr_t index = fpu_reg_slots[loc.fpu_reg()]; |
575 ASSERT(index >= 0); | 575 ASSERT(index >= 0); |
576 Value* value = it.CurrentValue(); | 576 Value* value = it.CurrentValue(); |
577 switch (value->definition()->representation()) { | 577 switch (value->definition()->representation()) { |
578 case kUnboxedDouble: | 578 case kUnboxedDouble: |
579 case kUnboxedMint: | 579 case kUnboxedMint: |
580 it.SetCurrentLocation(Location::DoubleStackSlot(index)); | 580 it.SetCurrentLocation(Location::DoubleStackSlot(index)); |
581 break; | 581 break; |
582 case kUnboxedFloat32x4: | 582 case kUnboxedFloat32x4: |
583 case kUnboxedInt32x4: | 583 case kUnboxedInt32x4: |
| 584 case kUnboxedFloat64x2: |
584 it.SetCurrentLocation(Location::QuadStackSlot(index)); | 585 it.SetCurrentLocation(Location::QuadStackSlot(index)); |
585 break; | 586 break; |
586 default: | 587 default: |
587 UNREACHABLE(); | 588 UNREACHABLE(); |
588 } | 589 } |
589 } | 590 } |
590 } | 591 } |
591 | 592 |
592 return env; | 593 return env; |
593 } | 594 } |
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1258 | 1259 |
1259 for (int i = 0; i < len; i++) { | 1260 for (int i = 0; i < len; i++) { |
1260 sorted->Add(CidTarget(ic_data.GetReceiverClassIdAt(i), | 1261 sorted->Add(CidTarget(ic_data.GetReceiverClassIdAt(i), |
1261 &Function::ZoneHandle(ic_data.GetTargetAt(i)), | 1262 &Function::ZoneHandle(ic_data.GetTargetAt(i)), |
1262 ic_data.GetCountAt(i))); | 1263 ic_data.GetCountAt(i))); |
1263 } | 1264 } |
1264 sorted->Sort(HighestCountFirst); | 1265 sorted->Sort(HighestCountFirst); |
1265 } | 1266 } |
1266 | 1267 |
1267 } // namespace dart | 1268 } // namespace dart |
OLD | NEW |