[builtins] Speculatively defer a label for exception case

... in BaseCollectionsAssembler::AddConstructorEntries().

Bug: chromium:1370968, chromium:1357318
Change-Id: I974a3cfface030f9cb0a0057bb190c03a7f6c162
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3929028
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Auto-Submit: Igor Sheludko <ishell@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83726}
This commit is contained in:
Igor Sheludko 2022-10-04 18:37:51 +02:00 committed by V8 LUCI CQ
parent 333db24b55
commit c25c8ba1d4

View File

@ -68,7 +68,7 @@ void BaseCollectionsAssembler::AddConstructorEntries(
}
BIND(&fast_loop);
{
Label if_exception_during_fast_iteration(this);
Label if_exception_during_fast_iteration(this, Label::kDeferred);
TNode<JSArray> initial_entries_jsarray =
UncheckedCast<JSArray>(initial_entries);
#if DEBUG