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

Issue 2471543004: Fix compiler crash when we declare several (global) variables, but only define some of them. (Closed)

Created:
4 years, 1 month ago by Emily Fortuna
Modified:
4 years, 1 month ago
CC:
reviews_dartlang.org, Johnni Winther
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix compiler crash when we declare several (global) variables, but only define some of them. BUG=27553 R=johnniwinther@google.com, sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/2206b43c3d59a0ad9de7951203aa8a53f903bc3f

Patch Set 1 : cleanup #

Total comments: 4

Patch Set 2 : Update with Johnni's comments. #

Total comments: 6

Patch Set 3 : Siggi's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -8 lines) Patch
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 1 chunk +14 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/constant_expression_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
A + tests/compiler/dart2js_extra/multi_global_def_single_instantiation_test.dart View 1 2 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Emily Fortuna
https://codereview.chromium.org/2471543004/diff/20001/tests/compiler/dart2js/constant_expression_test.dart File tests/compiler/dart2js/constant_expression_test.dart (left): https://codereview.chromium.org/2471543004/diff/20001/tests/compiler/dart2js/constant_expression_test.dart#oldcode150 tests/compiler/dart2js/constant_expression_test.dart:150: // TODO(johnniwinther): Enable this when the constructor evaluator doesn't ...
4 years, 1 month ago (2016-11-02 00:05:25 UTC) #3
Johnni Winther
lgtm https://codereview.chromium.org/2471543004/diff/20001/pkg/compiler/lib/src/ssa/builder.dart File pkg/compiler/lib/src/ssa/builder.dart (right): https://codereview.chromium.org/2471543004/diff/20001/pkg/compiler/lib/src/ssa/builder.dart#newcode753 pkg/compiler/lib/src/ssa/builder.dart:753: iterator.moveNext(); To find the right node you need ...
4 years, 1 month ago (2016-11-02 10:41:31 UTC) #5
Emily Fortuna
https://codereview.chromium.org/2471543004/diff/20001/pkg/compiler/lib/src/ssa/builder.dart File pkg/compiler/lib/src/ssa/builder.dart (right): https://codereview.chromium.org/2471543004/diff/20001/pkg/compiler/lib/src/ssa/builder.dart#newcode753 pkg/compiler/lib/src/ssa/builder.dart:753: iterator.moveNext(); On 2016/11/02 10:41:31, Johnni Winther wrote: > To ...
4 years, 1 month ago (2016-11-02 18:09:21 UTC) #6
Siggi Cherem (dart-lang)
lgtm! https://codereview.chromium.org/2471543004/diff/40001/pkg/compiler/lib/src/ssa/builder.dart File pkg/compiler/lib/src/ssa/builder.dart (right): https://codereview.chromium.org/2471543004/diff/40001/pkg/compiler/lib/src/ssa/builder.dart#newcode756 pkg/compiler/lib/src/ssa/builder.dart:756: definition.selector.toString() == variable.name) { toString is mainly something ...
4 years, 1 month ago (2016-11-02 18:17:20 UTC) #7
Emily Fortuna
https://codereview.chromium.org/2471543004/diff/40001/pkg/compiler/lib/src/ssa/builder.dart File pkg/compiler/lib/src/ssa/builder.dart (right): https://codereview.chromium.org/2471543004/diff/40001/pkg/compiler/lib/src/ssa/builder.dart#newcode756 pkg/compiler/lib/src/ssa/builder.dart:756: definition.selector.toString() == variable.name) { On 2016/11/02 18:17:20, Siggi Cherem ...
4 years, 1 month ago (2016-11-02 18:24:58 UTC) #8
Emily Fortuna
4 years, 1 month ago (2016-11-02 18:28:24 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as
2206b43c3d59a0ad9de7951203aa8a53f903bc3f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698