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

Unified Diff: frog/tests/leg/type_guard_unuser_test.dart

Issue 10440087: Compute liveness of instructions to get better and fewer variable names. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
Index: frog/tests/leg/type_guard_unuser_test.dart
===================================================================
--- frog/tests/leg/type_guard_unuser_test.dart (revision 8089)
+++ frog/tests/leg/type_guard_unuser_test.dart (working copy)
@@ -45,8 +45,7 @@
Iterator<Match> matches = regexp.allMatches(generated).iterator();
checkNumberOfMatches(matches, 0);
- // TODO(ngeoffray): Put back 'c' once we have liveness analysis.
- regexp = const RegExp("return c0;");
+ regexp = const RegExp("return c;");
Expect.isTrue(regexp.hasMatch(generated));
generated = compile(TEST_TWO, 'foo');

Powered by Google App Engine
This is Rietveld 408576698