Index: src/factory.h |
=================================================================== |
--- src/factory.h (revision 1426) |
+++ src/factory.h (working copy) |
@@ -316,21 +316,13 @@ |
Handle<FixedArray> keys); |
// Creates a new FixedArray that holds the data associated with the |
- // 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); |
+ // 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); |
- // 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); |