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

Unified Diff: lib/compiler/implementation/ssa/value_range_analyzer.dart

Issue 11052011: Fix some warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/compiler/implementation/ssa/value_range_analyzer.dart
diff --git a/lib/compiler/implementation/ssa/value_range_analyzer.dart b/lib/compiler/implementation/ssa/value_range_analyzer.dart
index b715b278219bd0bc68c37979da5da13a3104320c..b868939647be787d1f20ed2d9d4431526d385291 100644
--- a/lib/compiler/implementation/ssa/value_range_analyzer.dart
+++ b/lib/compiler/implementation/ssa/value_range_analyzer.dart
@@ -189,7 +189,7 @@ class LengthValue extends InstructionValue {
class OperationValue extends Value {
final Value left;
final Value right;
- final Operation operation;
+ final BinaryOperation operation;
OperationValue(this.left, this.right, this.operation);
bool operator ==(other) {
@@ -398,7 +398,8 @@ class SsaValueRangeAnalyzer extends HBaseVisitor implements OptimizationPhase {
Range visitConstant(HConstant constant) {
if (!constant.isInteger(types)) return const Range.unbound();
- Value value = new IntValue(constant.constant.value);
+ IntConstant constantInt = constant.constant;
+ Value value = new IntValue(constantInt.value);
return new Range(value, value);
}
« lib/compiler/implementation/ssa/codegen.dart ('K') | « lib/compiler/implementation/ssa/tracer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698