Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 3ca7f22d74ffcd27ff6b92cfb7efa602cf659c41..4ad45850c021b183d5f1ce9b1019fa593d127746 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -134,7 +134,7 @@ void VariableProxy::AssignFeedbackVectorSlots(Isolate* isolate, |
static_cast<int>(reinterpret_cast<intptr_t>(entry->value))); |
return; |
} |
- variable_feedback_slot_ = spec->AddLoadGlobalICSlot(); |
+ variable_feedback_slot_ = spec->AddLoadGlobalICSlot(var()->name()); |
cache->Put(var(), variable_feedback_slot_); |
} else { |
variable_feedback_slot_ = spec->AddLoadICSlot(); |