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

Issue 196223017: Fix bad generate-at-use-site. (Closed)

Created:
6 years, 9 months ago by floitsch
Modified:
6 years, 9 months ago
Reviewers:
kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 6

Patch Set 2 : Implement optimization #

Total comments: 6

Patch Set 3 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -8 lines) Patch
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 2 chunks +2 lines, -4 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart View 1 2 1 chunk +54 lines, -4 lines 0 comments Download
A tests/language/pure_function2_test.dart View 1 chunk +36 lines, -0 lines 0 comments Download
A tests/language/pure_function_test.dart View 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
floitsch
6 years, 9 months ago (2014-03-14 23:05:15 UTC) #1
kasperl
LGTM. https://codereview.chromium.org/196223017/diff/1/sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart (right): https://codereview.chromium.org/196223017/diff/1/sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart#newcode330 sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart:330: // The optimal solution is to store move ...
6 years, 9 months ago (2014-03-15 07:10:55 UTC) #2
kasperl
https://codereview.chromium.org/196223017/diff/1/sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart (left): https://codereview.chromium.org/196223017/diff/1/sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart#oldcode288 sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart:288: if (instruction.isJsStatement()) { Can you enumerate the things we ...
6 years, 9 months ago (2014-03-15 07:14:48 UTC) #3
floitsch
PTAL. https://codereview.chromium.org/196223017/diff/1/sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart (left): https://codereview.chromium.org/196223017/diff/1/sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart#oldcode288 sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart:288: if (instruction.isJsStatement()) { On 2014/03/15 07:14:48, kasperl wrote: ...
6 years, 9 months ago (2014-03-17 10:26:14 UTC) #4
kasperl
Still LGTM. https://codereview.chromium.org/196223017/diff/20001/sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart (right): https://codereview.chromium.org/196223017/diff/20001/sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart#newcode308 sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart:308: // t3 = pure(bar()); Indent code with ...
6 years, 9 months ago (2014-03-17 10:38:23 UTC) #5
floitsch
https://codereview.chromium.org/196223017/diff/20001/sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart (right): https://codereview.chromium.org/196223017/diff/20001/sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart#newcode308 sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart:308: // t3 = pure(bar()); On 2014/03/17 10:38:24, kasperl wrote: ...
6 years, 9 months ago (2014-03-17 11:43:01 UTC) #6
floitsch
6 years, 9 months ago (2014-03-17 11:44:26 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r33739 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698