Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 31147dd2002af2b97db93d82d4eaedc5634f58a8..b7446fd7422f2e24182209e8f06351fb6db42800 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -642,8 +642,8 @@ int LookupCatchHandler(TranslatedFrame* translated_frame, int* data_out) { |
JSFunction* function = |
JSFunction::cast(translated_frame->begin()->GetRawValue()); |
BytecodeArray* bytecode = function->shared()->bytecode_array(); |
- return bytecode->LookupRangeInHandlerTable(bytecode_offset, data_out, |
- nullptr); |
+ HandlerTable* table = HandlerTable::cast(bytecode->handler_table()); |
+ return table->LookupRange(bytecode_offset, data_out, nullptr); |
} |
default: |
break; |