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

Issue 14217011: If we know a call will actually not reach an element anymore, because we have more information on t… (Closed)

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

Description

If we know a call will actually not reach an element anymore, because we have more information on the receiver type, unregister that call. Committed: https://code.google.com/p/dart/source/detail?r=22003

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -16 lines) Patch
M sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart View 1 2 3 7 chunks +40 lines, -15 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/type_mask.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/field_type_simple_inferer_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart View 1 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ngeoffray
Nothing revolutionary in our benchmarks though. We do save on code size on swarm (0.5%).
7 years, 8 months ago (2013-04-23 14:04:41 UTC) #1
kasperl
LGTM. https://codereview.chromium.org/14217011/diff/1/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart File tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart (right): https://codereview.chromium.org/14217011/diff/1/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart#newcode18 tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart:18: // String::+, or int+. After all methods have ...
7 years, 8 months ago (2013-04-23 14:39:03 UTC) #2
ngeoffray
Thanks Kasper. https://codereview.chromium.org/14217011/diff/1/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart File tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart (right): https://codereview.chromium.org/14217011/diff/1/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart#newcode18 tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart:18: // String::+, or int+. After all methods ...
7 years, 8 months ago (2013-04-23 14:42:00 UTC) #3
ngeoffray
PTAL. I have updated the code to handle noSuchMethod. I'm not really happy with it, ...
7 years, 8 months ago (2013-04-24 12:17:02 UTC) #4
kasperl
LGTM. https://codereview.chromium.org/14217011/diff/10001/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/14217011/diff/10001/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart#newcode957 sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:957: // TOD(ngeoffray) : The following noSuchMethod handling is ...
7 years, 8 months ago (2013-04-24 12:39:26 UTC) #5
ngeoffray
Thanks Kasper. https://codereview.chromium.org/14217011/diff/10001/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/14217011/diff/10001/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart#newcode957 sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:957: // TOD(ngeoffray) : The following noSuchMethod handling ...
7 years, 8 months ago (2013-04-24 13:25:46 UTC) #6
ngeoffray
7 years, 8 months ago (2013-04-25 07:16:39 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r22003 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698