| 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/bootstrapper.h" | 8 #include "src/bootstrapper.h" |
| 9 #include "src/compilation-dependencies.h" | 9 #include "src/compilation-dependencies.h" |
| 10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
| (...skipping 2503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2514 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { | 2514 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { |
| 2515 return Type::Internal(); | 2515 return Type::Internal(); |
| 2516 } | 2516 } |
| 2517 | 2517 |
| 2518 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { | 2518 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { |
| 2519 return Type::Internal(); | 2519 return Type::Internal(); |
| 2520 } | 2520 } |
| 2521 | 2521 |
| 2522 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } | 2522 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } |
| 2523 | 2523 |
| 2524 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); } |
| 2524 | 2525 |
| 2525 Type* Typer::Visitor::TypeCheckedStore(Node* node) { | 2526 Type* Typer::Visitor::TypeCheckedStore(Node* node) { |
| 2526 UNREACHABLE(); | 2527 UNREACHABLE(); |
| 2527 return nullptr; | 2528 return nullptr; |
| 2528 } | 2529 } |
| 2529 | 2530 |
| 2530 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } | 2531 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } |
| 2531 | 2532 |
| 2532 Type* Typer::Visitor::TypeInt32PairSub(Node* node) { return Type::Internal(); } | 2533 Type* Typer::Visitor::TypeInt32PairSub(Node* node) { return Type::Internal(); } |
| 2533 | 2534 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 2554 } | 2555 } |
| 2555 if (Type::IsInteger(*value)) { | 2556 if (Type::IsInteger(*value)) { |
| 2556 return Type::Range(value->Number(), value->Number(), zone()); | 2557 return Type::Range(value->Number(), value->Number(), zone()); |
| 2557 } | 2558 } |
| 2558 return Type::Constant(value, zone()); | 2559 return Type::Constant(value, zone()); |
| 2559 } | 2560 } |
| 2560 | 2561 |
| 2561 } // namespace compiler | 2562 } // namespace compiler |
| 2562 } // namespace internal | 2563 } // namespace internal |
| 2563 } // namespace v8 | 2564 } // namespace v8 |
| OLD | NEW |