diff options
author | Fedor Indutny <fedor@indutny.com> | 2014-10-10 14:49:02 +0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-10-10 14:49:02 +0400 |
commit | 6bcea4ff932144a5fd02affefd45164fbf471e67 (patch) | |
tree | a8e078c679b12f0daebe10ed254239cb0d79e146 /deps/v8/test/mjsunit/regress/regress-crbug-412210.js | |
parent | 4fae2356d105e394115188a814097c4a95ae0c5d (diff) | |
download | node-new-6bcea4ff932144a5fd02affefd45164fbf471e67.tar.gz |
deps: update v8 to 3.29.93.1
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-crbug-412210.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/regress-crbug-412210.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-crbug-412210.js b/deps/v8/test/mjsunit/regress/regress-crbug-412210.js new file mode 100644 index 0000000000..6ec7d62379 --- /dev/null +++ b/deps/v8/test/mjsunit/regress/regress-crbug-412210.js @@ -0,0 +1,12 @@ +// Copyright 2014 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 + +function f(x) { + return (x ? "" >> 0 : "") + /a/; +}; + +%OptimizeFunctionOnNextCall(f); +f(); |