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