Index: src/crankshaft/x64/lithium-x64.cc |
diff --git a/src/crankshaft/x64/lithium-x64.cc b/src/crankshaft/x64/lithium-x64.cc |
index 5e2e9fa4cd48ba6df9004ddcc51280a1fb4f58e2..24d596893f975c52e2634c61172afafe69999fb5 100644 |
--- a/src/crankshaft/x64/lithium-x64.cc |
+++ b/src/crankshaft/x64/lithium-x64.cc |
@@ -942,7 +942,7 @@ LInstruction* LChunkBuilder::DoGoto(HGoto* 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; |