Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 6a16f885c98b0c8fe6de1c484b75abf1c8c9ae15..50f407bb0cca20b8f28c42ca9cc40f98f7975d03 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -8564,6 +8564,9 @@ class FunctionTemplateInfo: public TemplateInfo { |
DECL_ACCESSORS(access_check_info, Object) |
DECL_ACCESSORS(flag, Smi) |
+ inline int length(); |
+ inline void set_length(int value); |
+ |
// Following properties use flag bits. |
DECL_BOOLEAN_ACCESSORS(hidden_prototype) |
DECL_BOOLEAN_ACCESSORS(undetectable) |
@@ -8597,7 +8600,8 @@ class FunctionTemplateInfo: public TemplateInfo { |
static const int kAccessCheckInfoOffset = |
kInstanceCallHandlerOffset + kPointerSize; |
static const int kFlagOffset = kAccessCheckInfoOffset + kPointerSize; |
- static const int kSize = kFlagOffset + kPointerSize; |
+ static const int kLengthOffset = kFlagOffset + kPointerSize; |
+ static const int kSize = kLengthOffset + kPointerSize; |
private: |
// Bit position in the flag, from least significant bit position. |