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

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

Issue 10375048: Don't allow phi equivalences along back-edges. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added test. Updated other tests. Simplified isPhiBefore. 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/ssa_phi_codegen_test.dart
diff --git a/frog/tests/leg/ssa_phi_codegen_test.dart b/frog/tests/leg/ssa_phi_codegen_test.dart
index 6b2b5d633f07ef75686957187247f443ebcb3760..84f36dab9eefe08c3726c2c2d5baaa2412919381 100644
--- a/frog/tests/leg/ssa_phi_codegen_test.dart
+++ b/frog/tests/leg/ssa_phi_codegen_test.dart
@@ -66,8 +66,10 @@ main() {
Expect.isTrue(regexp.hasMatch(generated));
generated = compile(TEST_TWO, 'main');
+ // TODO(ngeoffray): Add live range analysis to the codegen
+ // to make this test pass.
regexp = new RegExp("t = \\(?$anyIdentifier +");
- Expect.isTrue(regexp.hasMatch(generated));
+ Expect.isFalse(regexp.hasMatch(generated));
// TODO(ngeoffray): Add live range analysis to the codegen
// to make this test pass.
« no previous file with comments | « no previous file | frog/tests/leg/type_inference_test.dart » ('j') | lib/compiler/implementation/ssa/codegen_helpers.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698