OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_OPERATION_TYPER_H_ | 5 #ifndef V8_COMPILER_OPERATION_TYPER_H_ |
6 #define V8_COMPILER_OPERATION_TYPER_H_ | 6 #define V8_COMPILER_OPERATION_TYPER_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/compiler/opcodes.h" | 9 #include "src/compiler/opcodes.h" |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 Type* AddRanger(double lhs_min, double lhs_max, double rhs_min, | 68 Type* AddRanger(double lhs_min, double lhs_max, double rhs_min, |
69 double rhs_max); | 69 double rhs_max); |
70 Type* SubtractRanger(RangeType* lhs, RangeType* rhs); | 70 Type* SubtractRanger(RangeType* lhs, RangeType* rhs); |
71 Type* MultiplyRanger(Type* lhs, Type* rhs); | 71 Type* MultiplyRanger(Type* lhs, Type* rhs); |
72 | 72 |
73 Zone* zone() const { return zone_; } | 73 Zone* zone() const { return zone_; } |
74 | 74 |
75 Zone* const zone_; | 75 Zone* const zone_; |
76 TypeCache const& cache_; | 76 TypeCache const& cache_; |
77 | 77 |
| 78 Type* infinity_; |
| 79 Type* minus_infinity_; |
78 Type* singleton_false_; | 80 Type* singleton_false_; |
79 Type* singleton_true_; | 81 Type* singleton_true_; |
80 Type* singleton_the_hole_; | 82 Type* singleton_the_hole_; |
81 Type* signed32ish_; | 83 Type* signed32ish_; |
82 Type* unsigned32ish_; | 84 Type* unsigned32ish_; |
83 }; | 85 }; |
84 | 86 |
85 } // namespace compiler | 87 } // namespace compiler |
86 } // namespace internal | 88 } // namespace internal |
87 } // namespace v8 | 89 } // namespace v8 |
88 | 90 |
89 #endif // V8_COMPILER_OPERATION_TYPER_H_ | 91 #endif // V8_COMPILER_OPERATION_TYPER_H_ |
OLD | NEW |