| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 8fe7fa77131cd5c42d00abc4d6075d323b64b2b9..513f3190619b7469fe76022b5571ce2005a856e8 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -7199,9 +7199,7 @@ class String: public HeapObject {
|
| // Returns a hash value used for the property table
|
| inline uint32_t Hash();
|
|
|
| - static bool ComputeArrayIndex(unibrow::CharacterStream* buffer,
|
| - uint32_t* index,
|
| - int length);
|
| + bool ComputeArrayIndex(uint32_t* index);
|
|
|
| // Externalization.
|
| bool MakeExternal(v8::String::ExternalStringResource* resource);
|
| @@ -7897,11 +7895,11 @@ class ConsStringIteratorOp {
|
| class StringCharacterStream {
|
| public:
|
| inline StringCharacterStream(String* string,
|
| - unsigned offset,
|
| - ConsStringIteratorOp* op);
|
| + ConsStringIteratorOp* op,
|
| + unsigned offset = 0);
|
| inline uint16_t GetNext();
|
| inline bool HasMore();
|
| - inline void Reset(String* string, unsigned offset, ConsStringIteratorOp* op);
|
| + inline void Reset(String* string, unsigned offset = 0);
|
| inline void VisitOneByteString(const uint8_t* chars, unsigned length);
|
| inline void VisitTwoByteString(const uint16_t* chars, unsigned length);
|
|
|
|
|