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

Issue 11817013: Do not apply optimizations based on an element if that element cannot be resolved. (Closed)

Created:
7 years, 11 months ago by ngeoffray
Modified:
7 years, 11 months ago
Reviewers:
Johnni Winther, ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Do not apply optimizations based on an element if that element cannot be resolved. Committed: https://code.google.com/p/dart/source/detail?r=16906

Patch Set 1 : #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -24 lines) Patch
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/elements/elements.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 2 1 chunk +12 lines, -12 lines 0 comments Download
M tests/compiler/dart2js/builtin_interceptor_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js/compiler_helper.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/dart2js.status View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/type_inference_test.dart View 1 3 chunks +5 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/value_range_test.dart View 1 chunk +29 lines, -2 lines 0 comments Download
M tests/utils/dummy_compiler_test.dart View 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ngeoffray
7 years, 11 months ago (2013-01-09 15:11:27 UTC) #1
ahe
Do you really need the new element and kind? https://codereview.chromium.org/11817013/diff/4001/sdk/lib/_internal/compiler/implementation/compiler.dart File sdk/lib/_internal/compiler/implementation/compiler.dart (right): https://codereview.chromium.org/11817013/diff/4001/sdk/lib/_internal/compiler/implementation/compiler.dart#newcode963 sdk/lib/_internal/compiler/implementation/compiler.dart:963: ...
7 years, 11 months ago (2013-01-09 15:46:27 UTC) #2
Johnni Winther
https://codereview.chromium.org/11817013/diff/4001/sdk/lib/_internal/compiler/implementation/elements/elements.dart File sdk/lib/_internal/compiler/implementation/elements/elements.dart (right): https://codereview.chromium.org/11817013/diff/4001/sdk/lib/_internal/compiler/implementation/elements/elements.dart#newcode123 sdk/lib/_internal/compiler/implementation/elements/elements.dart:123: const ElementKind('malformed', ElementCategory.NONE); I don't think this kind is ...
7 years, 11 months ago (2013-01-10 07:09:55 UTC) #3
ahe
https://codereview.chromium.org/11817013/diff/4001/sdk/lib/_internal/compiler/implementation/elements/elements.dart File sdk/lib/_internal/compiler/implementation/elements/elements.dart (right): https://codereview.chromium.org/11817013/diff/4001/sdk/lib/_internal/compiler/implementation/elements/elements.dart#newcode124 sdk/lib/_internal/compiler/implementation/elements/elements.dart:124: static const ElementKind UNRESOLVED = On 2013/01/10 07:09:55, Johnni ...
7 years, 11 months ago (2013-01-10 07:32:07 UTC) #4
Johnni Winther
https://codereview.chromium.org/11817013/diff/4001/sdk/lib/_internal/compiler/implementation/elements/elements.dart File sdk/lib/_internal/compiler/implementation/elements/elements.dart (right): https://codereview.chromium.org/11817013/diff/4001/sdk/lib/_internal/compiler/implementation/elements/elements.dart#newcode124 sdk/lib/_internal/compiler/implementation/elements/elements.dart:124: static const ElementKind UNRESOLVED = On 2013/01/10 07:32:07, ahe ...
7 years, 11 months ago (2013-01-10 08:19:47 UTC) #5
ngeoffray
PTAL https://codereview.chromium.org/11817013/diff/4001/sdk/lib/_internal/compiler/implementation/compiler.dart File sdk/lib/_internal/compiler/implementation/compiler.dart (right): https://codereview.chromium.org/11817013/diff/4001/sdk/lib/_internal/compiler/implementation/compiler.dart#newcode963 sdk/lib/_internal/compiler/implementation/compiler.dart:963: Element findInScopeContainer(ScopeContainerElement scope, SourceString name) { On 2013/01/09 ...
7 years, 11 months ago (2013-01-10 09:41:48 UTC) #6
ahe
LGTM!
7 years, 11 months ago (2013-01-10 09:44:58 UTC) #7
Johnni Winther
7 years, 11 months ago (2013-01-10 09:46:11 UTC) #8
lgtm

Powered by Google App Engine
This is Rietveld 408576698