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

Issue 12261006: Share addTypeVariableReference between factory calls and is-checks. (Closed)

Created:
7 years, 10 months ago by karlklose
Modified:
7 years, 10 months ago
Reviewers:
ngeoffray
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Share addTypeVariableReference between factory calls and is-checks. Committed: https://code.google.com/p/dart/source/detail?r=18507

Patch Set 1 #

Patch Set 2 : Add a test. #

Patch Set 3 : Ad another test. #

Total comments: 1

Patch Set 4 : Rename the second test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -72 lines) Patch
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 4 chunks +48 lines, -60 lines 0 comments Download
A + tests/compiler/dart2js_extra/typevariable_factory_test.dart View 1 1 chunk +8 lines, -12 lines 0 comments Download
A tests/compiler/dart2js_extra/typevariable_substitution_test.dart View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
karlklose
7 years, 10 months ago (2013-02-13 13:34:01 UTC) #1
ngeoffray
LGTM! As discussed, please add a test case that failed before this refactoring.
7 years, 10 months ago (2013-02-13 14:05:23 UTC) #2
karlklose
Thanks Nicolas! Added a test.
7 years, 10 months ago (2013-02-13 14:17:19 UTC) #3
ngeoffray
7 years, 10 months ago (2013-02-13 14:27:49 UTC) #4
LGTM

https://codereview.chromium.org/12261006/diff/7001/tests/compiler/dart2js_ext...
File tests/compiler/dart2js_extra/typevariable_factory2_test.dart (right):

https://codereview.chromium.org/12261006/diff/7001/tests/compiler/dart2js_ext...
tests/compiler/dart2js_extra/typevariable_factory2_test.dart:1: // Copyright (c)
2013, the Dart project authors.  Please see the AUTHORS file
Please rename this test.

Powered by Google App Engine
This is Rietveld 408576698