Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index b8021366a2190fafde436ff184f3db6deb966703..5351d6fffd85b704cc0c6610847ae339e8f2c860 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -1232,7 +1232,7 @@ void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) { |
SetStatementPosition(stmt); |
__ DebugBreak(); |
- // Ignore the return value. |
+ __ MaybeDropFrames(); |
PrepareForBailoutForId(stmt->DebugBreakId(), BailoutState::NO_REGISTERS); |
} |