Chromium Code Reviews| Index: src/ast.cc | 
| diff --git a/src/ast.cc b/src/ast.cc | 
| index 06846ffb8f5c431c938beb5ced8bb0f2ad55d0b2..6a070c7d081b42eca54baced43c55b6a65e7aa8e 100644 | 
| --- a/src/ast.cc | 
| +++ b/src/ast.cc | 
| @@ -308,6 +308,10 @@ FeedbackVectorRequirements ClassLiteral::ComputeFeedbackRequirements( | 
| if (FunctionLiteral::NeedsHomeObject(value)) ic_slots++; | 
| } | 
| + if (scope() != NULL && class_variable_proxy()->var()->IsUnallocated()) { | 
| + ic_slots++; | 
| + } | 
| + | 
| #ifdef DEBUG | 
| // FullCodeGenerator::VisitClassLiteral verifies that it consumes slot_count_ | 
| // slots. |