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

Issue 14362026: Make mock_compiler initialize the identical function, and use the identical function element direct… (Closed)

Created:
7 years, 8 months ago by ngeoffray
Modified:
7 years, 8 months ago
Reviewers:
erikcorry
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Make mock_compiler initialize the identical function, and use the identical function element directly in the simple inferrer. Committed: https://code.google.com/p/dart/source/detail?r=21730

Patch Set 1 : #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -12 lines) Patch
M sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart View 1 3 chunks +23 lines, -12 lines 0 comments Download
M tests/compiler/dart2js/dart_backend_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/size_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/utils/dummy_compiler_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ngeoffray
I was surprised that identicalFunction could be null, and it turns out it's the mock_compiler ...
7 years, 8 months ago (2013-04-19 09:28:57 UTC) #1
erikcorry
LGTM https://codereview.chromium.org/14362026/diff/3003/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart File sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (right): https://codereview.chromium.org/14362026/diff/3003/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart#newcode622 sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:622: && returnType != returnTypeOf[analyzedElement.implementation]) { It's confusing to ...
7 years, 8 months ago (2013-04-19 09:40:48 UTC) #2
ngeoffray
Thanks Erik https://codereview.chromium.org/14362026/diff/3003/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart File sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (right): https://codereview.chromium.org/14362026/diff/3003/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart#newcode300 sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:300: return element == compiler.identicalFunction Changed that to ...
7 years, 8 months ago (2013-04-19 09:46:20 UTC) #3
ngeoffray
7 years, 8 months ago (2013-04-19 09:54:02 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r21730 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698