Index: src/ia32/virtual-frame-ia32.cc |
diff --git a/src/ia32/virtual-frame-ia32.cc b/src/ia32/virtual-frame-ia32.cc |
index 5f1e1e4e5e267c8c343c868538f9c249cc93d470..a31f6e836004dd0d196a2aeb11af7510e43c138e 100644 |
--- a/src/ia32/virtual-frame-ia32.cc |
+++ b/src/ia32/virtual-frame-ia32.cc |
@@ -1313,7 +1313,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; |