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

Issue 9874014: New CL for https://chromiumcodereview.appspot.com/9784002/: Support non-speculative type propagatio… (Closed)

Created:
8 years, 9 months ago by ngeoffray
Modified:
8 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

New CL for https://chromiumcodereview.appspot.com/9784002/: Support non-speculative type propagation. Committed: https://code.google.com/p/dart/source/detail?r=5969

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -40 lines) Patch
M lib/compiler/implementation/ssa/nodes.dart View 1 4 chunks +13 lines, -29 lines 0 comments Download
M lib/compiler/implementation/ssa/optimize.dart View 1 2 3 5 chunks +10 lines, -6 lines 0 comments Download
M lib/compiler/implementation/ssa/types.dart View 1 2 4 chunks +37 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ngeoffray
TBR, code was already reviewed here: https://chromiumcodereview.appspot.com/9784002/
8 years, 9 months ago (2012-03-28 07:24:45 UTC) #1
ngeoffray
Due to a conflicting change that revealed a bug in this change, I did not ...
8 years, 8 months ago (2012-03-29 09:09:20 UTC) #2
Lasse Reichstein Nielsen
LGTM https://chromiumcodereview.appspot.com/9874014/diff/3001/lib/compiler/implementation/ssa/optimize.dart File lib/compiler/implementation/ssa/optimize.dart (right): https://chromiumcodereview.appspot.com/9874014/diff/3001/lib/compiler/implementation/ssa/optimize.dart#newcode43 lib/compiler/implementation/ssa/optimize.dart:43: new SsaTypePropagator(compiler, true), Make the boolean parameter optional ...
8 years, 8 months ago (2012-03-29 11:46:55 UTC) #3
ngeoffray
Thanks Lasse! https://chromiumcodereview.appspot.com/9874014/diff/3001/lib/compiler/implementation/ssa/optimize.dart File lib/compiler/implementation/ssa/optimize.dart (right): https://chromiumcodereview.appspot.com/9874014/diff/3001/lib/compiler/implementation/ssa/optimize.dart#newcode103 lib/compiler/implementation/ssa/optimize.dart:103: // type. On 2012/03/29 11:46:55, Lasse Reichstein ...
8 years, 8 months ago (2012-03-29 12:51:02 UTC) #4
floitsch
8 years, 8 months ago (2012-03-29 22:00:38 UTC) #5
https://chromiumcodereview.appspot.com/9874014/diff/3001/lib/compiler/impleme...
File lib/compiler/implementation/ssa/optimize.dart (right):

https://chromiumcodereview.appspot.com/9874014/diff/3001/lib/compiler/impleme...
lib/compiler/implementation/ssa/optimize.dart:103: // type.
On 2012/03/29 11:46:55, Lasse Reichstein Nielsen wrote:
> Why don't we run the constant folder before type propagation?
> Seems that constant folding don't need types, and it would reduce the size of
> the code we type propagate on.

The constant-folder needs types to fold away boolifications. Unless I'm wrong it
could also fold away half of the array-bounds checks when the index is known to
be a positive integer.

Powered by Google App Engine
This is Rietveld 408576698