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

Issue 2651133002: [turbofan] Maintain the invariant to never inline cross native context. (Closed)

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

Description

[turbofan] Maintain the invariant to never inline cross native context. In the JSCallReducer we'd inline certain builtins like the Array constructor or Function builtins across native contexts, which at this point should be mostly safe, but might lead to cross context leaks in the future (as it's not obvious that the JSCallReducer) doesn't maintain this invariant. So better safe than sorry. R=yangguo@chromium.org BUG=v8:5267 Review-Url: https://codereview.chromium.org/2651133002 Cr-Commit-Position: refs/heads/master@{#42643} Committed: https://chromium.googlesource.com/v8/v8/+/9a8e269a23a534bd58304ed9cbdfa6930d7b36e8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M src/compiler/js-call-reducer.cc View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (7 generated)
Benedikt Meurer
3 years, 11 months ago (2017-01-25 05:11:26 UTC) #1
Yang
LGTM. Michi and I talked about this recently. He would like to remove being able ...
3 years, 11 months ago (2017-01-25 05:56:17 UTC) #6
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/2651133002/1
3 years, 11 months ago (2017-01-25 05:57:02 UTC) #8
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 05:59:05 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/9a8e269a23a534bd58304ed9cbdfa6930d7...

Powered by Google App Engine
This is Rietveld 408576698