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 2085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2096 | 2096 |
2097 Type* Typer::Visitor::TypeFloat32LessThan(Node* node) { | 2097 Type* Typer::Visitor::TypeFloat32LessThan(Node* node) { |
2098 return Type::Boolean(); | 2098 return Type::Boolean(); |
2099 } | 2099 } |
2100 | 2100 |
2101 | 2101 |
2102 Type* Typer::Visitor::TypeFloat32LessThanOrEqual(Node* node) { | 2102 Type* Typer::Visitor::TypeFloat32LessThanOrEqual(Node* node) { |
2103 return Type::Boolean(); | 2103 return Type::Boolean(); |
2104 } | 2104 } |
2105 | 2105 |
| 2106 Type* Typer::Visitor::TypeFloat32Max(Node* node) { return Type::Number(); } |
| 2107 |
| 2108 Type* Typer::Visitor::TypeFloat32Min(Node* node) { return Type::Number(); } |
2106 | 2109 |
2107 Type* Typer::Visitor::TypeFloat64Add(Node* node) { return Type::Number(); } | 2110 Type* Typer::Visitor::TypeFloat64Add(Node* node) { return Type::Number(); } |
2108 | 2111 |
2109 | 2112 |
2110 Type* Typer::Visitor::TypeFloat64Sub(Node* node) { return Type::Number(); } | 2113 Type* Typer::Visitor::TypeFloat64Sub(Node* node) { return Type::Number(); } |
2111 | 2114 |
2112 Type* Typer::Visitor::TypeFloat64Neg(Node* node) { return Type::Number(); } | 2115 Type* Typer::Visitor::TypeFloat64Neg(Node* node) { return Type::Number(); } |
2113 | 2116 |
2114 Type* Typer::Visitor::TypeFloat64Mul(Node* node) { return Type::Number(); } | 2117 Type* Typer::Visitor::TypeFloat64Mul(Node* node) { return Type::Number(); } |
2115 | 2118 |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2340 } | 2343 } |
2341 if (Type::IsInteger(*value)) { | 2344 if (Type::IsInteger(*value)) { |
2342 return Type::Range(value->Number(), value->Number(), zone()); | 2345 return Type::Range(value->Number(), value->Number(), zone()); |
2343 } | 2346 } |
2344 return Type::Constant(value, zone()); | 2347 return Type::Constant(value, zone()); |
2345 } | 2348 } |
2346 | 2349 |
2347 } // namespace compiler | 2350 } // namespace compiler |
2348 } // namespace internal | 2351 } // namespace internal |
2349 } // namespace v8 | 2352 } // namespace v8 |
OLD | NEW |