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

Issue 1779723002: dart2js cps: Inline constructor bodies that are only called once. (Closed)

Created:
4 years, 9 months ago by asgerf
Modified:
4 years, 9 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js cps: Inline constructor bodies that are only called once. ConstructorBodyElements do not exist in the type inference graph, so we can't rely on it to tell us if such a method has a single call site. BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/cb46f224f6468c4afe40ccb7a94cf1568eb1ba88

Patch Set 1 #

Patch Set 2 : Update test expectation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -3 lines) Patch
M pkg/compiler/lib/src/cps_ir/inline.dart View 1 chunk +5 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/cps_ir/expected/constructor_9.js View 1 1 chunk +11 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
asgerf
4 years, 9 months ago (2016-03-09 12:32:27 UTC) #2
Kevin Millikin (Google)
Yes, LGTM.
4 years, 9 months ago (2016-03-09 12:57:00 UTC) #3
asgerf
4 years, 9 months ago (2016-03-09 13:00:32 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
cb46f224f6468c4afe40ccb7a94cf1568eb1ba88 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698