Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: src/factory.h

Issue 8104: Regexp caching (Closed)
Patch Set: Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698