Index: src/crankshaft/x87/lithium-x87.cc |
diff --git a/src/crankshaft/x87/lithium-x87.cc b/src/crankshaft/x87/lithium-x87.cc |
index 51d9cd697b1a716a8e37996111f0daeb0de93faf..1f9176d2c4a6901f0e496d975a570da46101b67c 100644 |
--- a/src/crankshaft/x87/lithium-x87.cc |
+++ b/src/crankshaft/x87/lithium-x87.cc |
@@ -960,7 +960,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; |