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

Issue 473263004: Towards removing dependency from generic lowering on compilation info. (Closed)

Created:
6 years, 4 months ago by sigurds
Modified:
6 years, 3 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Remove dependency from generic lowering on compilation info for determining strictness and builtins. This makes the graphs compositional for inlining (i.e. we can now inline a strict function into a non-strict function, or vice versa). 1) Store strict mode as parameter in StoreNamed/StoreProperty. R=mstarzinger@chromium.org, titzer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23479

Patch Set 1 #

Total comments: 4

Patch Set 2 : Refactor specialization handling. #

Patch Set 3 : Refactor specialization handling. #

Patch Set 4 : Add strict mode to store nodes. #

Patch Set 5 : Add strict mode to store nodes. #

Patch Set 6 : Add strict mode to store nodes. #

Total comments: 1

Patch Set 7 : Add strict mode to store nodes. #

Patch Set 8 : Add strict mode to store nodes. #

Total comments: 2

Patch Set 9 : Using flags in compilation info. #

Total comments: 2

Patch Set 10 : Using flags in compilation info. #

Total comments: 7

Patch Set 11 : Using flags in compilation info. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -62 lines) Patch
M src/compiler.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -1 line 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +18 lines, -11 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -9 lines 0 comments Download
M src/compiler/js-operator.h View 1 2 3 4 5 6 2 chunks +15 lines, -3 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/function-tester.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +10 lines, -5 lines 0 comments Download
M test/cctest/compiler/test-run-inlining.cc View 1 2 3 4 5 6 7 8 9 11 chunks +30 lines, -30 lines 0 comments Download
M test/cctest/compiler/test-run-jscalls.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
sigurds
6 years, 4 months ago (2014-08-20 12:09:26 UTC) #1
titzer
https://codereview.chromium.org/473263004/diff/1/src/compiler/js-context-specialization.h File src/compiler/js-context-specialization.h (right): https://codereview.chromium.org/473263004/diff/1/src/compiler/js-context-specialization.h#newcode19 src/compiler/js-context-specialization.h:19: class JSContextSpecializer { This class is becoming more general ...
6 years, 4 months ago (2014-08-20 12:54:39 UTC) #2
sigurds
This pulls out the following changes from the initially proposed CL: (1) Adding strict mode ...
6 years, 4 months ago (2014-08-22 14:01:34 UTC) #3
Michael Starzinger
This conflates two changes, the strict-mode change is non-controversial and I would have immediately approved ...
6 years, 4 months ago (2014-08-25 14:15:57 UTC) #4
titzer
On 2014/08/25 14:15:57, Michael Starzinger wrote: > This conflates two changes, the strict-mode change is ...
6 years, 4 months ago (2014-08-25 14:31:02 UTC) #5
sigurds
6 years, 3 months ago (2014-08-27 11:31:28 UTC) #6
titzer
https://codereview.chromium.org/473263004/diff/150001/test/cctest/compiler/function-tester.h File test/cctest/compiler/function-tester.h (right): https://codereview.chromium.org/473263004/diff/150001/test/cctest/compiler/function-tester.h#newcode29 test/cctest/compiler/function-tester.h:29: enum Flag { kContextSpecializing = 1 << 0, kInliningEnabled ...
6 years, 3 months ago (2014-08-27 11:48:40 UTC) #7
sigurds
https://codereview.chromium.org/473263004/diff/150001/test/cctest/compiler/function-tester.h File test/cctest/compiler/function-tester.h (right): https://codereview.chromium.org/473263004/diff/150001/test/cctest/compiler/function-tester.h#newcode29 test/cctest/compiler/function-tester.h:29: enum Flag { kContextSpecializing = 1 << 0, kInliningEnabled ...
6 years, 3 months ago (2014-08-27 13:02:47 UTC) #8
Michael Starzinger
LGTM from my end of comments are addressed. https://codereview.chromium.org/473263004/diff/170001/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/473263004/diff/170001/src/compiler/ast-graph-builder.cc#newcode902 src/compiler/ast-graph-builder.cc:902: NewNode(javascript()->StoreNamed(info()->strict_mode(), ...
6 years, 3 months ago (2014-08-27 13:26:18 UTC) #9
sigurds
https://codereview.chromium.org/473263004/diff/170001/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/473263004/diff/170001/src/compiler/ast-graph-builder.cc#newcode902 src/compiler/ast-graph-builder.cc:902: NewNode(javascript()->StoreNamed(info()->strict_mode(), name), On 2014/08/27 13:26:18, Michael Starzinger wrote: > ...
6 years, 3 months ago (2014-08-27 13:48:49 UTC) #10
Michael Starzinger
https://codereview.chromium.org/473263004/diff/170001/test/cctest/compiler/function-tester.h File test/cctest/compiler/function-tester.h (right): https://codereview.chromium.org/473263004/diff/170001/test/cctest/compiler/function-tester.h#newcode34 test/cctest/compiler/function-tester.h:34: USE(flags_); On 2014/08/27 13:48:49, sigurds wrote: > On 2014/08/27 ...
6 years, 3 months ago (2014-08-27 14:06:40 UTC) #11
sigurds
On 2014/08/27 14:06:40, Michael Starzinger wrote: > https://codereview.chromium.org/473263004/diff/170001/test/cctest/compiler/function-tester.h > File test/cctest/compiler/function-tester.h (right): > > https://codereview.chromium.org/473263004/diff/170001/test/cctest/compiler/function-tester.h#newcode34 ...
6 years, 3 months ago (2014-08-27 14:13:36 UTC) #12
sigurds
6 years, 3 months ago (2014-08-28 08:39:37 UTC) #13
Message was sent while issue was closed.
Committed patchset #11 manually as 23479 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698