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

Issue 1402913003: Avoid creating invalid TypeMask.nonNullExact (Closed)

Created:
5 years, 2 months ago by Johnni Winther
Modified:
5 years, 2 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 7

Patch Set 3 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -25 lines) Patch
M pkg/compiler/lib/src/elements/common.dart View 1 1 chunk +2 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 chunk +6 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/ssa/codegen.dart View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/types/type_mask.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/universe/class_set.dart View 1 2 4 chunks +23 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/world.dart View 2 chunks +10 lines, -4 lines 0 comments Download
A tests/language/super_mixin_test.dart View 1 2 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Johnni Winther
https://codereview.chromium.org/1402913003/diff/20001/pkg/compiler/lib/src/elements/common.dart File pkg/compiler/lib/src/elements/common.dart (right): https://codereview.chromium.org/1402913003/diff/20001/pkg/compiler/lib/src/elements/common.dart#newcode410 pkg/compiler/lib/src/elements/common.dart:410: allSupertypesAndSelf.asInstanceOf(intrface) != null; Optimization https://codereview.chromium.org/1402913003/diff/20001/pkg/compiler/lib/src/ssa/codegen.dart File pkg/compiler/lib/src/ssa/codegen.dart (right): https://codereview.chromium.org/1402913003/diff/20001/pkg/compiler/lib/src/ssa/codegen.dart#newcode1759 ...
5 years, 2 months ago (2015-10-13 10:14:55 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/1402913003/diff/20001/pkg/compiler/lib/src/ssa/codegen.dart File pkg/compiler/lib/src/ssa/codegen.dart (right): https://codereview.chromium.org/1402913003/diff/20001/pkg/compiler/lib/src/ssa/codegen.dart#newcode1759 pkg/compiler/lib/src/ssa/codegen.dart:1759: new TypeMask.nonNullExact(node.caller.superclass, compiler.world); On 2015/10/13 10:14:55, Johnni Winther ...
5 years, 2 months ago (2015-10-13 12:15:42 UTC) #3
floitsch
Please add a small test.
5 years, 2 months ago (2015-10-13 12:15:57 UTC) #4
Johnni Winther
https://codereview.chromium.org/1402913003/diff/20001/pkg/compiler/lib/src/ssa/codegen.dart File pkg/compiler/lib/src/ssa/codegen.dart (right): https://codereview.chromium.org/1402913003/diff/20001/pkg/compiler/lib/src/ssa/codegen.dart#newcode1759 pkg/compiler/lib/src/ssa/codegen.dart:1759: new TypeMask.nonNullExact(node.caller.superclass, compiler.world); On 2015/10/13 12:15:42, floitsch wrote: > ...
5 years, 2 months ago (2015-10-13 13:06:37 UTC) #5
Johnni Winther
5 years, 2 months ago (2015-10-13 13:12:51 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
c1214e8f99ea63f94a45fc3e772c94a4e7a0f12c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698