mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 12:45:25 +00:00

Move up to the latest patch level from the V8 4.6 branch: https://github.com/v8/v8/compare/4.6.85.23...4.6.85.25 PR-URL: https://github.com/nodejs/node/pull/3351 Reviewed-By: indutny - Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
44 lines
1.7 KiB
JavaScript
44 lines
1.7 KiB
JavaScript
// Copyright 2015 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.
|
|
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
// comments to trigger lazy compilation comments to trigger lazy compilation
|
|
|
|
// Test that IIFEs are compilable even under lazy conditions where the enclosing
|
|
// parentheses heuristic has not been triggered.
|
|
|
|
function f() {
|
|
return function(){ return 0; }();
|
|
}
|
|
|
|
function g() {
|
|
function h() {
|
|
return function(){ return 0; }();
|
|
}
|
|
return h();
|
|
}
|
|
|
|
f();
|
|
|
|
g();
|
|
|
|
0, function(){}();
|
|
|
|
(function(){ 0, function(){}(); })();
|
|
|
|
0, function(){ (function(){ 0, function(){}(); })(); }();
|