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

Issue 10050010: Avoid some unnecessary variables for phis. (Closed)

Created:
8 years, 8 months ago by Lasse Reichstein Nielsen
Modified:
8 years, 8 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Avoid some unnecessary variables for phis. Detects some cases where the value of a phi is only used as input to another phi, and avoids creating an intermediate variable. Committed: https://code.google.com/p/dart/source/detail?r=6407

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -5 lines) Patch
M lib/compiler/implementation/ssa/codegen.dart View 6 chunks +22 lines, -5 lines 2 comments Download
M lib/compiler/implementation/ssa/codegen_helpers.dart View 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein Nielsen
8 years, 8 months ago (2012-04-11 09:35:37 UTC) #1
floitsch
LGTM. https://chromiumcodereview.appspot.com/10050010/diff/1/lib/compiler/implementation/ssa/codegen.dart File lib/compiler/implementation/ssa/codegen.dart (right): https://chromiumcodereview.appspot.com/10050010/diff/1/lib/compiler/implementation/ssa/codegen.dart#newcode646 lib/compiler/implementation/ssa/codegen.dart:646: // assingment. assignment
8 years, 8 months ago (2012-04-11 11:44:39 UTC) #2
Lasse Reichstein Nielsen
8 years, 8 months ago (2012-04-11 11:55:26 UTC) #3
https://chromiumcodereview.appspot.com/10050010/diff/1/lib/compiler/implement...
File lib/compiler/implementation/ssa/codegen.dart (right):

https://chromiumcodereview.appspot.com/10050010/diff/1/lib/compiler/implement...
lib/compiler/implementation/ssa/codegen.dart:646: // assingment.
On 2012/04/11 11:44:39, floitsch wrote:
> assignment

Done.

Powered by Google App Engine
This is Rietveld 408576698