| Index: src/crankshaft/mips/lithium-mips.cc
|
| diff --git a/src/crankshaft/mips/lithium-mips.cc b/src/crankshaft/mips/lithium-mips.cc
|
| index a7880eee87d2a7ce18708c2ee5286d0e943888e4..7cfe2798217ec3d927dc698643c6ff49c64773e1 100644
|
| --- a/src/crankshaft/mips/lithium-mips.cc
|
| +++ b/src/crankshaft/mips/lithium-mips.cc
|
| @@ -887,7 +887,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;
|
|
|