Index: src/crankshaft/arm/lithium-arm.cc |
diff --git a/src/crankshaft/arm/lithium-arm.cc b/src/crankshaft/arm/lithium-arm.cc |
index 456ef6b04d0e4dcee399f66e923c789e55cf9220..5c93840768932699d83bf1d6bc8a6c2e28177e7c 100644 |
--- a/src/crankshaft/arm/lithium-arm.cc |
+++ b/src/crankshaft/arm/lithium-arm.cc |
@@ -912,7 +912,7 @@ void LChunkBuilder::AddInstruction(LInstruction* instr, |
LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { |
LInstruction* result = new (zone()) LPrologue(); |
- if (info_->num_heap_slots() > 0) { |
+ if (info_->scope()->num_heap_slots() > 0) { |
result = MarkAsCall(result, instr); |
} |
return result; |