| Index: src/ast/ast-numbering.cc
|
| diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc
|
| index 07d60cf84ab6fd5085b861834a4eb48c6ff149ed..7b13f1740cd4de2f4887abc65703599b28715a9b 100644
|
| --- a/src/ast/ast-numbering.cc
|
| +++ b/src/ast/ast-numbering.cc
|
| @@ -125,6 +125,7 @@ void AstNumberingVisitor::VisitNativeFunctionLiteral(
|
| IncrementNodeCount();
|
| DisableOptimization(kNativeFunctionLiteral);
|
| node->set_base_id(ReserveIdRange(NativeFunctionLiteral::num_ids()));
|
| + ReserveFeedbackSlots(node);
|
| }
|
|
|
|
|
| @@ -595,6 +596,7 @@ void AstNumberingVisitor::VisitFunctionLiteral(FunctionLiteral* node) {
|
| node->set_base_id(ReserveIdRange(FunctionLiteral::num_ids()));
|
| // We don't recurse into the declarations or body of the function literal:
|
| // you have to separately Renumber() each FunctionLiteral that you compile.
|
| + ReserveFeedbackSlots(node);
|
| }
|
|
|
|
|
|
|