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 2494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2505 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { | 2505 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { |
2506 return Type::Internal(); | 2506 return Type::Internal(); |
2507 } | 2507 } |
2508 | 2508 |
2509 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { | 2509 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { |
2510 return Type::Internal(); | 2510 return Type::Internal(); |
2511 } | 2511 } |
2512 | 2512 |
2513 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } | 2513 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } |
2514 | 2514 |
2515 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); } | |
2516 | 2515 |
2517 Type* Typer::Visitor::TypeCheckedStore(Node* node) { | 2516 Type* Typer::Visitor::TypeCheckedStore(Node* node) { |
2518 UNREACHABLE(); | 2517 UNREACHABLE(); |
2519 return nullptr; | 2518 return nullptr; |
2520 } | 2519 } |
2521 | 2520 |
2522 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } | 2521 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } |
2523 | 2522 |
2524 Type* Typer::Visitor::TypeInt32PairSub(Node* node) { return Type::Internal(); } | 2523 Type* Typer::Visitor::TypeInt32PairSub(Node* node) { return Type::Internal(); } |
2525 | 2524 |
(...skipping 20 matching lines...) Expand all Loading... |
2546 } | 2545 } |
2547 if (Type::IsInteger(*value)) { | 2546 if (Type::IsInteger(*value)) { |
2548 return Type::Range(value->Number(), value->Number(), zone()); | 2547 return Type::Range(value->Number(), value->Number(), zone()); |
2549 } | 2548 } |
2550 return Type::Constant(value, zone()); | 2549 return Type::Constant(value, zone()); |
2551 } | 2550 } |
2552 | 2551 |
2553 } // namespace compiler | 2552 } // namespace compiler |
2554 } // namespace internal | 2553 } // namespace internal |
2555 } // namespace v8 | 2554 } // namespace v8 |
OLD | NEW |