| 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 RUNTIME_VM_LOCATIONS_H_ | 5 #ifndef RUNTIME_VM_LOCATIONS_H_ |
| 6 #define RUNTIME_VM_LOCATIONS_H_ | 6 #define RUNTIME_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 #include "vm/log.h" | 11 #include "vm/log.h" |
| 12 | 12 |
| 13 namespace dart { | 13 namespace dart { |
| 14 | 14 |
| 15 class BufferFormatter; | 15 class BufferFormatter; |
| 16 class ConstantInstr; | 16 class ConstantInstr; |
| 17 class Definition; | 17 class Definition; |
| 18 class PairLocation; | 18 class PairLocation; |
| 19 class Value; | 19 class Value; |
| 20 | 20 |
| 21 enum Representation { | 21 enum Representation { |
| 22 kNoRepresentation, | 22 kNoRepresentation, |
| 23 kTagged, | 23 kTagged, |
| 24 kUntagged, | 24 kUntagged, |
| 25 kUnboxedDouble, | 25 kUnboxedDouble, |
| 26 kUnboxedInt32, | 26 kUnboxedInt32, |
| 27 kUnboxedUint32, | 27 kUnboxedUint32, |
| 28 kUnboxedMint, | 28 kUnboxedInt64, |
| 29 kUnboxedFloat32x4, | 29 kUnboxedFloat32x4, |
| 30 kUnboxedInt32x4, | 30 kUnboxedInt32x4, |
| 31 kUnboxedFloat64x2, | 31 kUnboxedFloat64x2, |
| 32 kPairOfTagged, | 32 kPairOfTagged, |
| 33 kNumRepresentations | 33 kNumRepresentations |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 // Location objects are used to connect register allocator and code generator. | 36 // Location objects are used to connect register allocator and code generator. |
| 37 // Instruction templates used by code generator have a corresponding | 37 // Instruction templates used by code generator have a corresponding |
| 38 // LocationSummary object which specifies expected location for every input | 38 // LocationSummary object which specifies expected location for every input |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 RegisterSet live_registers_; | 663 RegisterSet live_registers_; |
| 664 | 664 |
| 665 #if defined(DEBUG) | 665 #if defined(DEBUG) |
| 666 intptr_t writable_inputs_; | 666 intptr_t writable_inputs_; |
| 667 #endif | 667 #endif |
| 668 }; | 668 }; |
| 669 | 669 |
| 670 } // namespace dart | 670 } // namespace dart |
| 671 | 671 |
| 672 #endif // RUNTIME_VM_LOCATIONS_H_ | 672 #endif // RUNTIME_VM_LOCATIONS_H_ |
| OLD | NEW |