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

Issue 613683002: [turbofan] Some javascript operators are globally shared singletons. (Closed)

Created:
6 years, 2 months ago by Benedikt Meurer
Modified:
6 years, 2 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

[turbofan] Some javascript operators are globally shared singletons. Also cleanup the interface, and make the parameter class/accessors explicit to work-around the type-unsafety of OpParameter<T>. TEST=compiler-unittests,cctest,mjsunit R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24322

Patch Set 1 #

Patch Set 2 : Fix #

Total comments: 2

Patch Set 3 : Fix windows #

Patch Set 4 : Address comments #

Patch Set 5 : Win64 again. #

Patch Set 6 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+660 lines, -267 lines) Patch
M BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 28 chunks +45 lines, -31 lines 0 comments Download
M src/compiler/change-lowering.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/compiler.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/js-builtin-reducer-unittest.cc View 1 2 3 7 chunks +21 lines, -16 lines 0 comments Download
M src/compiler/js-context-specialization.cc View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download
M src/compiler/js-generic-lowering.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 2 3 7 chunks +20 lines, -19 lines 0 comments Download
M src/compiler/js-operator.h View 1 2 3 4 5 2 chunks +144 lines, -182 lines 0 comments Download
A src/compiler/js-operator.cc View 1 2 3 4 5 1 chunk +251 lines, -0 lines 0 comments Download
A src/compiler/js-operator-unittest.cc View 1 chunk +152 lines, -0 lines 0 comments Download
M src/compiler/machine-operator-reducer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/operator-properties-inl.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M src/compiler/typer.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M src/runtime/runtime.h View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/compiler/test-js-context-specialization.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/compiler/test-machine-operator-reducer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Benedikt Meurer
6 years, 2 months ago (2014-09-29 12:10:53 UTC) #1
Benedikt Meurer
PTAL
6 years, 2 months ago (2014-09-29 12:11:13 UTC) #2
Michael Starzinger
Looking good modulo one comment which I feel pretty strongly about, and that we already ...
6 years, 2 months ago (2014-09-29 15:24:06 UTC) #3
Benedikt Meurer
Done https://codereview.chromium.org/613683002/diff/20001/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/613683002/diff/20001/src/compiler/ast-graph-builder.cc#newcode79 src/compiler/ast-graph-builder.cc:79: CallRuntimeParameters(Runtime::kTraceEnter, 0))); On 2014/09/29 15:24:06, Michael Starzinger wrote: ...
6 years, 2 months ago (2014-09-30 04:44:05 UTC) #4
Michael Starzinger
LGTM.
6 years, 2 months ago (2014-09-30 10:39:38 UTC) #5
Benedikt Meurer
6 years, 2 months ago (2014-09-30 10:43:04 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 (id:90001) manually as 24322 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698