| Index: test/mjsunit/compiler/turbo-number-feedback.js
|
| diff --git a/test/mjsunit/compiler/turbo-number-feedback.js b/test/mjsunit/compiler/turbo-number-feedback.js
|
| index 896d1542424bf9cb727306070fc2fffd3a08983a..1462c385e8547a67c8c46fc9e64b2415cd1fc294 100644
|
| --- a/test/mjsunit/compiler/turbo-number-feedback.js
|
| +++ b/test/mjsunit/compiler/turbo-number-feedback.js
|
| @@ -67,3 +67,14 @@
|
| %OptimizeFunctionOnNextCall(f4);
|
| assertEquals(64, f4(4, 4));
|
| })();
|
| +
|
| +(function ShiftLeftNumbers() {
|
| + function f5(a, b) {
|
| + return a << b;
|
| + }
|
| +
|
| + assertEquals(24, f5(3.3, 3.4));
|
| + assertEquals(40, f5(5.1, 3.9));
|
| + %OptimizeFunctionOnNextCall(f5);
|
| + assertEquals(64, f5(4.9, 4.1));
|
| +})();
|
|
|