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

Unified Diff: frog/tests/leg/src/TypeInferenceTest.dart

Issue 10084002: Add the first phi's input as possible generate-at-use-site. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 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 | « frog/tests/leg/src/SsaPhiCodegenTest.dart ('k') | lib/compiler/implementation/ssa/codegen_helpers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/leg/src/TypeInferenceTest.dart
diff --git a/frog/tests/leg/src/TypeInferenceTest.dart b/frog/tests/leg/src/TypeInferenceTest.dart
index 775b2164741df14c56fcd0c4ffff85544afa7180..863b76d7f954079e1617fcae790cacc47e374c07 100644
--- a/frog/tests/leg/src/TypeInferenceTest.dart
+++ b/frog/tests/leg/src/TypeInferenceTest.dart
@@ -54,8 +54,7 @@ main() {
Expect.isFalse(regexp.hasMatch(generated));
regexp = new RegExp("sum = \\(?$anyIdentifier \\+ $anyIdentifier\\)?");
- // TODO(ngeoffray): Do live range analysis to make this test pass.
- Expect.isFalse(regexp.hasMatch(generated));
+ Expect.isTrue(regexp.hasMatch(generated));
regexp = const RegExp("typeof param0 !== 'number'");
Expect.isTrue(regexp.hasMatch(generated));
« no previous file with comments | « frog/tests/leg/src/SsaPhiCodegenTest.dart ('k') | lib/compiler/implementation/ssa/codegen_helpers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698