| 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 2485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2496 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { | 2496 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { |
| 2497 return Type::Internal(); | 2497 return Type::Internal(); |
| 2498 } | 2498 } |
| 2499 | 2499 |
| 2500 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { | 2500 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { |
| 2501 return Type::Internal(); | 2501 return Type::Internal(); |
| 2502 } | 2502 } |
| 2503 | 2503 |
| 2504 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } | 2504 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } |
| 2505 | 2505 |
| 2506 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); } |
| 2506 | 2507 |
| 2507 Type* Typer::Visitor::TypeCheckedStore(Node* node) { | 2508 Type* Typer::Visitor::TypeCheckedStore(Node* node) { |
| 2508 UNREACHABLE(); | 2509 UNREACHABLE(); |
| 2509 return nullptr; | 2510 return nullptr; |
| 2510 } | 2511 } |
| 2511 | 2512 |
| 2512 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } | 2513 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } |
| 2513 | 2514 |
| 2514 Type* Typer::Visitor::TypeInt32PairSub(Node* node) { return Type::Internal(); } | 2515 Type* Typer::Visitor::TypeInt32PairSub(Node* node) { return Type::Internal(); } |
| 2515 | 2516 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 2536 } | 2537 } |
| 2537 if (Type::IsInteger(*value)) { | 2538 if (Type::IsInteger(*value)) { |
| 2538 return Type::Range(value->Number(), value->Number(), zone()); | 2539 return Type::Range(value->Number(), value->Number(), zone()); |
| 2539 } | 2540 } |
| 2540 return Type::Constant(value, zone()); | 2541 return Type::Constant(value, zone()); |
| 2541 } | 2542 } |
| 2542 | 2543 |
| 2543 } // namespace compiler | 2544 } // namespace compiler |
| 2544 } // namespace internal | 2545 } // namespace internal |
| 2545 } // namespace v8 | 2546 } // namespace v8 |
| OLD | NEW |