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

Unified Diff: tests/compiler/dart2js/type_combination_test.dart

Issue 12381039: Get rid of HBoundedPotentialPrimitiveString. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/types.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_combination_test.dart
diff --git a/tests/compiler/dart2js/type_combination_test.dart b/tests/compiler/dart2js/type_combination_test.dart
index 156bbcdbe4c6b491616bda0cb4999b4756837e1c..a900290b073cc258944f144c630b601e145ee2ba 100644
--- a/tests/compiler/dart2js/type_combination_test.dart
+++ b/tests/compiler/dart2js/type_combination_test.dart
@@ -2025,7 +2025,7 @@ void testIntersection(MockCompiler compiler) {
}
void testRegressions(MockCompiler compiler) {
- HType nonNullPotentialString = new HBoundedPotentialPrimitiveString(
+ HType nonNullPotentialString = new HBoundedType(
new TypeMask.nonNullSubtype(compiler.stringClass.computeType(compiler)));
Expect.equals(
potentialString, STRING_OR_NULL.union(nonNullPotentialString, compiler));
@@ -2046,7 +2046,7 @@ void main() {
compiler.functionClass.computeType(compiler), compiler);
potentialArray = new HBoundedType(
new TypeMask.subtype(compiler.listClass.computeType(compiler)));
- potentialString = new HBoundedPotentialPrimitiveString(
+ potentialString = new HBoundedType(
new TypeMask.subtype(compiler.stringClass.computeType(compiler)));
jsArrayOrNull = new HType.fromMask(
new TypeMask.exact(compiler.backend.jsArrayClass.computeType(compiler)),
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/types.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698