| Index: test/mjsunit/array-literal-transitions.js
|
| diff --git a/test/mjsunit/array-literal-transitions.js b/test/mjsunit/array-literal-transitions.js
|
| index 1af02d8d2f49a33c666a955aa676588c1ab5b4ce..0dd3064ce1061b3347ed512dcaa862c192ddce3a 100644
|
| --- a/test/mjsunit/array-literal-transitions.js
|
| +++ b/test/mjsunit/array-literal-transitions.js
|
| @@ -189,7 +189,8 @@ assertEquals(foo, array[2]);
|
| (function literals_after_osr() {
|
| var color = [0];
|
| // Trigger OSR, if optimization is not disabled.
|
| - if (%GetOptimizationStatus(literals_after_osr) != 4) {
|
| + var opt_status = %GetOptimizationStatus(literals_after_osr);
|
| + if ((opt_status & V8OptimizationStatus.kNeverOptimize) === 0) {
|
| while (%GetOptimizationCount(literals_after_osr) == 0) {}
|
| }
|
| return [color[0]];
|
|
|