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 2387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2398 | 2398 |
2399 Type* Typer::Visitor::TypeLoadStackPointer(Node* node) { | 2399 Type* Typer::Visitor::TypeLoadStackPointer(Node* node) { |
2400 return Type::Internal(); | 2400 return Type::Internal(); |
2401 } | 2401 } |
2402 | 2402 |
2403 | 2403 |
2404 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { | 2404 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { |
2405 return Type::Internal(); | 2405 return Type::Internal(); |
2406 } | 2406 } |
2407 | 2407 |
| 2408 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { |
| 2409 return Type::Internal(); |
| 2410 } |
2408 | 2411 |
2409 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } | 2412 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } |
2410 | 2413 |
2411 | 2414 |
2412 Type* Typer::Visitor::TypeCheckedStore(Node* node) { | 2415 Type* Typer::Visitor::TypeCheckedStore(Node* node) { |
2413 UNREACHABLE(); | 2416 UNREACHABLE(); |
2414 return nullptr; | 2417 return nullptr; |
2415 } | 2418 } |
2416 | 2419 |
2417 | 2420 |
(...skipping 12 matching lines...) Expand all Loading... |
2430 } | 2433 } |
2431 if (Type::IsInteger(*value)) { | 2434 if (Type::IsInteger(*value)) { |
2432 return Type::Range(value->Number(), value->Number(), zone()); | 2435 return Type::Range(value->Number(), value->Number(), zone()); |
2433 } | 2436 } |
2434 return Type::Constant(value, zone()); | 2437 return Type::Constant(value, zone()); |
2435 } | 2438 } |
2436 | 2439 |
2437 } // namespace compiler | 2440 } // namespace compiler |
2438 } // namespace internal | 2441 } // namespace internal |
2439 } // namespace v8 | 2442 } // namespace v8 |
OLD | NEW |