Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index f4c21acd8952197384422f7a64c657e94de86991..f41667a886d2518db991c13cfc59c6aeffc93b98 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3410,6 +3410,12 @@ int HandlerTable::GetRangeData(int index) const { |
return Smi::cast(get(index * kRangeEntrySize + kRangeDataIndex))->value(); |
} |
+HandlerTable::CatchPrediction HandlerTable::GetRangePrediction( |
+ int index) const { |
+ return HandlerPredictionField::decode( |
+ Smi::cast(get(index * kRangeEntrySize + kRangeHandlerIndex))->value()); |
+} |
+ |
void HandlerTable::SetRangeStart(int index, int value) { |
set(index * kRangeEntrySize + kRangeStartIndex, Smi::FromInt(value)); |
} |