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 2526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2537 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { | 2537 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { |
2538 return Type::Internal(); | 2538 return Type::Internal(); |
2539 } | 2539 } |
2540 | 2540 |
2541 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { | 2541 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { |
2542 return Type::Internal(); | 2542 return Type::Internal(); |
2543 } | 2543 } |
2544 | 2544 |
2545 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } | 2545 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } |
2546 | 2546 |
2547 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); } | |
2548 | |
2549 Type* Typer::Visitor::TypeCheckedStore(Node* node) { | 2547 Type* Typer::Visitor::TypeCheckedStore(Node* node) { |
2550 UNREACHABLE(); | 2548 UNREACHABLE(); |
2551 return nullptr; | 2549 return nullptr; |
2552 } | 2550 } |
| 2551 |
| 2552 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); } |
| 2553 |
| 2554 Type* Typer::Visitor::TypeAtomicStore(Node* node) { |
| 2555 UNREACHABLE(); |
| 2556 return nullptr; |
| 2557 } |
2553 | 2558 |
2554 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } | 2559 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } |
2555 | 2560 |
2556 Type* Typer::Visitor::TypeInt32PairSub(Node* node) { return Type::Internal(); } | 2561 Type* Typer::Visitor::TypeInt32PairSub(Node* node) { return Type::Internal(); } |
2557 | 2562 |
2558 Type* Typer::Visitor::TypeInt32PairMul(Node* node) { return Type::Internal(); } | 2563 Type* Typer::Visitor::TypeInt32PairMul(Node* node) { return Type::Internal(); } |
2559 | 2564 |
2560 Type* Typer::Visitor::TypeWord32PairShl(Node* node) { return Type::Internal(); } | 2565 Type* Typer::Visitor::TypeWord32PairShl(Node* node) { return Type::Internal(); } |
2561 | 2566 |
2562 Type* Typer::Visitor::TypeWord32PairShr(Node* node) { return Type::Internal(); } | 2567 Type* Typer::Visitor::TypeWord32PairShr(Node* node) { return Type::Internal(); } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2594 } | 2599 } |
2595 if (Type::IsInteger(*value)) { | 2600 if (Type::IsInteger(*value)) { |
2596 return Type::Range(value->Number(), value->Number(), zone()); | 2601 return Type::Range(value->Number(), value->Number(), zone()); |
2597 } | 2602 } |
2598 return Type::Constant(value, zone()); | 2603 return Type::Constant(value, zone()); |
2599 } | 2604 } |
2600 | 2605 |
2601 } // namespace compiler | 2606 } // namespace compiler |
2602 } // namespace internal | 2607 } // namespace internal |
2603 } // namespace v8 | 2608 } // namespace v8 |
OLD | NEW |