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

Issue 1518773003: Turbofan instanceof lowering needs to address proxies. (Closed)

Created:
5 years ago by mvstanton
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com, Toon Verwaest
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Turbofan instanceof lowering needs to address proxies. BUG= Committed: https://crrev.com/3f648d7b443152179eef6f3737c22357ab8e5eb6 Cr-Commit-Position: refs/heads/master@{#32788}

Patch Set 1 #

Patch Set 2 : Effect fix. #

Patch Set 3 : Missing typer rule. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -4 lines) Patch
M src/compiler/js-typed-lowering.cc View 1 3 chunks +28 lines, -4 lines 0 comments Download
M src/compiler/typer.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A test/mjsunit/es6/instanceof-proxies.js View 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
mvstanton
Hi Benedikt, here is the proxy change, thx for the look!
5 years ago (2015-12-10 18:40:30 UTC) #2
Benedikt Meurer
Nice. LGTM.
5 years ago (2015-12-10 19:48:55 UTC) #3
Benedikt Meurer
You'll probably need to introduce a typing rule for %HasInPrototypeChain to make the verifier happy ...
5 years ago (2015-12-11 04:39:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1518773003/30003 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1518773003/30003
5 years ago (2015-12-11 10:04:09 UTC) #7
mvstanton
Right on, done, thx!
5 years ago (2015-12-11 10:40:09 UTC) #8
Toon Verwaest
As far as I understand, this introduces a security issue. If someone does other_window instanceof ...
5 years ago (2015-12-11 10:59:59 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:30003)
5 years ago (2015-12-11 11:02:56 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/3f648d7b443152179eef6f3737c22357ab8e5eb6 Cr-Commit-Position: refs/heads/master@{#32788}
5 years ago (2015-12-11 11:03:15 UTC) #13
Toon Verwaest
5 years ago (2015-12-11 12:04:05 UTC) #14
Message was sent while issue was closed.
Ok, I see you use r.left, basically restarting. That should be safe. The
instanceof stub is broken though :)

Powered by Google App Engine
This is Rietveld 408576698