| Index: src/crankshaft/hydrogen.cc | 
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc | 
| index 73ab4e3a87940681c8b4beb338e849500376f25c..196e586e9e6d459e620cc607cbe78394044cb107 100644 | 
| --- a/src/crankshaft/hydrogen.cc | 
| +++ b/src/crankshaft/hydrogen.cc | 
| @@ -5287,10 +5287,11 @@ void HOptimizedGraphBuilder::VisitVariableProxy(VariableProxy* expr) { | 
| return; | 
| } else { | 
| Handle<TypeFeedbackVector> vector(current_feedback_vector(), isolate()); | 
| +        FeedbackVectorSlot slot = expr->VariableFeedbackSlot(); | 
| +        DCHECK(vector->IsLoadGlobalIC(slot)); | 
|  | 
| HValue* vector_value = Add<HConstant>(vector); | 
| -        HValue* slot_value = | 
| -            Add<HConstant>(vector->GetIndex(expr->VariableFeedbackSlot())); | 
| +        HValue* slot_value = Add<HConstant>(vector->GetIndex(slot)); | 
| Callable callable = CodeFactory::LoadGlobalICInOptimizedCode( | 
| isolate(), ast_context()->typeof_mode()); | 
| HValue* stub = Add<HConstant>(callable.code()); | 
|  |