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

Issue 2638323002: [keys] Make for-in great again. (Closed)

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

Description

[keys] Make for-in great again. This CL fixes the check for empty elements in keys.cc. Previously we would accidentally bail out of the fast path because the check would always fail. As a consequence for-in loops that would initialize the enum-cache of an object with own-only fast properties would never be optimized properly. Review-Url: https://codereview.chromium.org/2638323002 Cr-Commit-Position: refs/heads/master@{#42454} Committed: https://chromium.googlesource.com/v8/v8/+/6c7d51c296c9a9e90e817b85d49100d08c03d94f

Patch Set 1 #

Patch Set 2 : fix enum-cache leaking #

Patch Set 3 : readding test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -24 lines) Patch
M src/keys.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M src/keys.cc View 1 6 chunks +27 lines, -23 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
Camillo Bruni
PTAL
3 years, 11 months ago (2017-01-18 09:50:01 UTC) #2
Benedikt Meurer
LGTM % subject.
3 years, 11 months ago (2017-01-18 09:51:31 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/2638323002/1
3 years, 11 months ago (2017-01-18 09:52:07 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_nosnap_shared_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng/builds/15704) v8_win_nosnap_shared_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 11 months ago (2017-01-18 10:07:06 UTC) #7
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/2638323002/40001
3 years, 11 months ago (2017-01-18 12:05:03 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 12:32:31 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/6c7d51c296c9a9e90e817b85d49100d08c0...

Powered by Google App Engine
This is Rietveld 408576698