| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index ca3ab7851d39f69528d2291cf45c314f1bf4743a..3a9118f19100a83c95b95c332e54ccf783017909 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -417,8 +417,8 @@ bool Declaration::IsInlineable() const {
|
| return proxy()->var()->IsStackAllocated();
|
| }
|
|
|
| -bool VariableDeclaration::IsInlineable() const {
|
| - return Declaration::IsInlineable() && fun() == NULL;
|
| +bool FunctionDeclaration::IsInlineable() const {
|
| + return false;
|
| }
|
|
|
|
|
| @@ -995,6 +995,7 @@ CaseClause::CaseClause(Isolate* isolate,
|
| }
|
|
|
| INCREASE_NODE_COUNT(VariableDeclaration)
|
| +INCREASE_NODE_COUNT(FunctionDeclaration)
|
| INCREASE_NODE_COUNT(ModuleDeclaration)
|
| INCREASE_NODE_COUNT(ModuleLiteral)
|
| INCREASE_NODE_COUNT(ModuleVariable)
|
|
|