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

Issue 2286353003: X87: [turbofan] Remove special JSForInStep and JSForInDone. (Closed)

Created:
4 years, 3 months ago by zhengxing.li
Modified:
4 years, 3 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

X87: [turbofan] Remove special JSForInStep and JSForInDone. port 1915762cc8caea42727daebfe738bfcdca8ac859 (r38968) original commit message: These JavaScript operators were special hacks to ensure that we always operate on Smis for the magic for-in index variable, but this never really worked in the OSR case, because the OsrValue for the index variable didn't have the proper information (that we have for the JSForInPrepare in the non-OSR case). Now that we have loop induction variable analysis and binary operation hints, we can just use JSLessThan and JSAdd instead with appropriate Smi hints, which handle the OSR case by inserting Smi checks (that are always true). Thanks to OSR deconstruction and loop peeling these Smi checks will be hoisted so they don't hurt the OSR case too much. Drive-by-change: Rename the ForInDone bytecode to ForInContinue, since we have to lower it to JSLessThan to get the loop induction variable goodness. BUG= Committed: https://crrev.com/5572cea1d1a02f2b23a805a2baf00c5c1d36441d Cr-Commit-Position: refs/heads/master@{#38992}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M src/full-codegen/x87/full-codegen-x87.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
zhengxing.li
PTAL, thanks!
4 years, 3 months ago (2016-08-30 03:41:38 UTC) #2
Weiliang
lgtm
4 years, 3 months ago (2016-08-30 06:06:19 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/2286353003/1
4 years, 3 months ago (2016-08-30 06:07:50 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-30 06:29:10 UTC) #6
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 06:29:25 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5572cea1d1a02f2b23a805a2baf00c5c1d36441d
Cr-Commit-Position: refs/heads/master@{#38992}

Powered by Google App Engine
This is Rietveld 408576698