Index: src/factory.h |
=================================================================== |
--- src/factory.h (revision 1489) |
+++ src/factory.h (working copy) |
@@ -317,13 +317,21 @@ |
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, |
Handle<Object> prototype); |