diff options
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/regress-crbug-540593.js')
-rw-r--r-- | deps/v8/test/mjsunit/compiler/regress-crbug-540593.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/compiler/regress-crbug-540593.js b/deps/v8/test/mjsunit/compiler/regress-crbug-540593.js new file mode 100644 index 0000000000..ec68e85771 --- /dev/null +++ b/deps/v8/test/mjsunit/compiler/regress-crbug-540593.js @@ -0,0 +1,14 @@ +// Copyright 2015 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 --enable-slow-asserts --turbo-inlining + +var __f_2 = (function(stdlib) { + "use asm"; + var __v_3 = stdlib.Symbol; + function __f_2() { return __v_3(); } + return __f_2; +})(this); +%OptimizeFunctionOnNextCall(__f_2); +__f_2(); |