Commit 05f0aed1 authored by Omer Katz's avatar Omer Katz Committed by V8 LUCI CQ

Missing call to PatchValue

Change-Id: Id592b919b307637a0dab1ce1a7d9ec931836650c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3295458
Commit-Queue: Omer Katz <omerkatz@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Omer Katz <omerkatz@chromium.org>
Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78022}
parent 0580829f
......@@ -2190,7 +2190,7 @@ class FastElementsAccessor : public ElementsAccessorBase<Subclass, KindTraits> {
dst_elms = BackingStore::cast(
isolate->heap()->LeftTrimFixedArray(dst_elms, src_index));
// Update all the copies of this backing_store handle.
*backing_store.location() = dst_elms.ptr();
backing_store.PatchValue(dst_elms);
receiver->set_elements(dst_elms);
// Adjust the hole offset as the array has been shrunk.
hole_end -= src_index;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment