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

Issue 1631583002: [for-in] Further refactorings and unification around for-in. (Closed)

Created:
4 years, 11 months ago by Benedikt Meurer
Modified:
4 years, 11 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[for-in] Further refactorings and unification around for-in. Cleanup %ForInPrepare runtime entry, and unify common logic with %ForInEnumerate (renamed from %GetPropertyNamesFast). Also introduce a TupleType to properly type JSForInPrepare and its projections w/o special hacks in the Typer. And fix %ForInNext and JSForInNext to be consistent with fullcodegen again (after the proxy refactorings last quarter). R=jarin@chromium.org BUG=v8:3650 LOG=n Committed: https://crrev.com/88f9995d5c65618cbbf82ae20caf4913eaba0eaa Cr-Commit-Position: refs/heads/master@{#33487}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -126 lines) Patch
M src/compiler/js-typed-lowering.cc View 1 chunk +6 lines, -32 lines 0 comments Download
M src/compiler/typer.cc View 2 chunks +12 lines, -7 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/hydrogen.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/x87/lithium-codegen-x87.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime.h View 2 chunks +1 line, -1 line 0 comments Download
M src/runtime/runtime-forin.cc View 4 chunks +64 lines, -41 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 chunk +0 lines, -26 lines 0 comments Download
M src/types.h View 7 chunks +37 lines, -0 lines 0 comments Download
M src/types.cc View 4 chunks +28 lines, -0 lines 2 comments Download
M test/mjsunit/for-in-opt.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/harmony/reflect-enumerate-opt.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Benedikt Meurer
4 years, 11 months ago (2016-01-25 09:50:23 UTC) #1
Benedikt Meurer
Hey Jaro, Here's the first fixit sprint for for-in. Please take a look. Thanks, Benedikt
4 years, 11 months ago (2016-01-25 09:51:22 UTC) #2
Jarin
lgtm. Nice! https://codereview.chromium.org/1631583002/diff/1/src/types.cc File src/types.cc (right): https://codereview.chromium.org/1631583002/diff/1/src/types.cc#newcode507 src/types.cc:507: if (this->IsTuple()) { There should be a ...
4 years, 11 months ago (2016-01-25 10:00:26 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/1631583002/diff/1/src/types.cc File src/types.cc (right): https://codereview.chromium.org/1631583002/diff/1/src/types.cc#newcode507 src/types.cc:507: if (this->IsTuple()) { As discussed offline, not saying anything ...
4 years, 11 months ago (2016-01-25 10:05:05 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631583002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631583002/1
4 years, 11 months ago (2016-01-25 10:05:21 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-25 10:29:35 UTC) #7
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 10:30:25 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/88f9995d5c65618cbbf82ae20caf4913eaba0eaa
Cr-Commit-Position: refs/heads/master@{#33487}

Powered by Google App Engine
This is Rietveld 408576698