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

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

Issue 10139012: Refactor types in ssa nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file. Created 8 years, 8 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 ea5643728d232bfdf0be5e4e67965380daf0412e..ea7dec34896612e6e57bb7aa8b71e6281e2ead52 100644
--- a/lib/compiler/implementation/ssa/tracer.dart
+++ b/lib/compiler/implementation/ssa/tracer.dart
@@ -172,7 +172,7 @@ class HInstructionStringifier implements HVisitor<String> {
case HType.BOOLEAN: prefix = 'b'; break;
case HType.INTEGER: prefix = 'i'; break;
case HType.DOUBLE: prefix = 'd'; break;
- case HType.NUMBER: prefix = 'n'; break;
+ case HType.INTEGER_OR_DOUBLE: prefix = 'n'; break;
case HType.STRING: prefix = 's'; break;
case HType.UNKNOWN: prefix = 'v'; break;
case HType.CONFLICTING: prefix = 'c'; break;
@@ -409,7 +409,7 @@ class HInstructionStringifier implements HVisitor<String> {
case HType.BOOLEAN: type = "bool"; break;
case HType.INTEGER: type = "integer"; break;
case HType.DOUBLE: type = "double"; break;
- case HType.NUMBER: type = "number"; break;
+ case HType.INTEGER_OR_DOUBLE: type = "integer_or_double"; break;
case HType.STRING: type = "string"; break;
case HType.STRING_OR_ARRAY: type = "string_or_array"; break;
case HType.UNKNOWN: type = 'unknown'; break;

Powered by Google App Engine
This is Rietveld 408576698