diff options
Diffstat (limited to 'deps/v8/src/compiler/frame-elider.cc')
-rw-r--r-- | deps/v8/src/compiler/frame-elider.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/compiler/frame-elider.cc b/deps/v8/src/compiler/frame-elider.cc index f800b7786f..7c3f9b2741 100644 --- a/deps/v8/src/compiler/frame-elider.cc +++ b/deps/v8/src/compiler/frame-elider.cc @@ -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; } |