| Index: test/mjsunit/keyed-load-hole-to-undefined.js
|
| diff --git a/test/mjsunit/keyed-load-hole-to-undefined.js b/test/mjsunit/keyed-load-hole-to-undefined.js
|
| index e9403b8c5e2233d00e3763cec05fda70fb729e43..fac829d24fab533873333ecdda2522a07af22495 100644
|
| --- a/test/mjsunit/keyed-load-hole-to-undefined.js
|
| +++ b/test/mjsunit/keyed-load-hole-to-undefined.js
|
| @@ -3,13 +3,15 @@
|
| // found in the LICENSE file.
|
|
|
| // Flags: --allow-natives-syntax
|
| -// Flags: --nostress-opt
|
| +// Flags: --nostress-opt --no-always-opt
|
|
|
| // --nostress-opt is specified because the test corrupts the "pristine"
|
| // array prototype chain by storing an element, and this is tracked
|
| // per-isolate. A subsequent stress run would send the load generic,
|
| // and no more deoptimizations of foo would occur.
|
|
|
| +assertFalse(isAlwaysOptimize());
|
| +
|
| function foo(a, i) { return a[i]; }
|
|
|
| var a = ['one', , 'three'];
|
|
|