| Index: tests/language/deopt_inlined_function_test.dart
|
| ===================================================================
|
| --- tests/language/deopt_inlined_function_test.dart (revision 13077)
|
| +++ tests/language/deopt_inlined_function_test.dart (working copy)
|
| @@ -1,8 +1,7 @@
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| -// Test deoptimization caused by running code that did not collect type
|
| -// feedback before.
|
| +// Test deoptimization from within an inlined function.
|
|
|
| class A {
|
| deopt_here() => 1;
|
| @@ -30,5 +29,5 @@
|
| for (var i = 0; i < 2000; i++) foo(7);
|
| Expect.equals(42, foo(2));
|
| obj = new B();
|
| - Expect.equals(42, foo(3));
|
| + Expect.equals(42, foo(3)); // <-- deoptimization via foo/bar/obj.deopt_here
|
| }
|
|
|