Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 46b457c18917d61324c0ea83f54612a4a7c2f6ee..1ac1b5e8c4525f0a598eacd536865d6fed4276b9 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5171,7 +5171,9 @@ class HandlerTable : public FixedArray { |
void SetRangeEnd(int index, int value) { |
set(index * kRangeEntrySize + kRangeEndIndex, Smi::FromInt(value)); |
} |
- void SetRangeHandler(int index, int value) { |
+ void SetRangeHandler(int index, int offset, CatchPrediction prediction) { |
+ int value = HandlerOffsetField::encode(offset) | |
+ HandlerPredictionField::encode(prediction); |
set(index * kRangeEntrySize + kRangeHandlerIndex, Smi::FromInt(value)); |
} |
void SetRangeDepth(int index, int value) { |
@@ -5189,7 +5191,7 @@ class HandlerTable : public FixedArray { |
} |
// Lookup handler in a table based on ranges. |
- int LookupRange(int pc_offset, int* stack_depth); |
+ int LookupRange(int pc_offset, int* stack_depth, CatchPrediction* prediction); |
// Lookup handler in a table based on return addresses. |
int LookupReturn(int pc_offset, CatchPrediction* prediction); |