Skip to content

Commit 59c7657

Browse files
committed
Fix build after bad merge
[email protected] BUG=v8:4909 LOG=n Review URL: https://codereview.chromium.org/1945283002 . Cr-Commit-Position: refs/branch-heads/5.0@{#55} Cr-Branched-From: ad16e6c-refs/heads/5.0.71@{#1} Cr-Branched-From: bd9df50-refs/heads/master@{#34215}
1 parent e2490e5 commit 59c7657

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

include/v8-version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 5
1212
#define V8_MINOR_VERSION 0
1313
#define V8_BUILD_NUMBER 71
14-
#define V8_PATCH_LEVEL 45
14+
#define V8_PATCH_LEVEL 46
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)

src/objects.cc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16501,16 +16501,6 @@ void HeapSortPairs(FixedArray* content, FixedArray* numbers, int len) {
1650116501
}
1650216502
}
1650316503
}
16504-
// Wipe deleted entries.
16505-
Heap* heap = GetHeap();
16506-
Object* the_hole = heap->the_hole_value();
16507-
Object* undefined = heap->undefined_value();
16508-
for (uint32_t current = 0; current < capacity; current++) {
16509-
if (get(EntryToIndex(current)) == the_hole) {
16510-
set(EntryToIndex(current), undefined);
16511-
}
16512-
}
16513-
SetNumberOfDeletedElements(0);
1651416504
}
1651516505

1651616506

@@ -17359,6 +17349,16 @@ void HashTable<Derived, Shape, Key>::Rehash(Key key) {
1735917349
}
1736017350
}
1736117351
}
17352+
// Wipe deleted entries.
17353+
Heap* heap = GetHeap();
17354+
Object* the_hole = heap->the_hole_value();
17355+
Object* undefined = heap->undefined_value();
17356+
for (uint32_t current = 0; current < capacity; current++) {
17357+
if (get(EntryToIndex(current)) == the_hole) {
17358+
set(EntryToIndex(current), undefined);
17359+
}
17360+
}
17361+
SetNumberOfDeletedElements(0);
1736217362
}
1736317363

1736417364

0 commit comments

Comments
 (0)