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