Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 4dd64aad63af3154caa64e650a15e0138865109c..86f2a1166b641b551412926cf46fed5ce765db01 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -983,7 +983,8 @@ int OptimizedFrame::LookupExceptionHandlerInTable(int* stack_slots) { |
HandlerTable* table = HandlerTable::cast(code->handler_table()); |
int pc_offset = static_cast<int>(pc() - code->entry()); |
*stack_slots = code->stack_slots(); |
- return table->LookupReturn(pc_offset); |
+ HandlerTable::CatchPrediction prediction; // TODO(yangguo): For debugger. |
+ return table->LookupReturn(pc_offset, &prediction); |
} |