Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index a86253d5a5b62c82244007dc44426faf28e7bb6b..ab8a351e7e388dbbb7a2afd978413bbc1a13e36f 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7930,12 +7930,11 @@ class JSRegExp: public JSObject { |
FixedArray::kHeaderSize + kIrregexpCaptureCountIndex * kPointerSize; |
// In-object fields. |
- static const int kSourceFieldIndex = 0; |
- static const int kGlobalFieldIndex = 1; |
- static const int kIgnoreCaseFieldIndex = 2; |
- static const int kMultilineFieldIndex = 3; |
- static const int kLastIndexFieldIndex = 4; |
- static const int kInObjectFieldCount = 5; |
+ static const int kGlobalFieldIndex = 0; |
+ static const int kIgnoreCaseFieldIndex = 1; |
+ static const int kMultilineFieldIndex = 2; |
+ static const int kLastIndexFieldIndex = 3; |
+ static const int kInObjectFieldCount = 4; |
// The uninitialized value for a regexp code object. |
static const int kUninitializedValue = -1; |
@@ -8816,6 +8815,9 @@ class String: public Name { |
friend class String; |
}; |
+ template <typename Char> |
+ Vector<const Char> GetCharVector(); |
+ |
// Get and set the length of the string. |
inline int length() const; |
inline void set_length(int value); |