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

Issue 1403363004: [turbofan] Lower mapped arguments objects in inline frame. (Closed)

Created:
5 years, 1 month ago by Michael Starzinger
Modified:
5 years, 1 month ago
Reviewers:
Jarin
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

[turbofan] Lower mapped arguments objects in inline frame. This lowers JSCreateArguments nodes within inline (i.e. non-outermost) frames that create "mapped arguments objects" to inline allocations. The arguments count as well as each value is statically known and can be directly stored into the arguments object. Note that the object is still context-dependent and the map is loaded from the current context. The object size is not taken into account for now, we might want to limit it later though to keep code size bounded. R=jarin@chromium.org Committed: https://crrev.com/d1f773026ca326643e24994ca5a6c7fe73b71c40 Cr-Commit-Position: refs/heads/master@{#31619}

Patch Set 1 #

Patch Set 2 : Fix schtupidness. #

Patch Set 3 : Fix context slot indexing. #

Total comments: 3

Patch Set 4 : Addressed comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -11 lines) Patch
M src/compiler/access-builder.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/access-builder.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M src/compiler/js-graph.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/compiler/js-graph.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/js-typed-lowering.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 2 3 5 chunks +125 lines, -10 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Michael Starzinger
5 years, 1 month ago (2015-10-27 14:03:50 UTC) #3
Jarin
lgtm. https://codereview.chromium.org/1403363004/diff/40001/src/compiler/js-typed-lowering.cc File src/compiler/js-typed-lowering.cc (right): https://codereview.chromium.org/1403363004/diff/40001/src/compiler/js-typed-lowering.cc#newcode1965 src/compiler/js-typed-lowering.cc:1965: bool* has_aliased_arguments) { Calling this a 'map' is ...
5 years, 1 month ago (2015-10-27 15:47:24 UTC) #4
Michael Starzinger
https://codereview.chromium.org/1403363004/diff/40001/src/compiler/js-typed-lowering.cc File src/compiler/js-typed-lowering.cc (right): https://codereview.chromium.org/1403363004/diff/40001/src/compiler/js-typed-lowering.cc#newcode1965 src/compiler/js-typed-lowering.cc:1965: bool* has_aliased_arguments) { On 2015/10/27 15:47:24, Jarin wrote: > ...
5 years, 1 month ago (2015-10-27 17:22:03 UTC) #5
Michael Starzinger
https://codereview.chromium.org/1403363004/diff/40001/src/compiler/js-typed-lowering.cc File src/compiler/js-typed-lowering.cc (right): https://codereview.chromium.org/1403363004/diff/40001/src/compiler/js-typed-lowering.cc#newcode1965 src/compiler/js-typed-lowering.cc:1965: bool* has_aliased_arguments) { On 2015/10/27 17:22:03, Michael Starzinger wrote: ...
5 years, 1 month ago (2015-10-28 09:09:57 UTC) #6
Jarin
still lgtm. Thanks!
5 years, 1 month ago (2015-10-28 09:21:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1403363004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1403363004/60001
5 years, 1 month ago (2015-10-28 09:29:30 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-10-28 09:31:29 UTC) #10
commit-bot: I haz the power
5 years, 1 month ago (2015-10-28 09:31:55 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d1f773026ca326643e24994ca5a6c7fe73b71c40
Cr-Commit-Position: refs/heads/master@{#31619}

Powered by Google App Engine
This is Rietveld 408576698