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

Unified Diff: src/compiler/graph-assembler.cc

Issue 2797993006: [turbofan] Add type to the allocation operator. (Closed)
Patch Set: Remove caching Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/graph-assembler.cc
diff --git a/src/compiler/graph-assembler.cc b/src/compiler/graph-assembler.cc
index c2141e5b9f579b809cbe62051f6f5817a18445f1..12746c2b13061bcbcf5705e26f9d0c4459dd6774 100644
--- a/src/compiler/graph-assembler.cc
+++ b/src/compiler/graph-assembler.cc
@@ -99,8 +99,8 @@ Node* GraphAssembler::Projection(int index, Node* value) {
Node* GraphAssembler::Allocate(PretenureFlag pretenure, Node* size) {
return current_effect_ =
- graph()->NewNode(simplified()->Allocate(NOT_TENURED), size,
- current_effect_, current_control_);
+ graph()->NewNode(simplified()->Allocate(Type::Any(), NOT_TENURED),
+ size, current_effect_, current_control_);
}
Node* GraphAssembler::LoadField(FieldAccess const& access, Node* object) {
« no previous file with comments | « no previous file | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698