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

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

Issue 87783003: Add UInt32 and UInt31 types to better infer bit operations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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: tests/compiler/dart2js/list_tracer_test.dart
===================================================================
--- tests/compiler/dart2js/list_tracer_test.dart (revision 30666)
+++ tests/compiler/dart2js/list_tracer_test.dart (working copy)
@@ -214,10 +214,10 @@
checkType('listUsedInLocal', typesTask.numType);
checkType('listEscapingInSetterValue', typesTask.numType);
checkType('listEscapingInIndex', typesTask.numType);
- checkType('listEscapingInIndexSet', typesTask.intType);
+ checkType('listEscapingInIndexSet', typesTask.uint31Type);
checkType('listEscapingTwiceInIndexSet', typesTask.numType);
checkType('listSetInNonFinalField', typesTask.numType);
- checkType('listWithChangedLength', typesTask.intType.nullable());
+ checkType('listWithChangedLength', typesTask.uint31Type.nullable());
checkType('listPassedToClosure', typesTask.dynamicType);
checkType('listReturnedFromClosure', typesTask.dynamicType);
@@ -227,8 +227,7 @@
if (!allocation.contains('filled')) {
checkType('listUnset', new TypeMask.nonNullEmpty());
- // TODO(ngeoffray): Re-enable this test.
- // checkType('listOnlySetWithConstraint', new TypeMask.nonNullEmpty());
+ checkType('listOnlySetWithConstraint', new TypeMask.nonNullEmpty());
}
}));
}
« no previous file with comments | « tests/compiler/dart2js/list_tracer2_test.dart ('k') | tests/compiler/dart2js/mirror_final_field_inferrer2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698