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

Unified Diff: tests/language/src/AssignOpTest.dart

Issue 9373025: Optimizing code generator expects that every AST node is traversed once, i.e., the nodes are not ... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
Index: tests/language/src/AssignOpTest.dart
===================================================================
--- tests/language/src/AssignOpTest.dart (revision 4076)
+++ tests/language/src/AssignOpTest.dart (working copy)
@@ -76,11 +76,18 @@
Expect.equals(323, y);
y += 3 * 4;
Expect.equals(335, y);
+
+ var a = [1, 2, 3];
+ var ix = 0;
+ a[ix] |= 12;
+ Expect.equals(13, a[ix]);
}
static var f;
var instf;
}
main() {
- AssignOpTest.testMain();
+ for (int i = 0; i < 2000; i++) {
+ AssignOpTest.testMain();
+ }
}
« runtime/vm/opt_code_generator_ia32.cc ('K') | « tests/language/language-leg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698