Skip to content

Commit

Permalink
Revert backport f320600cd1f4
Browse files Browse the repository at this point in the history
  • Loading branch information
giancorderoortiz committed Sep 6, 2024
1 parent eff80ef commit d6d914b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deps/v8/src/objects/js-objects.cc
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,9 @@ Maybe<bool> JSReceiver::SetOrCopyDataProperties(
Nothing<bool>());

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

0 comments on commit d6d914b

Please sign in to comment.