Chromium Code Reviews| Index: src/factory.h |
| diff --git a/src/factory.h b/src/factory.h |
| index 42de71c3601b8238f7c19ac5f134899cb5e5673f..3b3e2bb7a3d3867e3f7649e3d790c0c71e1c5faa 100644 |
| --- a/src/factory.h |
| +++ b/src/factory.h |
| @@ -308,6 +308,12 @@ class Factory : public AllStatic { |
| static Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context, |
| Handle<FixedArray> keys); |
| + static void SetRegExpData(Handle<JSRegExp> regexp, |
|
Kasper Lund
2008/10/24 06:42:50
Maybe a comment here? Does it set the type, source
|
| + JSRegExp::Type type, |
| + Handle<String> source, |
| + int flags, |
| + Handle<Object> data); |
| + |
| private: |
| static Handle<JSFunction> NewFunctionHelper(Handle<String> name, |
| Handle<Object> prototype); |