Commit 9a607043 authored by Georg Neis's avatar Georg Neis Committed by V8 LUCI CQ

[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: 's avatarJakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76741}
parent a5f31d05
...@@ -1527,8 +1527,8 @@ base::Optional<PropertyCell> ConcurrentLookupIterator::TryGetPropertyCell( ...@@ -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 =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment