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_COMPILER_C_SIGNATURE_H_ | 5 #ifndef V8_COMPILER_C_SIGNATURE_H_ |
6 #define V8_COMPILER_C_SIGNATURE_H_ | 6 #define V8_COMPILER_C_SIGNATURE_H_ |
7 | 7 |
8 #include "src/compiler/machine-type.h" | 8 #include "src/compiler/machine-type.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 namespace compiler { | 12 namespace compiler { |
13 | 13 |
14 #define FOREACH_CTYPE_MACHINE_TYPE_MAPPING(V) \ | 14 #define FOREACH_CTYPE_MACHINE_TYPE_MAPPING(V) \ |
15 V(void, kMachNone) \ | 15 V(void, kMachNone) \ |
16 V(bool, kMachBool) \ | 16 V(bool, kMachUint8) \ |
17 V(int8_t, kMachInt8) \ | 17 V(int8_t, kMachInt8) \ |
18 V(uint8_t, kMachUint8) \ | 18 V(uint8_t, kMachUint8) \ |
19 V(int16_t, kMachInt16) \ | 19 V(int16_t, kMachInt16) \ |
20 V(uint16_t, kMachUint16) \ | 20 V(uint16_t, kMachUint16) \ |
21 V(int32_t, kMachInt32) \ | 21 V(int32_t, kMachInt32) \ |
22 V(uint32_t, kMachUint32) \ | 22 V(uint32_t, kMachUint32) \ |
23 V(int64_t, kMachInt64) \ | 23 V(int64_t, kMachInt64) \ |
24 V(uint64_t, kMachUint64) \ | 24 V(uint64_t, kMachUint64) \ |
25 V(float, kMachFloat32) \ | 25 V(float, kMachFloat32) \ |
26 V(double, kMachFloat64) \ | 26 V(double, kMachFloat64) \ |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 typedef CSignature2<int32_t, int32_t, int32_t> CSignature_i_ii; | 157 typedef CSignature2<int32_t, int32_t, int32_t> CSignature_i_ii; |
158 typedef CSignature2<uint32_t, uint32_t, uint32_t> CSignature_u_uu; | 158 typedef CSignature2<uint32_t, uint32_t, uint32_t> CSignature_u_uu; |
159 typedef CSignature2<float, float, float> CSignature_f_ff; | 159 typedef CSignature2<float, float, float> CSignature_f_ff; |
160 typedef CSignature2<double, double, double> CSignature_d_dd; | 160 typedef CSignature2<double, double, double> CSignature_d_dd; |
161 typedef CSignature2<Object*, Object*, Object*> CSignature_o_oo; | 161 typedef CSignature2<Object*, Object*, Object*> CSignature_o_oo; |
162 } // namespace compiler | 162 } // namespace compiler |
163 } // namespace internal | 163 } // namespace internal |
164 } // namespace v8 | 164 } // namespace v8 |
165 | 165 |
166 #endif // V8_COMPILER_C_SIGNATURE_H_ | 166 #endif // V8_COMPILER_C_SIGNATURE_H_ |
OLD | NEW |