blob: 9aebe8d7d1ed166fbafc3e6c818a2b2b6f030de4 [file] [log] [blame]
Ben Murdoch4a90d5f2016-03-22 12:00:34 +00001// Copyright 2015 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Crashes without the fix for bug 503565.
6function f() {}
7function g() {}
8function h() {
9 g()
10}
11(function() {
12 eval("\
13 \"use strict\";\
14 g = (function(x) {\
15 +Math.log(+Math.log((+(+x>0)), f(Math.log())))\
16 })\
17 ")
18})()
19for (var j = 0; j < 999; j++) {
20 h()
21}