| Index: tests/language/vm/lazy_deopt_with_exception_test.dart
|
| diff --git a/tests/language/vm/lazy_deopt_with_exception_test.dart b/tests/language/vm/lazy_deopt_with_exception_test.dart
|
| index a4943661bb63d035d61dfd6e7fc267ea1ad46d65..e481d02f2b91f19f0e044a74209f32d7ea5f0e3c 100644
|
| --- a/tests/language/vm/lazy_deopt_with_exception_test.dart
|
| +++ b/tests/language/vm/lazy_deopt_with_exception_test.dart
|
| @@ -13,7 +13,6 @@ class C {
|
| var x = 42;
|
| }
|
|
|
| -
|
| const NeverInline = "NeverInline";
|
|
|
| @NeverInline
|
| @@ -28,19 +27,17 @@ AA(C c, bool b) {
|
| T1(C c, bool b) {
|
| try {
|
| AA(c, b);
|
| - } on dynamic {
|
| - }
|
| + } on dynamic {}
|
| return c.x + 1;
|
| }
|
|
|
| -
|
| @NeverInline
|
| T2(C c, bool b) {
|
| try {
|
| AA(c, b);
|
| } on String {
|
| Expect.isTrue(false);
|
| - } on int catch(e) {
|
| + } on int catch (e) {
|
| Expect.equals(e, 123);
|
| Expect.equals(b, true);
|
| Expect.equals(c.x, 2.5);
|
| @@ -48,7 +45,6 @@ T2(C c, bool b) {
|
| return c.x + 1;
|
| }
|
|
|
| -
|
| main() {
|
| var c = new C();
|
| for (var i = 0; i < 10000; ++i) {
|
| @@ -60,5 +56,3 @@ main() {
|
| Expect.equals(3.5, T1(c, true));
|
| Expect.equals(3.5, T2(c, true));
|
| }
|
| -
|
| -
|
|
|