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

Issue 1742253002: [crankshaft] Inline hasOwnProperty when used in fast-case for-in (Closed)

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

Description

[crankshaft] Inline hasOwnProperty when used in fast-case for-in e.g., for (var k in o) { if (!o.hasOwnProperty(k)) continue; ... } without enumerable properties on the prototype chain of o. BUG= Committed: https://crrev.com/dec80752eb344dfeb85588e61ac0afd22b11aadb Cr-Commit-Position: refs/heads/master@{#34379} Committed: https://crrev.com/8016a2d53f7d4ea3e35b3a43c7097412e6b38c6a Cr-Commit-Position: refs/heads/master@{#34405}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Rebase #

Patch Set 3 : Fix: disable if OSR. Otherwise elements of for-in can have more elements in the phi (the OSR entry … #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -34 lines) Patch
M src/crankshaft/hydrogen.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M src/objects.h View 1 chunk +35 lines, -34 lines 0 comments Download

Messages

Total messages: 31 (16 generated)
Toon Verwaest
ptal
4 years, 9 months ago (2016-02-29 15:35:47 UTC) #5
Benedikt Meurer
(shivering) LGTM https://codereview.chromium.org/1742253002/diff/40001/src/crankshaft/hydrogen.cc File src/crankshaft/hydrogen.cc (right): https://codereview.chromium.org/1742253002/diff/40001/src/crankshaft/hydrogen.cc#newcode8765 src/crankshaft/hydrogen.cc:8765: if (cache->enumerable() != receiver->OperandAt(0)) return false; This ...
4 years, 9 months ago (2016-03-01 05:00:11 UTC) #7
Toon Verwaest
We can always revert if it does ...
4 years, 9 months ago (2016-03-01 06:58:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742253002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742253002/40001
4 years, 9 months ago (2016-03-01 06:59:05 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:40001)
4 years, 9 months ago (2016-03-01 07:20:28 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/dec80752eb344dfeb85588e61ac0afd22b11aadb Cr-Commit-Position: refs/heads/master@{#34379}
4 years, 9 months ago (2016-03-01 07:21:11 UTC) #14
Toon Verwaest
A revert of this CL (patchset #1 id:40001) has been created in https://codereview.chromium.org/1748143004/ by verwaest@chromium.org. ...
4 years, 9 months ago (2016-03-01 09:00:33 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742253002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742253002/80001
4 years, 9 months ago (2016-03-01 12:45:18 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/16276)
4 years, 9 months ago (2016-03-01 13:05:23 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742253002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742253002/80001
4 years, 9 months ago (2016-03-01 16:00:15 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-01 16:19:08 UTC) #24
Benedikt Meurer
Still LGTM.
4 years, 9 months ago (2016-03-01 17:42:32 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742253002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742253002/80001
4 years, 9 months ago (2016-03-01 18:14:39 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 9 months ago (2016-03-01 18:16:38 UTC) #29
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 18:18:09 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8016a2d53f7d4ea3e35b3a43c7097412e6b38c6a
Cr-Commit-Position: refs/heads/master@{#34405}

Powered by Google App Engine
This is Rietveld 408576698