OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_MACHINE_TYPE_H_ | 5 #ifndef V8_MACHINE_TYPE_H_ |
6 #define V8_MACHINE_TYPE_H_ | 6 #define V8_MACHINE_TYPE_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/base/bits.h" | 10 #include "src/base/bits.h" |
11 #include "src/globals.h" | 11 #include "src/globals.h" |
12 #include "src/signature.h" | 12 #include "src/signature.h" |
13 #include "src/zone.h" | 13 #include "src/zone/zone.h" |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 enum class MachineRepresentation : uint8_t { | 18 enum class MachineRepresentation : uint8_t { |
19 kNone, | 19 kNone, |
20 kBit, | 20 kBit, |
21 kWord8, | 21 kWord8, |
22 kWord16, | 22 kWord16, |
23 kWord32, | 23 kWord32, |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 UNREACHABLE(); | 263 UNREACHABLE(); |
264 return -1; | 264 return -1; |
265 } | 265 } |
266 | 266 |
267 typedef Signature<MachineType> MachineSignature; | 267 typedef Signature<MachineType> MachineSignature; |
268 | 268 |
269 } // namespace internal | 269 } // namespace internal |
270 } // namespace v8 | 270 } // namespace v8 |
271 | 271 |
272 #endif // V8_MACHINE_TYPE_H_ | 272 #endif // V8_MACHINE_TYPE_H_ |
OLD | NEW |