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 #ifndef VM_LOCATIONS_H_ | 5 #ifndef VM_LOCATIONS_H_ |
6 #define VM_LOCATIONS_H_ | 6 #define VM_LOCATIONS_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
10 #include "vm/bitfield.h" | 10 #include "vm/bitfield.h" |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 class BufferFormatter; | 14 class BufferFormatter; |
15 class Value; | 15 class Value; |
16 class PairLocation; | 16 class PairLocation; |
17 | 17 |
18 | 18 |
19 enum Representation { | 19 enum Representation { |
20 kNoRepresentation, | 20 kNoRepresentation, |
21 kTagged, | 21 kTagged, |
22 kUntagged, | 22 kUntagged, |
23 kUnboxedDouble, | 23 kUnboxedDouble, |
24 kUnboxedMint, | 24 kUnboxedMint, |
25 kUnboxedMint32, | |
Vyacheslav Egorov (Google)
2014/06/23 20:02:06
I would call it kUnboxedUint32. Mint32 is a confus
| |
25 kUnboxedFloat32x4, | 26 kUnboxedFloat32x4, |
26 kUnboxedInt32x4, | 27 kUnboxedInt32x4, |
27 kUnboxedFloat64x2, | 28 kUnboxedFloat64x2, |
28 kPairOfTagged, | 29 kPairOfTagged, |
29 kPairOfUnboxedDouble, | 30 kPairOfUnboxedDouble, |
30 kNumRepresentations | 31 kNumRepresentations |
31 }; | 32 }; |
32 | 33 |
33 | 34 |
34 // Location objects are used to connect register allocator and code generator. | 35 // Location objects are used to connect register allocator and code generator. |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
624 BitmapBuilder* stack_bitmap_; | 625 BitmapBuilder* stack_bitmap_; |
625 | 626 |
626 const ContainsCall contains_call_; | 627 const ContainsCall contains_call_; |
627 RegisterSet live_registers_; | 628 RegisterSet live_registers_; |
628 }; | 629 }; |
629 | 630 |
630 | 631 |
631 } // namespace dart | 632 } // namespace dart |
632 | 633 |
633 #endif // VM_LOCATIONS_H_ | 634 #endif // VM_LOCATIONS_H_ |
OLD | NEW |