Index: src/ast-numbering.cc |
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc |
index 4ec93eded0ee289fda1d2658ee82753637f5c48d..6f5701309cf0310edb5e628b27ecaab03afce923 100644 |
--- a/src/ast-numbering.cc |
+++ b/src/ast-numbering.cc |
@@ -174,6 +174,7 @@ void AstNumberingVisitor::VisitSuperReference(SuperReference* node) { |
ReserveFeedbackSlots(node); |
node->set_base_id(ReserveIdRange(SuperReference::num_ids())); |
Visit(node->this_var()); |
+ Visit(node->home_object_var()); |
} |
@@ -525,6 +526,8 @@ bool AstNumberingVisitor::Renumber(FunctionLiteral* node) { |
DisableCrankshaft(kContextAllocatedArguments); |
} |
+ ReserveFeedbackSlots(node); |
+ |
VisitDeclarations(scope->declarations()); |
if (scope->is_function_scope() && scope->function() != NULL) { |
// Visit the name of the named function expression. |