| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 ComparisonOutcome Invert(ComparisonOutcome); | 61 ComparisonOutcome Invert(ComparisonOutcome); |
| 62 Type* Invert(Type*); | 62 Type* Invert(Type*); |
| 63 Type* FalsifyUndefined(ComparisonOutcome); | 63 Type* FalsifyUndefined(ComparisonOutcome); |
| 64 | 64 |
| 65 Type* Rangify(Type*); | 65 Type* Rangify(Type*); |
| 66 Type* AddRanger(double lhs_min, double lhs_max, double rhs_min, | 66 Type* AddRanger(double lhs_min, double lhs_max, double rhs_min, |
| 67 double rhs_max); | 67 double rhs_max); |
| 68 Type* SubtractRanger(RangeType* lhs, RangeType* rhs); | 68 Type* SubtractRanger(RangeType* lhs, RangeType* rhs); |
| 69 Type* MultiplyRanger(Type* lhs, Type* rhs); | 69 Type* MultiplyRanger(Type* lhs, Type* rhs); |
| 70 Type* ModulusRanger(RangeType* lhs, RangeType* rhs); | |
| 71 | 70 |
| 72 Zone* zone() { return zone_; } | 71 Zone* zone() { return zone_; } |
| 73 | 72 |
| 74 Zone* zone_; | 73 Zone* zone_; |
| 75 TypeCache const& cache_; | 74 TypeCache const& cache_; |
| 76 | 75 |
| 77 Type* singleton_false_; | 76 Type* singleton_false_; |
| 78 Type* singleton_true_; | 77 Type* singleton_true_; |
| 79 Type* singleton_the_hole_; | 78 Type* singleton_the_hole_; |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 } // namespace compiler | 81 } // namespace compiler |
| 83 } // namespace internal | 82 } // namespace internal |
| 84 } // namespace v8 | 83 } // namespace v8 |
| 85 | 84 |
| 86 #endif // V8_COMPILER_OPERATION_TYPER_H_ | 85 #endif // V8_COMPILER_OPERATION_TYPER_H_ |
| OLD | NEW |