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

Unified Diff: src/factory.h

Issue 93066: Built-in JSON support (Closed)
Patch Set: Created 11 years, 8 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 54f2089f7466a35e366597c64d23a2e1fe683062..9fe084e117cd91e12713c30f135a88ee93a3c8f4 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -163,6 +163,10 @@ class Factory : public AllStatic {
static Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array);
+ // Creates a copy of this function using a copy of the original
+ // function's shared function info.
+ static Handle<JSFunction> CopyFunctionDeep(Handle<JSFunction> fun);
+
// Numbers (eg, literals) are pretenured by the parser.
static Handle<Object> NewNumber(double value,
PretenureFlag pretenure = NOT_TENURED);

Powered by Google App Engine
This is Rietveld 408576698