Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Side by Side Diff: src/compiler/typer.cc

Issue 1485183002: [turbofan] Deopt support for escape analysis (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@ea-local
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 // TODO(rossberg): Ideally FrameState wouldn't have a value output. 630 // TODO(rossberg): Ideally FrameState wouldn't have a value output.
631 return Type::Internal(zone()); 631 return Type::Internal(zone());
632 } 632 }
633 633
634 634
635 Type* Typer::Visitor::TypeStateValues(Node* node) { 635 Type* Typer::Visitor::TypeStateValues(Node* node) {
636 return Type::Internal(zone()); 636 return Type::Internal(zone());
637 } 637 }
638 638
639 639
640 Type* Typer::Visitor::TypeObjectState(Node* node) {
641 return Type::Internal(zone());
642 }
643
644
640 Type* Typer::Visitor::TypeTypedStateValues(Node* node) { 645 Type* Typer::Visitor::TypeTypedStateValues(Node* node) {
641 return Type::Internal(zone()); 646 return Type::Internal(zone());
642 } 647 }
643 648
644 649
645 Type* Typer::Visitor::TypeCall(Node* node) { return Type::Any(); } 650 Type* Typer::Visitor::TypeCall(Node* node) { return Type::Any(); }
646 651
647 652
648 Type* Typer::Visitor::TypeProjection(Node* node) { 653 Type* Typer::Visitor::TypeProjection(Node* node) {
649 // TODO(titzer): use the output type of the input to determine the bounds. 654 // TODO(titzer): use the output type of the input to determine the bounds.
(...skipping 1733 matching lines...) Expand 10 before | Expand all | Expand 10 after
2383 } 2388 }
2384 if (Type::IsInteger(*value)) { 2389 if (Type::IsInteger(*value)) {
2385 return Type::Range(value->Number(), value->Number(), zone()); 2390 return Type::Range(value->Number(), value->Number(), zone());
2386 } 2391 }
2387 return Type::Constant(value, zone()); 2392 return Type::Constant(value, zone());
2388 } 2393 }
2389 2394
2390 } // namespace compiler 2395 } // namespace compiler
2391 } // namespace internal 2396 } // namespace internal
2392 } // namespace v8 2397 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698