Skip to content

Commit

Permalink
Fix pointer deference
Browse files Browse the repository at this point in the history
  • Loading branch information
giancorderoortiz committed Sep 6, 2024
1 parent 4658be2 commit c34a757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/v8/src/objects/js-objects.cc
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ Maybe<bool> JSReceiver::SetOrCopyDataProperties(
Nothing<bool>());

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

0 comments on commit c34a757

Please sign in to comment.