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

Unified Diff: src/builtins/builtins-array.cc

Issue 2522393002: Revert of [stubs] KeyedStoreGeneric: inline dictionary property stores (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | src/builtins/builtins-regexp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-array.cc
diff --git a/src/builtins/builtins-array.cc b/src/builtins/builtins-array.cc
index a6388e60035256f1f5297b0d8f722ff81f3be1d2..19cab23bbfbc7c0a8750c1bda28e46774039465c 100644
--- a/src/builtins/builtins-array.cc
+++ b/src/builtins/builtins-array.cc
@@ -2566,9 +2566,10 @@
Node* elements =
assembler.AllocateFixedArray(FAST_ELEMENTS, assembler.Int32Constant(2));
- assembler.StoreFixedArrayElement(elements, 0, index, SKIP_WRITE_BARRIER);
- assembler.StoreFixedArrayElement(elements, 1, var_value.value(),
- SKIP_WRITE_BARRIER);
+ assembler.StoreFixedArrayElement(elements, assembler.Int32Constant(0),
+ index, SKIP_WRITE_BARRIER);
+ assembler.StoreFixedArrayElement(elements, assembler.Int32Constant(1),
+ var_value.value(), SKIP_WRITE_BARRIER);
Node* entry = assembler.Allocate(JSArray::kSize);
Node* map =
« no previous file with comments | « no previous file | src/builtins/builtins-regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698