Commit da8fd00e authored by mtrofin's avatar mtrofin Committed by Commit bot

In addition to blocks making calls, blocks making the deopt call also

need to be marked as such.

BUG=

Review URL: https://codereview.chromium.org/1505683002

Cr-Commit-Position: refs/heads/master@{#32643}
parent 0ed08780
......@@ -22,7 +22,8 @@ void FrameElider::MarkBlocks() {
for (auto block : instruction_blocks()) {
if (block->needs_frame()) continue;
for (auto i = block->code_start(); i < block->code_end(); ++i) {
if (InstructionAt(i)->IsCall()) {
if (InstructionAt(i)->IsCall() ||
InstructionAt(i)->opcode() == ArchOpcode::kArchDeoptimize) {
block->mark_needs_frame();
break;
}
......
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