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

Issue 2542723003: Sprinkle some types on the SDK like the static typing fairy. (Closed)

Created:
4 years ago by Bob Nystrom
Modified:
4 years ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Sprinkle some types on the SDK like the static typing fairy. When I'm looking at the dynamic call profiles of an internal app test, I see a bunch coming from the SDK itself. In fact, the top five most common dynamic call sites are in the SDK. This fixes four of them. (The fifth is in runUnary() in Zone, and I don't think can be made typed yet.) R=vsm@google.com Committed: https://github.com/dart-lang/sdk/commit/aa749dbd8d9e1a43c9b43df54802197065ad0080

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -48 lines) Patch
M pkg/dev_compiler/lib/js/amd/dart_sdk.js View 10 chunks +11 lines, -10 lines 0 comments Download
M pkg/dev_compiler/lib/js/common/dart_sdk.js View 10 chunks +11 lines, -10 lines 0 comments Download
M pkg/dev_compiler/lib/js/es6/dart_sdk.js View 10 chunks +11 lines, -10 lines 0 comments Download
M pkg/dev_compiler/lib/js/legacy/dart_sdk.js View 10 chunks +11 lines, -10 lines 0 comments Download
M pkg/dev_compiler/lib/sdk/ddc_sdk.sum View Binary file 0 comments Download
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/lib/async/stream_impl.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/tool/input_sdk/patch/async_patch.dart View 3 chunks +6 lines, -3 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/rtti.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Bob Nystrom
4 years ago (2016-12-01 00:16:12 UTC) #2
vsm
lgtm! I think runUnary is generically typed, right? We getting dcalls regardless?
4 years ago (2016-12-01 00:21:35 UTC) #3
Bob Nystrom
On 2016/12/01 00:21:35, vsm wrote: > lgtm! > > I think runUnary is generically typed, ...
4 years ago (2016-12-01 00:35:56 UTC) #4
vsm
On 2016/12/01 00:35:56, Bob Nystrom wrote: > On 2016/12/01 00:21:35, vsm wrote: > > lgtm! ...
4 years ago (2016-12-01 00:54:01 UTC) #5
Bob Nystrom
4 years ago (2016-12-01 01:05:01 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
aa749dbd8d9e1a43c9b43df54802197065ad0080 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698