Commit bf05c627 authored by Georgia Kouveli's avatar Georgia Kouveli Committed by Commit Bot

[turbofan] Check the return value of AssembleDeoptimizerCall.

Change-Id: I5e50e49a5ffe03f86e0da3d60083cafa83f5c6c6
Reviewed-on: https://chromium-review.googlesource.com/1055494Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Georgia Kouveli <georgia.kouveli@arm.com>
Cr-Commit-Position: refs/heads/master@{#53143}
parent dba31f67
......@@ -293,7 +293,8 @@ void CodeGenerator::AssembleCode() {
last_updated = safepoints()->UpdateDeoptimizationInfo(
ds->pc_offset(), trampoline_pc, last_updated);
}
AssembleDeoptimizerCall(deoptimization_id, exit->pos());
result_ = AssembleDeoptimizerCall(deoptimization_id, exit->pos());
if (result_ != kSuccess) return;
}
FinishCode();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment