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

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: Fix --always-opt triggered bug 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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 // TODO(rossberg): Ideally FrameState wouldn't have a value output. 629 // TODO(rossberg): Ideally FrameState wouldn't have a value output.
630 return Type::Internal(zone()); 630 return Type::Internal(zone());
631 } 631 }
632 632
633 633
634 Type* Typer::Visitor::TypeStateValues(Node* node) { 634 Type* Typer::Visitor::TypeStateValues(Node* node) {
635 return Type::Internal(zone()); 635 return Type::Internal(zone());
636 } 636 }
637 637
638 638
639 Type* Typer::Visitor::TypeObjectState(Node* node) {
640 return Type::Internal(zone());
641 }
642
643
639 Type* Typer::Visitor::TypeTypedStateValues(Node* node) { 644 Type* Typer::Visitor::TypeTypedStateValues(Node* node) {
640 return Type::Internal(zone()); 645 return Type::Internal(zone());
641 } 646 }
642 647
643 648
644 Type* Typer::Visitor::TypeCall(Node* node) { return Type::Any(); } 649 Type* Typer::Visitor::TypeCall(Node* node) { return Type::Any(); }
645 650
646 651
647 Type* Typer::Visitor::TypeProjection(Node* node) { 652 Type* Typer::Visitor::TypeProjection(Node* node) {
648 // TODO(titzer): use the output type of the input to determine the bounds. 653 // TODO(titzer): use the output type of the input to determine the bounds.
(...skipping 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after
2407 } 2412 }
2408 if (Type::IsInteger(*value)) { 2413 if (Type::IsInteger(*value)) {
2409 return Type::Range(value->Number(), value->Number(), zone()); 2414 return Type::Range(value->Number(), value->Number(), zone());
2410 } 2415 }
2411 return Type::Constant(value, zone()); 2416 return Type::Constant(value, zone());
2412 } 2417 }
2413 2418
2414 } // namespace compiler 2419 } // namespace compiler
2415 } // namespace internal 2420 } // namespace internal
2416 } // namespace v8 2421 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698