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

Issue 1554083002: dart2js: Do not inline when try is seen. (Closed)

Created:
4 years, 11 months ago by Kevin Millikin (Google)
Modified:
4 years, 11 months ago
Reviewers:
sra1
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js: Do not inline when try is seen. Do not inline in functions containing try, do not inline functions containing try. V8 does not optimize functions containing try, so inlining in such functions or inlining such functions will make potentially optimizable code become unoptimizable. This repairs a large performance regression on the Angular 2 change detection benchmarks. R=sra@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/97b88e4ee76b50aeb27de1e4085316a704eca5d4

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M pkg/compiler/lib/src/cps_ir/inline.dart View 3 chunks +16 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Kevin Millikin (Google)
4 years, 11 months ago (2016-01-04 11:39:04 UTC) #1
sra1
LGTM Longer term we should still do inlining of very simple methods in these contexts.
4 years, 11 months ago (2016-01-04 15:43:17 UTC) #2
Kevin Millikin (Google)
On 2016/01/04 15:43:17, sra1 wrote: > LGTM > > Longer term we should still do ...
4 years, 11 months ago (2016-01-04 18:42:45 UTC) #3
Kevin Millikin (Google)
4 years, 11 months ago (2016-01-06 22:24:32 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
97b88e4ee76b50aeb27de1e4085316a704eca5d4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698