Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 22ef8518249f825d5abf93fc5518c535b61af302..ec8cbe2d4e83876b32b99bc1f704a46c1fdfd359 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -3513,6 +3513,11 @@ Node* AstGraphBuilder::BuildKeyedStore(Node* object, Node* key, Node* value, |
const ResolvedFeedbackSlot& feedback, |
TypeFeedbackId id) { |
const Operator* op = javascript()->StoreProperty(language_mode(), feedback); |
+ if (FLAG_vector_stores) { |
+ Node* node = NewNode(op, object, key, value, GetFeedbackVector()); |
+ return Record(js_type_feedback_, node, feedback.slot()); |
+ } |
+ |
return Record(js_type_feedback_, NewNode(op, object, key, value), id); |
} |
@@ -3523,6 +3528,11 @@ Node* AstGraphBuilder::BuildNamedStore(Node* object, Handle<Name> name, |
TypeFeedbackId id) { |
const Operator* op = |
javascript()->StoreNamed(language_mode(), MakeUnique(name), feedback); |
+ if (FLAG_vector_stores) { |
+ Node* node = NewNode(op, object, value, GetFeedbackVector()); |
+ return Record(js_type_feedback_, node, feedback.slot()); |
+ } |
+ |
return Record(js_type_feedback_, NewNode(op, object, value), id); |
} |