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

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

Issue 1015423002: [turbofan] Remember types for deoptimization during simplified lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address review comments Created 5 years, 9 months 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
« no previous file with comments | « src/compiler/state-values-utils.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/base/flags.h" 5 #include "src/base/flags.h"
6 #include "src/bootstrapper.h" 6 #include "src/bootstrapper.h"
7 #include "src/compiler/graph-reducer.h" 7 #include "src/compiler/graph-reducer.h"
8 #include "src/compiler/js-operator.h" 8 #include "src/compiler/js-operator.h"
9 #include "src/compiler/node.h" 9 #include "src/compiler/node.h"
10 #include "src/compiler/node-properties.h" 10 #include "src/compiler/node-properties.h"
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 // TODO(rossberg): Ideally FrameState wouldn't have a value output. 725 // TODO(rossberg): Ideally FrameState wouldn't have a value output.
726 return Bounds(Type::None(zone()), Type::Internal(zone())); 726 return Bounds(Type::None(zone()), Type::Internal(zone()));
727 } 727 }
728 728
729 729
730 Bounds Typer::Visitor::TypeStateValues(Node* node) { 730 Bounds Typer::Visitor::TypeStateValues(Node* node) {
731 return Bounds(Type::None(zone()), Type::Internal(zone())); 731 return Bounds(Type::None(zone()), Type::Internal(zone()));
732 } 732 }
733 733
734 734
735 Bounds Typer::Visitor::TypeTypedStateValues(Node* node) {
736 return Bounds(Type::None(zone()), Type::Internal(zone()));
737 }
738
739
735 Bounds Typer::Visitor::TypeCall(Node* node) { 740 Bounds Typer::Visitor::TypeCall(Node* node) {
736 return Bounds::Unbounded(zone()); 741 return Bounds::Unbounded(zone());
737 } 742 }
738 743
739 744
740 Bounds Typer::Visitor::TypeProjection(Node* node) { 745 Bounds Typer::Visitor::TypeProjection(Node* node) {
741 // TODO(titzer): use the output type of the input to determine the bounds. 746 // TODO(titzer): use the output type of the input to determine the bounds.
742 return Bounds::Unbounded(zone()); 747 return Bounds::Unbounded(zone());
743 } 748 }
744 749
(...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after
2223 TYPED_ARRAYS(TYPED_ARRAY_CASE) 2228 TYPED_ARRAYS(TYPED_ARRAY_CASE)
2224 #undef TYPED_ARRAY_CASE 2229 #undef TYPED_ARRAY_CASE
2225 } 2230 }
2226 } 2231 }
2227 return Type::Constant(value, zone()); 2232 return Type::Constant(value, zone());
2228 } 2233 }
2229 2234
2230 } // namespace compiler 2235 } // namespace compiler
2231 } // namespace internal 2236 } // namespace internal
2232 } // namespace v8 2237 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/state-values-utils.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698