Index: src/x87/lithium-x87.cc |
diff --git a/src/x87/lithium-x87.cc b/src/x87/lithium-x87.cc |
index 1e60a44be2af9c7d4d82e7e665d38aa12cf89602..472d9c58805d6a2fea2b4bfcb8272a66920ebf5a 100644 |
--- a/src/x87/lithium-x87.cc |
+++ b/src/x87/lithium-x87.cc |
@@ -973,7 +973,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()); |
@@ -987,6 +987,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()); |
} |