diff options
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-v8-5697.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/regress-v8-5697.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-v8-5697.js b/deps/v8/test/mjsunit/regress/regress-v8-5697.js index 9dec917f70..571850dba5 100644 --- a/deps/v8/test/mjsunit/regress/regress-v8-5697.js +++ b/deps/v8/test/mjsunit/regress/regress-v8-5697.js @@ -1,8 +1,12 @@ // Copyright 2016 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - -// Flags: --allow-natives-syntax --opt +// +// Flags: --allow-natives-syntax --opt --no-use-osr +// +// Why not OSR? Because it may inline the `store` function into OSR'd code +// below before it has a chance to be optimized, making +// `assertOptimized(store)` fail. function load(o) { return o.x; |