deps: V8: cherry-pick 9a607043cb31
Original commit message:
[compiler] Gracefully handle an unsupported situation
... by skipping the optimization instead of CHECK-failing.
Bug: v8:12188
Change-Id: I6709bf1c55506f3d12886efbfbb9934788cd02ce
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3148132
Auto-Submit: Georg Neis <neis@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76741}
Refs: 9a607043cb
PR-URL: https://github.com/nodejs/node/pull/40046
Fixes: https://github.com/nodejs/node/issues/40030
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
parent
a909f6942b
commit
fc056a301e
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
# Reset this number to 0 on major V8 upgrades.
|
# Reset this number to 0 on major V8 upgrades.
|
||||||
# Increment by one for each non-official patch applied to deps/v8.
|
# Increment by one for each non-official patch applied to deps/v8.
|
||||||
'v8_embedder_string': '-node.10',
|
'v8_embedder_string': '-node.11',
|
||||||
|
|
||||||
##### V8 defaults for Node.js #####
|
##### V8 defaults for Node.js #####
|
||||||
|
|
||||||
|
4
deps/v8/src/objects/lookup.cc
vendored
4
deps/v8/src/objects/lookup.cc
vendored
@ -1527,8 +1527,8 @@ base::Optional<PropertyCell> ConcurrentLookupIterator::TryGetPropertyCell(
|
|||||||
DisallowGarbageCollection no_gc;
|
DisallowGarbageCollection no_gc;
|
||||||
|
|
||||||
Map holder_map = holder->map();
|
Map holder_map = holder->map();
|
||||||
CHECK(!holder_map.is_access_check_needed());
|
if (holder_map.is_access_check_needed()) return {};
|
||||||
CHECK(!holder_map.has_named_interceptor());
|
if (holder_map.has_named_interceptor()) return {};
|
||||||
|
|
||||||
GlobalDictionary dict = holder->global_dictionary(kAcquireLoad);
|
GlobalDictionary dict = holder->global_dictionary(kAcquireLoad);
|
||||||
base::Optional<PropertyCell> cell =
|
base::Optional<PropertyCell> cell =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user