Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index a7795a6c37238d4c2662a9e80a2ab890342c2b70..532211603e06c0eea09f581be0331e11fb817268 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5335,6 +5335,16 @@ ByteArray* AbstractCode::source_position_table() { |
} |
} |
+int AbstractCode::LookupRangeInHandlerTable( |
+ int code_offset, int* data, HandlerTable::CatchPrediction* prediction) { |
+ if (IsCode()) { |
+ return GetCode()->LookupRangeInHandlerTable(code_offset, data, prediction); |
+ } else { |
+ return GetBytecodeArray()->LookupRangeInHandlerTable(code_offset, data, |
+ prediction); |
+ } |
+} |
+ |
int AbstractCode::SizeIncludingMetadata() { |
if (IsCode()) { |
return GetCode()->SizeIncludingMetadata(); |