| 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" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 kWord8, | 21 kWord8, |
| 22 kWord16, | 22 kWord16, |
| 23 kWord32, | 23 kWord32, |
| 24 kWord64, | 24 kWord64, |
| 25 kFloat32, | 25 kFloat32, |
| 26 kFloat64, | 26 kFloat64, |
| 27 kSimd128, | 27 kSimd128, |
| 28 kTagged | 28 kTagged |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 const char* MachineReprToString(MachineRepresentation); |
| 32 |
| 31 enum class MachineSemantic : uint8_t { | 33 enum class MachineSemantic : uint8_t { |
| 32 kNone, | 34 kNone, |
| 33 kBool, | 35 kBool, |
| 34 kInt32, | 36 kInt32, |
| 35 kUint32, | 37 kUint32, |
| 36 kInt64, | 38 kInt64, |
| 37 kUint64, | 39 kUint64, |
| 38 kNumber, | 40 kNumber, |
| 39 kAny | 41 kAny |
| 40 }; | 42 }; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 UNREACHABLE(); | 207 UNREACHABLE(); |
| 206 return -1; | 208 return -1; |
| 207 } | 209 } |
| 208 | 210 |
| 209 typedef Signature<MachineType> MachineSignature; | 211 typedef Signature<MachineType> MachineSignature; |
| 210 | 212 |
| 211 } // namespace internal | 213 } // namespace internal |
| 212 } // namespace v8 | 214 } // namespace v8 |
| 213 | 215 |
| 214 #endif // V8_MACHINE_TYPE_H_ | 216 #endif // V8_MACHINE_TYPE_H_ |
| OLD | NEW |