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

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

Issue 14972005: Fix https://code.google.com/p/dart/issues/detail?id=10474 by not loop hoisting instructions that ma… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | « sdk/lib/_internal/compiler/implementation/ssa/optimize.dart ('k') | tests/language/licm2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/dead_bailout_target_test.dart
===================================================================
--- tests/compiler/dart2js/dead_bailout_target_test.dart (revision 22498)
+++ tests/compiler/dart2js/dead_bailout_target_test.dart (working copy)
@@ -60,8 +60,7 @@
// Check that the bailout method has a case 2 for the state, which
// is the second bailout in foo.
- RegExp state = new RegExp('case 2:');
- checkNumberOfMatches(state.allMatches(generated).iterator, 1);
+ Expect.isTrue(generated.contains('case 2:'));
// Finally, make sure that the reason foo does not contain
// 'getInterceptor' is not because the compiler renamed it.
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/optimize.dart ('k') | tests/language/licm2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698