mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
deps: patch V8 to 12.4.254.19
Refs: https://github.com/v8/v8/compare/12.4.254.18...12.4.254.19 PR-URL: https://github.com/nodejs/node/pull/53094 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
committed by
GitHub
parent
c7a63b0740
commit
8382da1bc1
2
deps/v8/include/v8-version.h
vendored
2
deps/v8/include/v8-version.h
vendored
@@ -11,7 +11,7 @@
|
||||
#define V8_MAJOR_VERSION 12
|
||||
#define V8_MINOR_VERSION 4
|
||||
#define V8_BUILD_NUMBER 254
|
||||
#define V8_PATCH_LEVEL 18
|
||||
#define V8_PATCH_LEVEL 19
|
||||
|
||||
// Use 1 for candidates and 0 otherwise.
|
||||
// (Boolean macro values are not supported by all preprocessors.)
|
||||
|
||||
13
deps/v8/src/ic/ic.cc
vendored
13
deps/v8/src/ic/ic.cc
vendored
@@ -2377,15 +2377,16 @@ Handle<Object> KeyedStoreIC::StoreElementHandler(
|
||||
isolate()),
|
||||
IsStoreInArrayLiteralIC());
|
||||
|
||||
if (IsJSProxyMap(*receiver_map)) {
|
||||
if (!IsJSObjectMap(*receiver_map)) {
|
||||
// DefineKeyedOwnIC, which is used to define computed fields in instances,
|
||||
// should be handled by the slow stub.
|
||||
if (IsDefineKeyedOwnIC()) {
|
||||
TRACE_HANDLER_STATS(isolate(), KeyedStoreIC_SlowStub);
|
||||
return StoreHandler::StoreSlow(isolate(), store_mode);
|
||||
// should handled by the slow stub below instead of the proxy stub.
|
||||
if (IsJSProxyMap(*receiver_map) && !IsDefineKeyedOwnIC()) {
|
||||
return StoreHandler::StoreProxy(isolate());
|
||||
}
|
||||
|
||||
return StoreHandler::StoreProxy(isolate());
|
||||
// Wasm objects or other kind of special objects go through the slow stub.
|
||||
TRACE_HANDLER_STATS(isolate(), KeyedStoreIC_SlowStub);
|
||||
return StoreHandler::StoreSlow(isolate(), store_mode);
|
||||
}
|
||||
|
||||
// TODO(ishell): move to StoreHandler::StoreElement().
|
||||
|
||||
Reference in New Issue
Block a user