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

Issue 1075933003: Add basic crankshaft support for slow-mode for-in to avoid disabling optimizations (Closed)

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

Description

Add basic crankshaft support for slow-mode for-in to avoid disabling optimizations BUG= Committed: https://crrev.com/8c98cc074ef8278ce1c4dcd4790e8aaf6fbeedc6 Cr-Commit-Position: refs/heads/master@{#27748}

Patch Set 1 #

Patch Set 2 : Fix osr / simulates #

Patch Set 3 : For now check that it's a JSObject rather than TO_OBJECT to avoid overhead #

Patch Set 4 : Add tests #

Total comments: 1

Patch Set 5 : Added comment #

Patch Set 6 : Disable for-in-opt for turbofan #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -26 lines) Patch
M src/hydrogen.cc View 1 2 3 4 4 chunks +55 lines, -26 lines 0 comments Download
A test/mjsunit/for-in-opt.js View 1 2 3 1 chunk +75 lines, -0 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
Toon Verwaest
PTAL
5 years, 8 months ago (2015-04-10 09:59:10 UTC) #2
mvstanton
LGTM, one nit. Very nice :). https://codereview.chromium.org/1075933003/diff/60001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/1075933003/diff/60001/src/hydrogen.cc#newcode5109 src/hydrogen.cc:5109: enumerable = environment()->ExpressionStackAt(4); ...
5 years, 8 months ago (2015-04-10 11:40:07 UTC) #3
Toon Verwaest
Added comment.
5 years, 8 months ago (2015-04-10 11:47:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1075933003/80001
5 years, 8 months ago (2015-04-10 11:48:13 UTC) #7
Toon Verwaest
Disabled new test on turbo-fan since deopt points are missing.
5 years, 8 months ago (2015-04-10 12:07:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1075933003/100001
5 years, 8 months ago (2015-04-10 12:08:21 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-10 13:15:37 UTC) #13
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/8c98cc074ef8278ce1c4dcd4790e8aaf6fbeedc6 Cr-Commit-Position: refs/heads/master@{#27748}
5 years, 8 months ago (2015-04-10 13:15:50 UTC) #14
adamk
This caused failures in a dromaeo benchmark (not perf failures, actual logic changes); see http://crbug.com/476592. ...
5 years, 8 months ago (2015-04-15 21:03:38 UTC) #16
Michael Starzinger
5 years, 8 months ago (2015-04-15 21:13:33 UTC) #17
Message was sent while issue was closed.
In the unlikely case that this is not being relanded, please let me know,
because I would like to at least reland the test-case as it was covering a
bailout point in TurboFan as well.

Powered by Google App Engine
This is Rietveld 408576698