mirror of https://github.com/lukechilds/node.git
Browse Source
Pick up the latest set of patch level updates from the V8 5.0 branch. https://github.com/v8/v8/compare/5.0.71.47...5.0.71.52 Fixes: https://github.com/nodejs/node/issues/6158 PR-URL: https://github.com/nodejs/node/pull/6928 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>v6.x
committed by
Rod Vagg
28 changed files with 162 additions and 74 deletions
@ -0,0 +1,10 @@ |
|||
// Copyright 2016 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: --lazy --min-preparse-length=0
|
|||
(function() { |
|||
function CRASH(defaultParameter = |
|||
(function() { function functionDeclaration() { return 0; } }())) { |
|||
} |
|||
})(); |
@ -0,0 +1,9 @@ |
|||
// Copyright 2016 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
|
|||
|
|||
var bound = (function(){}).bind({}); |
|||
assertEquals("Function", %_ClassOf(bound)); |
|||
assertEquals("Function", %ClassOf(bound)); |
@ -0,0 +1,11 @@ |
|||
// Copyright 2016 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 foo() { return JSON.stringify({a: 0.1}); } |
|||
assertEquals('{"a":0.1}', foo()); |
|||
assertEquals('{"a":0.1}', foo()); |
|||
%OptimizeFunctionOnNextCall(foo); |
|||
assertEquals('{"a":0.1}', foo()); |
Loading…
Reference in new issue