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

Unified Diff: src/interpreter/interpreter-assembler.cc

Issue 2504403005: [stubs] KeyedStoreGeneric: inline dictionary property stores (Closed)
Patch Set: ready for review Created 4 years, 1 month 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
Index: src/interpreter/interpreter-assembler.cc
diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc
index 41e6bb81baa60e90fc20dc7fbbcb5da31b177f59..baaf9ca96243b5f76cb16d9cf02d523e9de3cc61 100644
--- a/src/interpreter/interpreter-assembler.cc
+++ b/src/interpreter/interpreter-assembler.cc
@@ -520,7 +520,7 @@ Node* InterpreterAssembler::IncrementCallCount(Node* type_feedback_vector,
Node* new_count = SmiAdd(call_count, SmiTag(Int32Constant(1)));
// Count is Smi, so we don't need a write barrier.
return StoreFixedArrayElement(type_feedback_vector, call_count_slot,
- new_count, SKIP_WRITE_BARRIER);
+ new_count, 0, SKIP_WRITE_BARRIER);
}
Node* InterpreterAssembler::CallJSWithFeedback(Node* function, Node* context,
@@ -670,7 +670,7 @@ Node* InterpreterAssembler::CallJSWithFeedback(Node* function, Node* context,
DCHECK(Heap::RootIsImmortalImmovable(Heap::kmegamorphic_symbolRootIndex));
StoreFixedArrayElement(
type_feedback_vector, slot_id,
- HeapConstant(TypeFeedbackVector::MegamorphicSentinel(isolate())),
+ HeapConstant(TypeFeedbackVector::MegamorphicSentinel(isolate())), 0,
SKIP_WRITE_BARRIER);
Goto(&call);
}
@@ -837,7 +837,7 @@ Node* InterpreterAssembler::CallConstruct(Node* constructor, Node* context,
DCHECK(Heap::RootIsImmortalImmovable(Heap::kmegamorphic_symbolRootIndex));
StoreFixedArrayElement(
type_feedback_vector, slot_id,
- HeapConstant(TypeFeedbackVector::MegamorphicSentinel(isolate())),
+ HeapConstant(TypeFeedbackVector::MegamorphicSentinel(isolate())), 0,
SKIP_WRITE_BARRIER);
Goto(&call_construct_function);
}

Powered by Google App Engine
This is Rietveld 408576698