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

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

Issue 1203423003: dart2js cps: Better fallthrough analysis and eliminate "return null". (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update tests Created 5 years, 6 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/compiler/dart2js/js_backend_cps_ir_constructor_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart
index ff798ac434e910f03873c88b6c6af9ee0e141332..b724218f4fe6890daa2acf22c817643948709a91 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart
@@ -43,7 +43,6 @@ main() {
r"""
function(x, y) {
P.print(x);
- return null;
}"""),
const TestEntry.forMethod('generative_constructor(Sub#)', """
@@ -163,7 +162,6 @@ main() {
}""", r"""
function() {
P.print(V.C$(P.$int).foo$0());
- return null;
}"""),
const TestEntry(r"""
class C<T> {
@@ -174,7 +172,6 @@ main() {
}""", r"""
function() {
P.print(V.C$().foo$0());
- return null;
}"""),
const TestEntry.forMethod('generative_constructor(C#)', r"""
class C<T> {
@@ -246,7 +243,6 @@ main() {
}""", r"""
function() {
P.print(V.Foo$create(5));
- return null;
}"""),
const TestEntry(r"""
class A {
@@ -264,7 +260,6 @@ main() {
}""", r"""
function() {
V.B$(5, P.$int).get$typevar();
- return null;
}"""),
];

Powered by Google App Engine
This is Rietveld 408576698