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

Issue 2260223002: Add SSA instructions for reified type information (Closed)

Created:
4 years, 4 months ago by sra1
Modified:
4 years, 4 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add SSA instructions for reified type information This enables GVN optimizations of type representations, e.g. var touches, targetTouches, changedTouches, mockTouchList, t1; touches = H.setRuntimeTypeInfo([], [W.Touch]); targetTouches = H.setRuntimeTypeInfo([], [W.Touch]); changedTouches = H.setRuntimeTypeInfo([], [W.Touch]); mockTouchList = H.setRuntimeTypeInfo([new S.MockTouch(e)], [W.Touch]); ---> var t1, touches, targetTouches, changedTouches, mockTouchList; t1 = [W.Touch]; touches = H.setRuntimeTypeInfo([], t1); targetTouches = H.setRuntimeTypeInfo([], t1); changedTouches = H.setRuntimeTypeInfo([], t1); mockTouchList = H.setRuntimeTypeInfo([new S.MockTouch(e)], t1); BUG= R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/266ac1b0bc68763868f1aa448f5c8b2f822fc7ad

Patch Set 1 #

Total comments: 14

Patch Set 2 : address review comments #

Patch Set 3 : reformat #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -95 lines) Patch
M pkg/compiler/lib/src/js_backend/backend_helpers.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend_impact.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 12 chunks +81 lines, -85 lines 0 comments Download
M pkg/compiler/lib/src/ssa/codegen.dart View 1 2 1 chunk +69 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/nodes.dart View 1 2 4 chunks +141 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/ssa_tracer.dart View 1 chunk +12 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/universe/call_structure.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_rti.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/mock_libraries.dart View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
sra1
4 years, 4 months ago (2016-08-19 17:42:54 UTC) #2
Siggi Cherem (dart-lang)
lgtm - I mostly have questions to help me understand. https://codereview.chromium.org/2260223002/diff/1/pkg/compiler/lib/src/ssa/builder.dart File pkg/compiler/lib/src/ssa/builder.dart (right): https://codereview.chromium.org/2260223002/diff/1/pkg/compiler/lib/src/ssa/builder.dart#newcode6816 ...
4 years, 4 months ago (2016-08-19 18:21:46 UTC) #3
sra1
https://codereview.chromium.org/2260223002/diff/1/pkg/compiler/lib/src/ssa/builder.dart File pkg/compiler/lib/src/ssa/builder.dart (right): https://codereview.chromium.org/2260223002/diff/1/pkg/compiler/lib/src/ssa/builder.dart#newcode6816 pkg/compiler/lib/src/ssa/builder.dart:6816: return callSetRuntimeTypeInfoWithTypeArguments(type.element, arguments, object); On 2016/08/19 18:21:46, Siggi Cherem ...
4 years, 4 months ago (2016-08-19 18:47:44 UTC) #4
sra1
4 years, 4 months ago (2016-08-19 20:02:30 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
266ac1b0bc68763868f1aa448f5c8b2f822fc7ad (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698