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-412162.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-412162.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/regress-412162.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-412162.js b/deps/v8/test/mjsunit/regress/regress-412162.js new file mode 100644 index 0000000000..6a7ad0c57f --- /dev/null +++ b/deps/v8/test/mjsunit/regress/regress-412162.js @@ -0,0 +1,14 @@ +// 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 test() { + Math.abs(-NaN).toString(); +} + +test(); +test(); +%OptimizeFunctionOnNextCall(test); +test(); |