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

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

Issue 11052011: Fix some warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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/tracer.dart
diff --git a/lib/compiler/implementation/ssa/tracer.dart b/lib/compiler/implementation/ssa/tracer.dart
index ab30bd2cb18d4feff7d0b710051a6ea9f1ecb70d..e346b440c7aa24b61730519dccaada105fa3c7aa 100644
--- a/lib/compiler/implementation/ssa/tracer.dart
+++ b/lib/compiler/implementation/ssa/tracer.dart
@@ -524,6 +524,10 @@ class HInstructionStringifier implements HVisitor<String> {
}
String visitTypeConversion(HTypeConversion node) {
- return "TypeConversion: ${temporaryId(node.inputs[0])} to ${node.type}";
+ return "TypeConversion: ${temporaryId(node.checkedInput)} to ${node.type}";
+ }
+
+ String visitRangeConversion(HRangeConversion node) {
+ return "RangeConversion: ${node.checkedInput}";
}
}
« no previous file with comments | « lib/compiler/implementation/ssa/optimize.dart ('k') | lib/compiler/implementation/ssa/value_range_analyzer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698