Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 598170c3e528a03e16f2cef43a3a58b82f96fd29..cc4300592c0dd9b895656d3ad3929bc40226dfcd 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -955,7 +955,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()); |
@@ -969,6 +969,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()); |
} |