| Index: src/ast/ast.cc | 
| diff --git a/src/ast/ast.cc b/src/ast/ast.cc | 
| index 5b98e3165447f69f292b898139d85d8ab5161b6c..8c2d98a1c8c951acb832503a4d943ef05ab3a78d 100644 | 
| --- a/src/ast/ast.cc | 
| +++ b/src/ast/ast.cc | 
| @@ -283,8 +283,13 @@ Assignment::Assignment(Token::Value op, Expression* target, Expression* value, | 
|  | 
| void Assignment::AssignFeedbackSlots(FeedbackVectorSpec* spec, | 
| LanguageMode language_mode, | 
| -                                     FeedbackSlotCache* cache) { | 
| +                                     FeedbackSlotCache* cache, | 
| +                                     bool collect_type_profile) { | 
| AssignVectorSlots(target(), spec, language_mode, &slot_); | 
| + | 
| +  if (collect_type_profile) { | 
| +    type_profile_slot_ = spec->AddTypeProfileSlot(); | 
| +  } | 
| } | 
|  | 
| void CountOperation::AssignFeedbackSlots(FeedbackVectorSpec* spec, | 
|  |