Skip to content

Commit

Permalink
deps: patch V8 to 12.4.254.18
Browse files Browse the repository at this point in the history
Refs: v8/v8@12.4.254.17...12.4.254.18
PR-URL: #53054
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
  • Loading branch information
nodejs-github-bot authored and targos committed May 21, 2024
1 parent 626037c commit 7b929df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/v8/include/v8-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define V8_MAJOR_VERSION 12
#define V8_MINOR_VERSION 4
#define V8_BUILD_NUMBER 254
#define V8_PATCH_LEVEL 17
#define V8_PATCH_LEVEL 18

// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
Expand Down
2 changes: 1 addition & 1 deletion deps/v8/src/builtins/builtins-array.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ inline bool HasOnlySimpleElements(Isolate* isolate,
DisallowGarbageCollection no_gc;
PrototypeIterator iter(isolate, receiver, kStartAtReceiver);
for (; !iter.IsAtEnd(); iter.Advance()) {
if (IsJSProxy(iter.GetCurrent())) return false;
if (!IsJSObject(iter.GetCurrent())) return false;
Tagged<JSObject> current = iter.GetCurrent<JSObject>();
if (!HasSimpleElements(current)) return false;
}
Expand Down

0 comments on commit 7b929df

Please sign in to comment.