| 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 "src/base/flags.h" | 7 #include "src/base/flags.h" |
| 8 #include "src/base/lazy-instance.h" | 8 #include "src/base/lazy-instance.h" |
| 9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "src/compiler/graph-reducer.h" | 10 #include "src/compiler/graph-reducer.h" |
| (...skipping 2034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2045 Bounds Typer::Visitor::TypeUint64Div(Node* node) { | 2045 Bounds Typer::Visitor::TypeUint64Div(Node* node) { |
| 2046 return Bounds(Type::Internal()); | 2046 return Bounds(Type::Internal()); |
| 2047 } | 2047 } |
| 2048 | 2048 |
| 2049 | 2049 |
| 2050 Bounds Typer::Visitor::TypeUint64LessThan(Node* node) { | 2050 Bounds Typer::Visitor::TypeUint64LessThan(Node* node) { |
| 2051 return Bounds(Type::Boolean()); | 2051 return Bounds(Type::Boolean()); |
| 2052 } | 2052 } |
| 2053 | 2053 |
| 2054 | 2054 |
| 2055 Bounds Typer::Visitor::TypeUint64LessThanOrEqual(Node* node) { |
| 2056 return Bounds(Type::Boolean()); |
| 2057 } |
| 2058 |
| 2059 |
| 2055 Bounds Typer::Visitor::TypeUint64Mod(Node* node) { | 2060 Bounds Typer::Visitor::TypeUint64Mod(Node* node) { |
| 2056 return Bounds(Type::Internal()); | 2061 return Bounds(Type::Internal()); |
| 2057 } | 2062 } |
| 2058 | 2063 |
| 2059 | 2064 |
| 2060 Bounds Typer::Visitor::TypeChangeFloat32ToFloat64(Node* node) { | 2065 Bounds Typer::Visitor::TypeChangeFloat32ToFloat64(Node* node) { |
| 2061 return Bounds(Type::Intersect( | 2066 return Bounds(Type::Intersect( |
| 2062 Type::Number(), Type::UntaggedFloat64(), zone())); | 2067 Type::Number(), Type::UntaggedFloat64(), zone())); |
| 2063 } | 2068 } |
| 2064 | 2069 |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2360 TYPED_ARRAYS(TYPED_ARRAY_CASE) | 2365 TYPED_ARRAYS(TYPED_ARRAY_CASE) |
| 2361 #undef TYPED_ARRAY_CASE | 2366 #undef TYPED_ARRAY_CASE |
| 2362 } | 2367 } |
| 2363 } | 2368 } |
| 2364 return Type::Constant(value, zone()); | 2369 return Type::Constant(value, zone()); |
| 2365 } | 2370 } |
| 2366 | 2371 |
| 2367 } // namespace compiler | 2372 } // namespace compiler |
| 2368 } // namespace internal | 2373 } // namespace internal |
| 2369 } // namespace v8 | 2374 } // namespace v8 |
| OLD | NEW |