| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 6edeb839da5ced492618dee7455af0594b2be0c0..3011c675a67c03b751c8626fc02b15c7a3712151 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4817,7 +4817,9 @@ class HandlerTable : public FixedArray {
|
| inline void SetReturnOffset(int index, int value);
|
| inline void SetReturnHandler(int index, int offset);
|
|
|
| - // Lookup handler in a table based on ranges.
|
| + // Lookup handler in a table based on ranges. The {pc_offset} is an offset to
|
| + // the start of the potentially throwing instruction (using return addresses
|
| + // for this value would be invalid).
|
| int LookupRange(int pc_offset, int* data, CatchPrediction* prediction);
|
|
|
| // Lookup handler in a table based on return addresses.
|
| @@ -5002,9 +5004,6 @@ class BytecodeArray : public FixedArrayBase {
|
|
|
| void CopyBytecodesTo(BytecodeArray* to);
|
|
|
| - int LookupRangeInHandlerTable(int code_offset, int* data,
|
| - HandlerTable::CatchPrediction* prediction);
|
| -
|
| // Layout description.
|
| static const int kConstantPoolOffset = FixedArrayBase::kHeaderSize;
|
| static const int kHandlerTableOffset = kConstantPoolOffset + kPointerSize;
|
|
|