Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V8 backport of f320600
Browse files Browse the repository at this point in the history
giancorderoortiz committed Aug 27, 2024
1 parent 67b548b commit 4658be2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deps/v8/src/objects/js-objects.cc
Original file line number Diff line number Diff line change
@@ -445,9 +445,7 @@ Maybe<bool> JSReceiver::SetOrCopyDataProperties(
Nothing<bool>());

if (!from->HasFastProperties() && target->HasFastProperties() &&
!target->IsJSGlobalProxy()) {
// JSProxy is always in slow-mode.
DCHECK(!target->IsJSProxy());
IsJSObject(*target) && !IsJSGlobalProxy(*target)) {
// Convert to slow properties if we're guaranteed to overflow the number of
// descriptors.
int source_length;

0 comments on commit 4658be2

Please sign in to comment.