Chromium Code Reviews

Issue 1380113002: [turbofan] Call FastNewContextStub for function context. (Closed)

Created:
5 years, 2 months ago by Michael Starzinger
Modified:
5 years, 2 months ago
Reviewers:
Benedikt Meurer, mvstanton
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] Call FastNewContextStub for function context. This lowers JSCreateFunctionContext nodes to call the above stub for help with allocating function contexts when possible. It also contains an implementation for inlined allocations of such contexts, which is still behind a flag until inlined allocations are ready for prime time. TEST=unittests/JSTypedLoweringTest.JSCreateFunctionContext R=mvstanton@chromium.org Committed: https://crrev.com/ea26401266f4ae7c157026c96c7b6456c0489e93 Cr-Commit-Position: refs/heads/master@{#31068}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comment. #

Unified diffs Side-by-side diffs Stats (+146 lines, -17 lines)
M src/code-factory.h View 1 chunk +1 line, -0 lines 0 comments
M src/code-factory.cc View 1 chunk +7 lines, -0 lines 0 comments
M src/compiler/ast-graph-builder.h View 1 chunk +2 lines, -1 line 0 comments
M src/compiler/ast-graph-builder.cc View 3 chunks +19 lines, -9 lines 0 comments
M src/compiler/js-operator.h View 1 chunk +1 line, -1 line 0 comments
M src/compiler/js-operator.cc View 2 chunks +9 lines, -1 line 0 comments
M src/compiler/js-typed-lowering.h View 2 chunks +2 lines, -0 lines 0 comments
M src/compiler/js-typed-lowering.cc View 5 chunks +65 lines, -2 lines 0 comments
M test/unittests/compiler/js-context-relaxation-unittest.cc View 1 chunk +1 line, -1 line 0 comments
M test/unittests/compiler/js-operator-unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M test/unittests/compiler/js-typed-lowering-unittest.cc View 1 chunk +39 lines, -1 line 0 comments

Messages

Total messages: 11 (3 generated)
Michael Starzinger
Michael: PTAL. Benedikt: FYI.
5 years, 2 months ago (2015-10-01 12:05:55 UTC) #2
Benedikt Meurer
Awesome! LGTM with one nit. https://codereview.chromium.org/1380113002/diff/1/test/unittests/compiler/js-typed-lowering-unittest.cc File test/unittests/compiler/js-typed-lowering-unittest.cc (right): https://codereview.chromium.org/1380113002/diff/1/test/unittests/compiler/js-typed-lowering-unittest.cc#newcode1094 test/unittests/compiler/js-typed-lowering-unittest.cc:1094: FLAG_turbo_allocate = true; Mhm, ...
5 years, 2 months ago (2015-10-01 13:10:17 UTC) #3
Michael Starzinger
https://codereview.chromium.org/1380113002/diff/1/test/unittests/compiler/js-typed-lowering-unittest.cc File test/unittests/compiler/js-typed-lowering-unittest.cc (right): https://codereview.chromium.org/1380113002/diff/1/test/unittests/compiler/js-typed-lowering-unittest.cc#newcode1094 test/unittests/compiler/js-typed-lowering-unittest.cc:1094: FLAG_turbo_allocate = true; On 2015/10/01 13:10:16, Benedikt Meurer wrote: ...
5 years, 2 months ago (2015-10-01 16:18:59 UTC) #4
Benedikt Meurer
On 2015/10/01 16:18:59, Michael Starzinger wrote: > https://codereview.chromium.org/1380113002/diff/1/test/unittests/compiler/js-typed-lowering-unittest.cc > File test/unittests/compiler/js-typed-lowering-unittest.cc (right): > > https://codereview.chromium.org/1380113002/diff/1/test/unittests/compiler/js-typed-lowering-unittest.cc#newcode1094 ...
5 years, 2 months ago (2015-10-01 16:57:16 UTC) #5
mvstanton
LGTM from here.
5 years, 2 months ago (2015-10-02 07:10:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1380113002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1380113002/20001
5 years, 2 months ago (2015-10-02 08:14:30 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-02 09:30:19 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-10-02 09:30:34 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ea26401266f4ae7c157026c96c7b6456c0489e93
Cr-Commit-Position: refs/heads/master@{#31068}

Powered by Google App Engine