| commit | 63c7ad499be49ef959b3b1c5ea3f48491aa033d3 | [log] [tgz] |
|---|---|---|
| author | Andrew Top <aabtop@google.com> | Mon Nov 25 16:10:13 2019 -0800 |
| committer | Andrew Top <aabtop@google.com> | Tue Nov 26 17:03:47 2019 -0800 |
| tree | d79834891b0a2cceff2017e52c5664437df3a603 | |
| parent | cab7770533804d582eaa66c713a1582f361182d3 [diff] [blame] |
Import Cobalt 20.master.0.234144 Includes the following patches: https://cobalt-review.googlesource.com/c/cobalt/+/5590 by n1214.hwang@samsung.com https://cobalt-review.googlesource.com/c/cobalt/+/5530 by errong.leng@samsung.com https://cobalt-review.googlesource.com/c/cobalt/+/5570 by devin.cai@mediatek.com
diff --git a/src/v8/test/mjsunit/div-mul-minus-one.js b/src/v8/test/mjsunit/div-mul-minus-one.js index 71ad299..da6f8e3 100644 --- a/src/v8/test/mjsunit/div-mul-minus-one.js +++ b/src/v8/test/mjsunit/div-mul-minus-one.js
@@ -30,7 +30,7 @@ function div(g) { return (g/-1) ^ 1 } - +%PrepareFunctionForOptimization(div); var kMinInt = 1 << 31; var expected_MinInt = div(kMinInt); var expected_minus_zero = div(0); @@ -42,6 +42,7 @@ return (g * -1) ^ 1 } +%PrepareFunctionForOptimization(mul); expected_MinInt = mul(kMinInt); expected_minus_zero = mul(0); %OptimizeFunctionOnNextCall(mul);