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/base/lazy-instance.h" | 8 #include "src/base/lazy-instance.h" |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 Bounds Typer::Visitor::TypeTypedStateValues(Node* node) { | 602 Bounds Typer::Visitor::TypeTypedStateValues(Node* node) { |
603 return Bounds(Type::None(zone()), Type::Internal(zone())); | 603 return Bounds(Type::None(zone()), Type::Internal(zone())); |
604 } | 604 } |
605 | 605 |
606 | 606 |
607 Bounds Typer::Visitor::TypeCall(Node* node) { | 607 Bounds Typer::Visitor::TypeCall(Node* node) { |
608 return Bounds::Unbounded(); | 608 return Bounds::Unbounded(); |
609 } | 609 } |
610 | 610 |
611 | 611 |
| 612 Bounds Typer::Visitor::TypeCallVarArgs(Node* node) { |
| 613 return Bounds::Unbounded(); |
| 614 } |
| 615 |
| 616 |
612 Bounds Typer::Visitor::TypeProjection(Node* node) { | 617 Bounds Typer::Visitor::TypeProjection(Node* node) { |
613 // TODO(titzer): use the output type of the input to determine the bounds. | 618 // TODO(titzer): use the output type of the input to determine the bounds. |
614 return Bounds::Unbounded(); | 619 return Bounds::Unbounded(); |
615 } | 620 } |
616 | 621 |
617 | 622 |
618 Bounds Typer::Visitor::TypeDead(Node* node) { | 623 Bounds Typer::Visitor::TypeDead(Node* node) { |
619 return Bounds::Unbounded(); | 624 return Bounds::Unbounded(); |
620 } | 625 } |
621 | 626 |
(...skipping 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2287 TYPED_ARRAYS(TYPED_ARRAY_CASE) | 2292 TYPED_ARRAYS(TYPED_ARRAY_CASE) |
2288 #undef TYPED_ARRAY_CASE | 2293 #undef TYPED_ARRAY_CASE |
2289 } | 2294 } |
2290 } | 2295 } |
2291 return Type::Constant(value, zone()); | 2296 return Type::Constant(value, zone()); |
2292 } | 2297 } |
2293 | 2298 |
2294 } // namespace compiler | 2299 } // namespace compiler |
2295 } // namespace internal | 2300 } // namespace internal |
2296 } // namespace v8 | 2301 } // namespace v8 |
OLD | NEW |