mirror of https://github.com/nodejs/node.git
deps: patch V8 to 12.4.254.18
Refs: https://github.com/v8/v8/compare/12.4.254.17...12.4.254.18 PR-URL: https://github.com/nodejs/node/pull/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>pull/53084/head
parent
0984d858ba
commit
786cb42956
|
@ -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.)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue