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

Unified Diff: tests/utils/dummy_compiler_test.dart

Issue 14253008: Optimize length access on all JSIndexable things. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix test. Created 7 years, 8 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 | « tests/compiler/dart2js/value_range_test.dart ('k') | tests/utils/recursive_import_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/dummy_compiler_test.dart
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart
index 7f145cb0a619d3db5f6ff38dcdff4a3cee59163f..c488b9768823b3b26af98a58a21f0de95d7f75e9 100644
--- a/tests/utils/dummy_compiler_test.dart
+++ b/tests/utils/dummy_compiler_test.dart
@@ -43,15 +43,16 @@ Future<String> provider(Uri uri) {
source = '';
} else if (uri.path.endsWith('interceptors.dart')) {
source = """class ObjectInterceptor {}
+ class JSIndexable {
+ get length;
+ }
class JSArray {
- var length;
var removeLast;
var add;
}
class JSFixedArray {}
class JSExtendableArray {}
class JSString {
- var length;
var split;
var concat;
var toString;
« no previous file with comments | « tests/compiler/dart2js/value_range_test.dart ('k') | tests/utils/recursive_import_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698