Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 04fb78e6dd2e8795821cb3bedeb9cad5577ee619..e5e8d55cce10b60c32e511c1b1e650195bf1f4f8 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5280,6 +5280,14 @@ int AbstractCode::instruction_size() { |
} |
} |
+ByteArray* AbstractCode::source_position_table() { |
+ if (IsCode()) { |
+ return GetCode()->source_position_table(); |
+ } else { |
+ return GetBytecodeArray()->source_position_table(); |
+ } |
+} |
+ |
int AbstractCode::SizeIncludingMetadata() { |
if (IsCode()) { |
return GetCode()->SizeIncludingMetadata(); |