Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Issue 2739303003: [turbofan] Fix ReduceNamedAccess for detached global proxies (Closed)

Created:
3 years, 9 months ago by Jakob Kummerow
Modified:
3 years, 9 months ago
Reviewers:
Benedikt Meurer
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M src/compiler/js-native-context-specialization.cc View 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
Jakob Kummerow
PTAL. I have no repro (and no proof that this fixes the bug), but from ...
3 years, 9 months ago (2017-03-10 14:48:50 UTC) #2
Benedikt Meurer
Ah, good catch. That looks promising! LGTM
3 years, 9 months ago (2017-03-10 18:02:51 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2739303003/1
3 years, 9 months ago (2017-03-10 18:12:27 UTC) #5
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 18:33:43 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/e61add91c1bccc02b101f21267ce9728d66...

Powered by Google App Engine
This is Rietveld 408576698