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 #include "src/compiler/typer.h" | 5 #include "src/compiler/typer.h" |
6 | 6 |
7 #include <iomanip> | 7 #include <iomanip> |
8 | 8 |
9 #include "src/base/flags.h" | 9 #include "src/base/flags.h" |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
(...skipping 2066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2077 | 2077 |
2078 Type* Typer::Visitor::TypeFloat32LessThan(Node* node) { | 2078 Type* Typer::Visitor::TypeFloat32LessThan(Node* node) { |
2079 return Type::Boolean(); | 2079 return Type::Boolean(); |
2080 } | 2080 } |
2081 | 2081 |
2082 | 2082 |
2083 Type* Typer::Visitor::TypeFloat32LessThanOrEqual(Node* node) { | 2083 Type* Typer::Visitor::TypeFloat32LessThanOrEqual(Node* node) { |
2084 return Type::Boolean(); | 2084 return Type::Boolean(); |
2085 } | 2085 } |
2086 | 2086 |
| 2087 Type* Typer::Visitor::TypeFloat32Max(Node* node) { return Type::Number(); } |
| 2088 |
| 2089 Type* Typer::Visitor::TypeFloat32Min(Node* node) { return Type::Number(); } |
2087 | 2090 |
2088 Type* Typer::Visitor::TypeFloat64Add(Node* node) { return Type::Number(); } | 2091 Type* Typer::Visitor::TypeFloat64Add(Node* node) { return Type::Number(); } |
2089 | 2092 |
2090 | 2093 |
2091 Type* Typer::Visitor::TypeFloat64Sub(Node* node) { return Type::Number(); } | 2094 Type* Typer::Visitor::TypeFloat64Sub(Node* node) { return Type::Number(); } |
2092 | 2095 |
2093 Type* Typer::Visitor::TypeFloat64Neg(Node* node) { return Type::Number(); } | 2096 Type* Typer::Visitor::TypeFloat64Neg(Node* node) { return Type::Number(); } |
2094 | 2097 |
2095 Type* Typer::Visitor::TypeFloat64Mul(Node* node) { return Type::Number(); } | 2098 Type* Typer::Visitor::TypeFloat64Mul(Node* node) { return Type::Number(); } |
2096 | 2099 |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2321 } | 2324 } |
2322 if (Type::IsInteger(*value)) { | 2325 if (Type::IsInteger(*value)) { |
2323 return Type::Range(value->Number(), value->Number(), zone()); | 2326 return Type::Range(value->Number(), value->Number(), zone()); |
2324 } | 2327 } |
2325 return Type::Constant(value, zone()); | 2328 return Type::Constant(value, zone()); |
2326 } | 2329 } |
2327 | 2330 |
2328 } // namespace compiler | 2331 } // namespace compiler |
2329 } // namespace internal | 2332 } // namespace internal |
2330 } // namespace v8 | 2333 } // namespace v8 |
OLD | NEW |