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_CCTEST_COMPILER_VALUE_HELPER_H_ | 5 #ifndef V8_CCTEST_COMPILER_VALUE_HELPER_H_ |
6 #define V8_CCTEST_COMPILER_VALUE_HELPER_H_ | 6 #define V8_CCTEST_COMPILER_VALUE_HELPER_H_ |
7 | 7 |
| 8 #include "src/v8.h" |
| 9 |
8 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
9 #include "src/compiler/node.h" | 11 #include "src/compiler/node.h" |
10 #include "src/compiler/node-matchers.h" | 12 #include "src/compiler/node-matchers.h" |
11 #include "src/isolate.h" | 13 #include "src/isolate.h" |
12 #include "src/objects.h" | 14 #include "src/objects.h" |
13 #include "test/cctest/cctest.h" | 15 #include "test/cctest/cctest.h" |
14 #include "v8.h" | |
15 | 16 |
16 namespace v8 { | 17 namespace v8 { |
17 namespace internal { | 18 namespace internal { |
18 namespace compiler { | 19 namespace compiler { |
19 | 20 |
20 // A collection of utilities related to numerical and heap values, including | 21 // A collection of utilities related to numerical and heap values, including |
21 // example input values of various types, including int32_t, uint32_t, double, | 22 // example input values of various types, including int32_t, uint32_t, double, |
22 // etc. | 23 // etc. |
23 class ValueHelper { | 24 class ValueHelper { |
24 public: | 25 public: |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 var != var##_vec.end(); ++var) | 114 var != var##_vec.end(); ++var) |
114 | 115 |
115 #define FOR_INT32_INPUTS(var) FOR_INPUTS(int32_t, int32, var) | 116 #define FOR_INT32_INPUTS(var) FOR_INPUTS(int32_t, int32, var) |
116 #define FOR_UINT32_INPUTS(var) FOR_INPUTS(uint32_t, uint32, var) | 117 #define FOR_UINT32_INPUTS(var) FOR_INPUTS(uint32_t, uint32, var) |
117 #define FOR_FLOAT64_INPUTS(var) FOR_INPUTS(double, float64, var) | 118 #define FOR_FLOAT64_INPUTS(var) FOR_INPUTS(double, float64, var) |
118 } | 119 } |
119 } | 120 } |
120 } // namespace v8::internal::compiler | 121 } // namespace v8::internal::compiler |
121 | 122 |
122 #endif // V8_CCTEST_COMPILER_VALUE_HELPER_H_ | 123 #endif // V8_CCTEST_COMPILER_VALUE_HELPER_H_ |
OLD | NEW |