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(); } |
2515 | 2516 |
2516 Type* Typer::Visitor::TypeCheckedStore(Node* node) { | 2517 Type* Typer::Visitor::TypeCheckedStore(Node* node) { |
2517 UNREACHABLE(); | 2518 UNREACHABLE(); |
2518 return nullptr; | 2519 return nullptr; |
2519 } | 2520 } |
2520 | 2521 |
2521 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } | 2522 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } |
2522 | 2523 |
2523 Type* Typer::Visitor::TypeInt32PairSub(Node* node) { return Type::Internal(); } | 2524 Type* Typer::Visitor::TypeInt32PairSub(Node* node) { return Type::Internal(); } |
2524 | 2525 |
(...skipping 20 matching lines...) Expand all Loading... |
2545 } | 2546 } |
2546 if (Type::IsInteger(*value)) { | 2547 if (Type::IsInteger(*value)) { |
2547 return Type::Range(value->Number(), value->Number(), zone()); | 2548 return Type::Range(value->Number(), value->Number(), zone()); |
2548 } | 2549 } |
2549 return Type::Constant(value, zone()); | 2550 return Type::Constant(value, zone()); |
2550 } | 2551 } |
2551 | 2552 |
2552 } // namespace compiler | 2553 } // namespace compiler |
2553 } // namespace internal | 2554 } // namespace internal |
2554 } // namespace v8 | 2555 } // namespace v8 |
OLD | NEW |