Description[turbofan] Fix ReduceNamedAccess for detached global proxies
There is no guarantee that Map::GetConstructor() returns a JSFunction.
Specifically, detached global proxies return the |null| sentinel. So
we have to check the object type before casting to JSFunction.
BUG=chromium:694141
Review-Url: https://codereview.chromium.org/2739303003
Cr-Commit-Position: refs/heads/master@{#43727}
Committed: https://chromium.googlesource.com/v8/v8/+/e61add91c1bccc02b101f21267ce9728d662d250
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|