Fix for-loop update in SmallOrderedHashTable::Initialize

Bug: v8:6996,v8:6443
Change-Id: If968750687a8a7c0d1d4c1991c64236ebed55a5b
Reviewed-on: https://chromium-review.googlesource.com/737490
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48914}
This commit is contained in:
Loo Rong Jie 2017-10-25 12:49:13 +08:00 committed by Commit Bot
parent df70869fea
commit 075097e20b

View File

@ -18260,7 +18260,7 @@ void SmallOrderedHashTable<Derived>::Initialize(Isolate* isolate,
capacity * Derived::kEntrySize);
} else {
for (int i = 0; i < capacity; i++) {
for (int j = 0; j < Derived::kEntrySize; i++) {
for (int j = 0; j < Derived::kEntrySize; j++) {
SetDataEntry(i, j, isolate->heap()->the_hole_value());
}
}