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

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

Issue 10968060: Add a value range analysis phase to remove bounds checks. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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: tests/compiler/dart2js/mock_compiler.dart
===================================================================
--- tests/compiler/dart2js/mock_compiler.dart (revision 12944)
+++ tests/compiler/dart2js/mock_compiler.dart (working copy)
@@ -61,7 +61,8 @@
class Object {}
interface num {}
class Function {}
- class List {}
+ interface List default ListImplementation { List([length]);}
+ class ListImplementation { factory List([length]) => null; }
class Closure {}
class Null {}
class Dynamic_ {}
« no previous file with comments | « lib/compiler/implementation/ssa/value_range_analyzer.dart ('k') | tests/compiler/dart2js/value_range_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698