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

Issue 1988613006: Eliminate unnecessary covariance checks. (Closed)

Created:
4 years, 7 months ago by Leaf
Modified:
4 years, 7 months ago
Reviewers:
Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org, sra1
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Eliminate unnecessary covariance checks. This eliminates the erroneous checks inside of nested closures, and eliminates checks where the type parameter is only used covariantly. We still don't handle the cases where a generic is implemented by a non-generic correctly. BUG= R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/746eabd0d885413560aaa21074b6e0c8645e7a45

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -308 lines) Patch
M lib/runtime/dart_sdk.js View 164 chunks +13 lines, -293 lines 0 comments Download
M lib/src/compiler/code_generator.dart View 1 2 2 chunks +18 lines, -8 lines 0 comments Download
M test/codegen/expect/closure.js View 1 chunk +1 line, -6 lines 0 comments Download
M test/codegen/expect/covariance.js View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
Leaf
4 years, 7 months ago (2016-05-17 17:47:33 UTC) #2
Jennifer Messerly
lgtm https://codereview.chromium.org/1988613006/diff/20001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/1988613006/diff/20001/lib/src/compiler/code_generator.dart#newcode1677 lib/src/compiler/code_generator.dart:1677: var parameters = t.parameters.map((p) => p.type); probably a ...
4 years, 7 months ago (2016-05-17 18:09:05 UTC) #3
Leaf
https://codereview.chromium.org/1988613006/diff/20001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/1988613006/diff/20001/lib/src/compiler/code_generator.dart#newcode1677 lib/src/compiler/code_generator.dart:1677: var parameters = t.parameters.map((p) => p.type); On 2016/05/17 18:09:04, ...
4 years, 7 months ago (2016-05-17 18:15:36 UTC) #4
Leaf
4 years, 7 months ago (2016-05-17 19:21:09 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
746eabd0d885413560aaa21074b6e0c8645e7a45 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698