Index: src/x64/virtual-frame-x64.cc |
diff --git a/src/x64/virtual-frame-x64.cc b/src/x64/virtual-frame-x64.cc |
index 88e7cc8811bc31d0e882c0b5b934671ab9638604..e88a993b25c864d003999360d6df8e7f48f71250 100644 |
--- a/src/x64/virtual-frame-x64.cc |
+++ b/src/x64/virtual-frame-x64.cc |
@@ -259,7 +259,7 @@ void VirtualFrame::Push(Expression* expr) { |
VariableProxy* proxy = expr->AsVariableProxy(); |
if (proxy != NULL) { |
- Slot* slot = proxy->var()->slot(); |
+ Slot* slot = proxy->var()->AsSlot(); |
if (slot->type() == Slot::LOCAL) { |
PushLocalAt(slot->index()); |
return; |