diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-11-14 00:52:27 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2014-11-14 16:34:58 +0100 |
commit | 5d1b6d3e0fa4b97a490ef964be48aed9872e3ec1 (patch) | |
tree | ab5f510c4d83b175681de629395525bf7ec7cedb /deps/v8/test/mjsunit/regress/regress-417709a.js | |
parent | 3b3d89bad26f5dfebe73fef6ae284ee78acbd5c9 (diff) | |
download | node-new-5d1b6d3e0fa4b97a490ef964be48aed9872e3ec1.tar.gz |
deps: upgrade v8 to 3.30.37
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-417709a.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/regress-417709a.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-417709a.js b/deps/v8/test/mjsunit/regress/regress-417709a.js new file mode 100644 index 0000000000..7c4d4f728e --- /dev/null +++ b/deps/v8/test/mjsunit/regress/regress-417709a.js @@ -0,0 +1,16 @@ +// 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: --stack-size=100 --turbo-deoptimization + +var a = []; + +Object.observe(a, function() {}); + +function f(a, x) { + a.length = x; + f(a, x + 1); +} + +assertThrows(function() { f(a, 1); }, RangeError); |