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

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

Issue 2227493002: [turbofan] Add initial support for growing stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comments. Created 4 years, 4 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/simplified-operator.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/compiler/typer.h" 5 #include "src/compiler/typer.h"
6 6
7 #include <iomanip> 7 #include <iomanip>
8 8
9 #include "src/base/flags.h" 9 #include "src/base/flags.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 719
720 Type* Typer::Visitor::TypeLoopExitEffect(Node* node) { 720 Type* Typer::Visitor::TypeLoopExitEffect(Node* node) {
721 UNREACHABLE(); 721 UNREACHABLE();
722 return nullptr; 722 return nullptr;
723 } 723 }
724 724
725 Type* Typer::Visitor::TypeEnsureWritableFastElements(Node* node) { 725 Type* Typer::Visitor::TypeEnsureWritableFastElements(Node* node) {
726 return Operand(node, 1); 726 return Operand(node, 1);
727 } 727 }
728 728
729 Type* Typer::Visitor::TypeMaybeGrowFastElements(Node* node) {
730 return Operand(node, 1);
731 }
732
729 Type* Typer::Visitor::TypeTransitionElementsKind(Node* node) { 733 Type* Typer::Visitor::TypeTransitionElementsKind(Node* node) {
730 UNREACHABLE(); 734 UNREACHABLE();
731 return nullptr; 735 return nullptr;
732 } 736 }
733 737
734 Type* Typer::Visitor::TypeCheckpoint(Node* node) { 738 Type* Typer::Visitor::TypeCheckpoint(Node* node) {
735 UNREACHABLE(); 739 UNREACHABLE();
736 return nullptr; 740 return nullptr;
737 } 741 }
738 742
(...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after
2304 } 2308 }
2305 if (Type::IsInteger(*value)) { 2309 if (Type::IsInteger(*value)) {
2306 return Type::Range(value->Number(), value->Number(), zone()); 2310 return Type::Range(value->Number(), value->Number(), zone());
2307 } 2311 }
2308 return Type::Constant(value, zone()); 2312 return Type::Constant(value, zone());
2309 } 2313 }
2310 2314
2311 } // namespace compiler 2315 } // namespace compiler
2312 } // namespace internal 2316 } // namespace internal
2313 } // namespace v8 2317 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698