| Index: tests/standalone/double_to_int_test.dart
|
| diff --git a/tests/standalone/double_to_int_test.dart b/tests/standalone/double_to_int_test.dart
|
| index 03866443bd6072c313f5a8a1a17e0a2e22e02eb9..ff83620ac30f55932abdbce09184217f6ad6b4dd 100644
|
| --- a/tests/standalone/double_to_int_test.dart
|
| +++ b/tests/standalone/double_to_int_test.dart
|
| @@ -2,7 +2,7 @@
|
| // 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.
|
| //
|
| -// Tests optimization: transform double.toInt() to DoubleToSmi
|
| +// Tests optimization: transform double.truncate() to DoubleToSmi
|
| // unless we encounter a non-Smi result, in which case we deoptimize and
|
| // optimize it later to DoubleToInt.
|
|
|
| @@ -30,5 +30,5 @@ foo(n, a) {
|
|
|
|
|
| goo(a) {
|
| - return a.toInt();
|
| + return a.truncate();
|
| }
|
|
|