| Index: test/mjsunit/regress/regress-2618.js
|
| diff --git a/test/mjsunit/regress/regress-2618.js b/test/mjsunit/regress/regress-2618.js
|
| index faffc5bf47d247a0f8830f363cd9495d804993a8..5d3de683a941001b0679850171312fa7b34754f1 100644
|
| --- a/test/mjsunit/regress/regress-2618.js
|
| +++ b/test/mjsunit/regress/regress-2618.js
|
| @@ -36,7 +36,8 @@ function f() {
|
| }
|
|
|
| f();
|
| -assertTrue(%GetOptimizationCount(f) > 0 || %GetOptimizationStatus(f) == 4);
|
| +assertTrue(%GetOptimizationCount(f) > 0 ||
|
| + (%GetOptimizationStatus(f) & V8OptimizationStatus.kNever) !== 0);
|
|
|
| function g() {
|
| for (var i = 0; i < 1; i++) { }
|
| @@ -67,4 +68,5 @@ function g() {
|
| }
|
|
|
| g();
|
| -assertTrue(%GetOptimizationCount(g) > 0 || %GetOptimizationStatus(g) == 4);
|
| +assertTrue(%GetOptimizationCount(g) > 0 ||
|
| + (%GetOptimizationStatus(g) & V8OptimizationStatus.kNever) !== 0);
|
|
|