Index: src/data-flow.cc |
diff --git a/src/data-flow.cc b/src/data-flow.cc |
index d480c1bcf9d89bcd5017a4ce9227419f761d726f..44a10506bce0a242da739ca72f0fcec6e7ab991b 100644 |
--- a/src/data-flow.cc |
+++ b/src/data-flow.cc |
@@ -125,7 +125,7 @@ Variable* AssignedVariablesAnalyzer::FindSmiLoopVariable(ForStatement* stmt) { |
int AssignedVariablesAnalyzer::BitIndex(Variable* var) { |
ASSERT(var != NULL); |
ASSERT(var->IsStackAllocated()); |
- Slot* slot = var->slot(); |
+ Slot* slot = var->AsSlot(); |
if (slot->type() == Slot::PARAMETER) { |
return slot->index(); |
} else { |