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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.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: sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart (revision 30666)
+++ sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart (working copy)
@@ -794,6 +794,13 @@
}
}
+ // These classes are just helpers for the backend's type system.
+ unneededClasses.add(backend.jsMutableArrayClass);
+ unneededClasses.add(backend.jsFixedArrayClass);
+ unneededClasses.add(backend.jsExtendableArrayClass);
+ unneededClasses.add(backend.jsUInt32Class);
+ unneededClasses.add(backend.jsUInt31Class);
+
return (ClassElement cls) => !unneededClasses.contains(cls);
}

Powered by Google App Engine
This is Rietveld 408576698