Index: src/compiler/frame-elider.cc |
diff --git a/src/compiler/frame-elider.cc b/src/compiler/frame-elider.cc |
index 5ad4aad41eb35c2bdf30e047aae1756b56792f5b..bb17d1215ff7f3e933d21ffc8b2279717ec94d11 100644 |
--- a/src/compiler/frame-elider.cc |
+++ b/src/compiler/frame-elider.cc |
@@ -24,7 +24,8 @@ void FrameElider::MarkBlocks() { |
for (int i = block->code_start(); i < block->code_end(); ++i) { |
const Instruction* instr = InstructionAt(i); |
if (instr->IsCall() || instr->IsDeoptimizeCall() || |
- instr->arch_opcode() == ArchOpcode::kArchStackPointer) { |
+ instr->arch_opcode() == ArchOpcode::kArchStackPointer || |
+ instr->arch_opcode() == ArchOpcode::kArchFramePointer) { |
block->mark_needs_frame(); |
break; |
} |