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

Issue 11628009: Re-apply "support for typedef in checked mode" and fix the checked mode failures on drt by not shar… (Closed)

Created:
8 years ago by ngeoffray
Modified:
8 years ago
Reviewers:
ahe, floitsch, kasperl
CC:
reviews_dartlang.org, karlklose
Visibility:
Public.

Description

Re-apply "support for typedef in checked mode" and fix the checked mode failures on drt by not sharing bound closures that have typedef checks. Committed: https://code.google.com/p/dart/source/detail?r=16320

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -44 lines) Patch
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 2 5 chunks +29 lines, -10 lines 2 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 2 chunks +11 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2js.status View 5 chunks +21 lines, -27 lines 0 comments Download
M tests/language/language_dart2js.status View 1 3 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ngeoffray
Patch set 1 is the original change, that has already been reviewed. Patch set 2 ...
8 years ago (2012-12-18 16:16:17 UTC) #1
floitsch
LGTM. https://codereview.chromium.org/11628009/diff/2001/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/11628009/diff/2001/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode1115 sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:1115: void emitTypedefChecksOn(DartType type, void emitTest(Element element)) { Rename ...
8 years ago (2012-12-19 10:39:34 UTC) #2
ngeoffray
PTAL. I like the suggestion.
8 years ago (2012-12-19 13:32:27 UTC) #3
floitsch
STV. https://codereview.chromium.org/11628009/diff/12001/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/11628009/diff/12001/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode1414 sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:1414: bool hasTypedefChecks = typedefChecks.iterator().hasNext; For your information: this ...
8 years ago (2012-12-19 13:37:23 UTC) #4
ngeoffray
8 years ago (2012-12-19 13:47:27 UTC) #5
Thanks

https://codereview.chromium.org/11628009/diff/12001/sdk/lib/_internal/compile...
File sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right):

https://codereview.chromium.org/11628009/diff/12001/sdk/lib/_internal/compile...
sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:1414: bool
hasTypedefChecks = typedefChecks.iterator().hasNext;
On 2012/12/19 13:37:23, floitsch wrote:
> For your information: this will become:
> !typedefChecks.isEmpty;
> 
> (which imho is even nicer).

I was actually looking for it :-)

Powered by Google App Engine
This is Rietveld 408576698