Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index 1db7d6b4b2383d1e4482bb76bebdfa8595be0811..bdf49bfff009e94a0c66c33bd7c30ac5d940fb6b 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.cc |
@@ -756,7 +756,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()); |
@@ -781,6 +781,11 @@ LInstruction* LChunkBuilder::AssignEnvironment(LInstruction* instr) { |
} |
+LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { |
+ return new (zone()) LPrologue(); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
// The control instruction marking the end of a block that completed |
// abruptly (e.g., threw an exception). There is nothing specific to do. |