| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index f28289650c9a269231dc536f868a8f20911789be..143235cee9c0c5fbea2e1fc27abcb58707064bfc 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -316,12 +316,20 @@ class Factory : public AllStatic {
|
| Handle<FixedArray> keys);
|
|
|
| // Creates a new FixedArray that holds the data associated with the
|
| - // regexp and stores it in the regexp.
|
| - static void SetRegExpData(Handle<JSRegExp> regexp,
|
| - JSRegExp::Type type,
|
| - Handle<String> source,
|
| - JSRegExp::Flags flags,
|
| - Handle<Object> data);
|
| + // atom regexp and stores it in the regexp.
|
| + static void SetRegExpAtomData(Handle<JSRegExp> regexp,
|
| + JSRegExp::Type type,
|
| + Handle<String> source,
|
| + JSRegExp::Flags flags,
|
| + Handle<Object> match_pattern);
|
| +
|
| + // Creates a new FixedArray that holds the data associated with the
|
| + // irregexp regexp and stores it in the regexp.
|
| + static void SetRegExpIrregexpData(Handle<JSRegExp> regexp,
|
| + JSRegExp::Type type,
|
| + Handle<String> source,
|
| + JSRegExp::Flags flags,
|
| + int capture_count);
|
|
|
| private:
|
| static Handle<JSFunction> NewFunctionHelper(Handle<String> name,
|
|
|