| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index cca5aebda2222a9c591351a75f7da3cfca573582..7b51362546416aa1c8d59a98b5d47f96d23919a4 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -929,7 +929,7 @@ Handle<SharedFunctionInfo> Compiler::BuildFunctionInfo(FunctionLiteral* literal,
|
| Handle<ScopeInfo> scope_info(ScopeInfo::Empty());
|
|
|
| // Generate code
|
| - if (FLAG_lazy && allow_lazy) {
|
| + if (FLAG_lazy && allow_lazy && !literal->is_parenthesized()) {
|
| Handle<Code> code = info.isolate()->builtins()->LazyCompile();
|
| info.SetCode(code);
|
| } else if (GenerateCode(&info)) {
|
|
|