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

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

Issue 10452032: Merge functionality of HExactType into HBoundedType and fix computation of unions and intersections. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/nodes.dart
diff --git a/lib/compiler/implementation/ssa/nodes.dart b/lib/compiler/implementation/ssa/nodes.dart
index e0f381ac6f5c26d761336a633323d2f05ea65a1e..88ece01b852d6f1d04c9514c9672e12bdcf97900 100644
--- a/lib/compiler/implementation/ssa/nodes.dart
+++ b/lib/compiler/implementation/ssa/nodes.dart
@@ -155,7 +155,7 @@ class HGraph {
if (constant.isString()) return HType.STRING;
if (constant.isList()) return HType.READABLE_ARRAY;
ObjectConstant objectConstant = constant;
- return new HExactType(objectConstant.type);
+ return new HBoundedType.exact(objectConstant.type);
}
HConstant addConstant(Constant constant) {

Powered by Google App Engine
This is Rietveld 408576698