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 #
Messages
Total messages: 17 (11 generated)
|