Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 382c11ce8626d43817b539c7a20418b46104c83f..c8954ba2c68db6863539237c7f51815a36f8cfcf 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -938,7 +938,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()); |
@@ -957,6 +957,11 @@ LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { |
} |
+LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { |
+ return new (zone()) LPrologue(); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) { |
return new(zone()) LDebugBreak(); |
} |