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

Issue 19250002: Support for inlining small methods (independent of they're called inside a loop or not) (Closed)

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

Description

Support for inlining small methods (independent of they're called inside a loop or not) BUG=http://dartbug.com/11478 R=ngeoffray@google.com Committed: https://code.google.com/p/dart/source/detail?r=25093

Patch Set 1 #

Total comments: 36

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : Status file change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -45 lines) Patch
M pkg/pkg.status View 1 1 chunk +0 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 2 3 4 3 chunks +45 lines, -9 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 3 6 chunks +42 lines, -29 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/recursive_calls_test.dart View 1 2 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kustermann
Request for initial comments. https://codereview.chromium.org/19250002/diff/1/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/19250002/diff/1/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode1272 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1272: if (inliningStack.any((entry) => entry.function == ...
7 years, 5 months ago (2013-07-15 17:40:27 UTC) #1
ngeoffray
Overall looking good! A few comments. https://codereview.chromium.org/19250002/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (right): https://codereview.chromium.org/19250002/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart#newcode139 sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:139: bool canInline(FunctionElement element, ...
7 years, 5 months ago (2013-07-16 08:04:45 UTC) #2
kustermann
https://codereview.chromium.org/19250002/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (right): https://codereview.chromium.org/19250002/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart#newcode139 sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:139: bool canInline(FunctionElement element, {bool insideLoop: false}) { On 2013/07/16 ...
7 years, 5 months ago (2013-07-16 13:27:50 UTC) #3
kustermann
PTAL
7 years, 5 months ago (2013-07-16 16:14:52 UTC) #4
ngeoffray
LGTM! https://codereview.chromium.org/19250002/diff/11001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/19250002/diff/11001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode1264 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1264: // Don't inline recursivly As discussed, removing the ...
7 years, 5 months ago (2013-07-16 17:17:37 UTC) #5
kustermann
https://codereview.chromium.org/19250002/diff/11001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/19250002/diff/11001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode1264 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1264: // Don't inline recursivly On 2013/07/16 17:17:37, ngeoffray wrote: ...
7 years, 5 months ago (2013-07-17 09:46:42 UTC) #6
kustermann
7 years, 5 months ago (2013-07-17 13:03:20 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 manually as r25093 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698