Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 1a0c47a79f4c611eff49f39fb3c5d2037e88949d..4e4aa8d7d0aeeab37e0820a3b1ca4b06fcccd927 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6779,6 +6779,9 @@ class Script: public Struct { |
// [flags]: Holds an exciting bitfield. |
DECL_ACCESSORS(flags, Smi) |
+ // [source_url]: the source url (from source map comment) |
+ DECL_ACCESSORS(source_url, Object) |
+ |
// [compilation_type]: how the the script was compiled. Encoded in the |
// 'flags' field. |
inline CompilationType compilation_type(); |
@@ -6835,7 +6838,8 @@ class Script: public Struct { |
kEvalFromSharedOffset + kPointerSize; |
static const int kFlagsOffset = |
kEvalFrominstructionsOffsetOffset + kPointerSize; |
- static const int kSize = kFlagsOffset + kPointerSize; |
+ static const int kSourceUrlOffset = kFlagsOffset + kPointerSize; |
+ static const int kSize = kSourceUrlOffset + kPointerSize; |
private: |
int GetLineNumberWithArray(int code_pos); |