Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 9569de97329d9316e684448e8478d32a4377cffa..0ec38664daa5b2957d7d6de7471ff69a5def951c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7933,12 +7933,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; |
@@ -8819,6 +8818,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); |