Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index ec58f8d670c9432d57f89d57af486723782aea0e..0504fa13fd1a1373d1a1ceb4c42bae2b6c3e4981 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -914,7 +914,7 @@ void LChunkBuilder::AddInstruction(LInstruction* instr, |
} |
chunk_->AddInstruction(instr, current_block_); |
- if (instr->IsCall()) { |
+ if (instr->IsCall() || instr->IsPrologue()) { |
HValue* hydrogen_value_for_lazy_bailout = hydrogen_val; |
if (hydrogen_val->HasObservableSideEffects()) { |
HSimulate* sim = HSimulate::cast(hydrogen_val->next()); |
@@ -928,6 +928,11 @@ void LChunkBuilder::AddInstruction(LInstruction* instr, |
} |
+LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { |
+ return new (zone()) LPrologue(); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { |
return new(zone()) LGoto(instr->FirstSuccessor()); |
} |