| 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 2415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2426 | 2426 |
| 2427 | 2427 |
| 2428 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { | 2428 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { |
| 2429 return Type::Internal(); | 2429 return Type::Internal(); |
| 2430 } | 2430 } |
| 2431 | 2431 |
| 2432 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { | 2432 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { |
| 2433 return Type::Internal(); | 2433 return Type::Internal(); |
| 2434 } | 2434 } |
| 2435 | 2435 |
| 2436 Type* Typer::Visitor::TypeUnalignedLoad(Node* node) { return Type::Any(); } |
| 2437 |
| 2438 Type* Typer::Visitor::TypeUnalignedStore(Node* node) { |
| 2439 UNREACHABLE(); |
| 2440 return nullptr; |
| 2441 } |
| 2442 |
| 2436 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } | 2443 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } |
| 2437 | 2444 |
| 2438 | 2445 |
| 2439 Type* Typer::Visitor::TypeCheckedStore(Node* node) { | 2446 Type* Typer::Visitor::TypeCheckedStore(Node* node) { |
| 2440 UNREACHABLE(); | 2447 UNREACHABLE(); |
| 2441 return nullptr; | 2448 return nullptr; |
| 2442 } | 2449 } |
| 2443 | 2450 |
| 2444 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } | 2451 Type* Typer::Visitor::TypeInt32PairAdd(Node* node) { return Type::Internal(); } |
| 2445 | 2452 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 2466 } | 2473 } |
| 2467 if (Type::IsInteger(*value)) { | 2474 if (Type::IsInteger(*value)) { |
| 2468 return Type::Range(value->Number(), value->Number(), zone()); | 2475 return Type::Range(value->Number(), value->Number(), zone()); |
| 2469 } | 2476 } |
| 2470 return Type::Constant(value, zone()); | 2477 return Type::Constant(value, zone()); |
| 2471 } | 2478 } |
| 2472 | 2479 |
| 2473 } // namespace compiler | 2480 } // namespace compiler |
| 2474 } // namespace internal | 2481 } // namespace internal |
| 2475 } // namespace v8 | 2482 } // namespace v8 |
| OLD | NEW |