Index: src/compiler/frame-elider.cc |
diff --git a/src/compiler/frame-elider.cc b/src/compiler/frame-elider.cc |
index 1263c3f8e122498829699c56455f12d54e31eaed..1168467612a60511a282e5f88e424c7573b35db3 100644 |
--- a/src/compiler/frame-elider.cc |
+++ b/src/compiler/frame-elider.cc |
@@ -20,6 +20,7 @@ void FrameElider::Run() { |
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()) { |
block->mark_needs_frame(); |