Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 7e4ba3ab098a99f4b8405400f068adb4add5f6b1..158a83fa6bf3d6e027ebfb92743fc3101f9b202c 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5340,6 +5340,14 @@ ByteArray* AbstractCode::source_position_table() { |
} |
} |
+void AbstractCode::set_source_position_table(ByteArray* source_position_table) { |
+ if (IsCode()) { |
+ GetCode()->set_source_position_table(source_position_table); |
+ } else { |
+ GetBytecodeArray()->set_source_position_table(source_position_table); |
+ } |
+} |
+ |
int AbstractCode::LookupRangeInHandlerTable( |
int code_offset, int* data, HandlerTable::CatchPrediction* prediction) { |
if (IsCode()) { |