Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index e57cc5a88ce69a4c7907e8d816db96eebf13a943..f5dcad76e7d1b0ddcec3d44e912e016efcc6d4cf 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -822,8 +822,7 @@ void Debug::PrepareStepOnThrow() { |
JavaScriptFrameIterator it(isolate_); |
while (!it.done()) { |
JavaScriptFrame* frame = it.frame(); |
- int stack_slots = 0; // The computed stack slot count is not used. |
- if (frame->LookupExceptionHandlerInTable(&stack_slots, NULL) > 0) break; |
+ if (frame->LookupExceptionHandlerInTable(nullptr, nullptr) > 0) break; |
it.Advance(); |
} |