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

Issue 9969006: Code cleanup for speculative type optimization. (Closed)

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

Description

Code cleanup for speculative type optimization. Committed: https://code.google.com/p/dart/source/detail?r=6032

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -24 lines) Patch
M lib/compiler/implementation/ssa/nodes.dart View 2 chunks +1 line, -18 lines 1 comment Download
M lib/compiler/implementation/ssa/types.dart View 1 chunk +16 lines, -6 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
ngeoffray
8 years, 8 months ago (2012-03-30 11:18:48 UTC) #1
ahe
DBC: fixed spelling error in CL description
8 years, 8 months ago (2012-03-30 11:40:23 UTC) #2
Lasse Reichstein Nielsen
LGTM https://chromiumcodereview.appspot.com/9969006/diff/1/lib/compiler/implementation/ssa/nodes.dart File lib/compiler/implementation/ssa/nodes.dart (left): https://chromiumcodereview.appspot.com/9969006/diff/1/lib/compiler/implementation/ssa/nodes.dart#oldcode859 lib/compiler/implementation/ssa/nodes.dart:859: // Does this node pNotentially affect control flow. ...
8 years, 8 months ago (2012-03-30 12:41:08 UTC) #3
floitsch
8 years, 8 months ago (2012-03-30 23:16:00 UTC) #4
LGTM.

https://chromiumcodereview.appspot.com/9969006/diff/1/lib/compiler/implementa...
File lib/compiler/implementation/ssa/types.dart (right):

https://chromiumcodereview.appspot.com/9969006/diff/1/lib/compiler/implementa...
lib/compiler/implementation/ssa/types.dart:102: HType desiredType =
computeDesiredType(instruction);
No need to compute the desired type if the 'newType' is non-ambiguous. That is,
if newType says that we are an 'int', we shouldn't even look at the desired
type.

Powered by Google App Engine
This is Rietveld 408576698