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

Issue 636893002: [turbofan] Drop broken StaticParameterTraits. (Closed)

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

Description

[turbofan] Drop broken StaticParameterTraits. The StaticParameterTraits are broken by design, and cause way too much trouble. The compilers usually pick the wrong specialization (i.e. the default specialization is picked for Load and Phi even tho there is a specialization for MachineType), which is not only the reason why GVN is ineffective and slow, but can also lead to correctness issues in some rare cases. Also clean up some minor bugs/inconsistencies on the way. TEST=cctest,unittests R=svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24437

Patch Set 1 #

Patch Set 2 : Friends and templates... #

Patch Set 3 : Fix typo... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+490 lines, -417 lines) Patch
M src/assembler.h View 2 chunks +7 lines, -8 lines 0 comments Download
M src/assembler.cc View 2 chunks +24 lines, -0 lines 0 comments Download
M src/compiler/common-operator.h View 3 chunks +47 lines, -14 lines 0 comments Download
M src/compiler/common-operator.cc View 5 chunks +45 lines, -73 lines 0 comments Download
M src/compiler/js-graph.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/js-graph.cc View 4 chunks +7 lines, -6 lines 0 comments Download
M src/compiler/js-operator.h View 5 chunks +35 lines, -3 lines 0 comments Download
M src/compiler/js-operator.cc View 3 chunks +105 lines, -35 lines 0 comments Download
M src/compiler/machine-operator.h View 2 chunks +8 lines, -14 lines 0 comments Download
M src/compiler/machine-operator.cc View 2 chunks +17 lines, -31 lines 0 comments Download
M src/compiler/node.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M src/compiler/node-matchers.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/operator.h View 4 chunks +44 lines, -119 lines 0 comments Download
M src/compiler/operator.cc View 2 chunks +33 lines, -3 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/simplified-operator.h View 1 2 3 chunks +10 lines, -4 lines 0 comments Download
M src/compiler/simplified-operator.cc View 6 chunks +16 lines, -40 lines 0 comments Download
M src/runtime/runtime.h View 2 chunks +5 lines, -2 lines 0 comments Download
M src/runtime/runtime.cc View 1 chunk +7 lines, -1 line 0 comments Download
M src/unique.h View 1 3 chunks +13 lines, -1 line 0 comments Download
M src/utils.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/utils.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M test/cctest/compiler/codegen-tester.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M test/cctest/compiler/simplified-graph-builder.h View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-codegen-deopt.cc View 3 chunks +10 lines, -10 lines 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M test/cctest/compiler/test-operator.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M test/cctest/compiler/test-scheduler.cc View 5 chunks +20 lines, -15 lines 0 comments Download
M test/unittests/compiler/graph-unittest.cc View 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Benedikt Meurer
6 years, 2 months ago (2014-10-07 12:39:01 UTC) #1
Benedikt Meurer
PTAL
6 years, 2 months ago (2014-10-07 12:40:00 UTC) #2
Sven Panne
lgtm
6 years, 2 months ago (2014-10-07 12:52:44 UTC) #3
Benedikt Meurer
6 years, 2 months ago (2014-10-07 13:30:54 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 24437 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698