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

Unified Diff: src/factory.h

Issue 669060: Add runtime function for string to array conversion. (Closed)
Patch Set: Created 10 years, 10 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
« no previous file with comments | « src/builtins.cc ('k') | src/factory.cc » ('j') | src/factory.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 2a347cd6fd0e0f2eda7ffe434693039646f11342..74f492b6e0f3c76d13f3c411e457a736777d0d61 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -45,6 +45,10 @@ class Factory : public AllStatic {
int size,
PretenureFlag pretenure = NOT_TENURED);
+ // Allocate a new uninitialized fixed array. It must be filled by
+ // the caller.
+ static Handle<FixedArray> NewUninitializedFixedArray(int size);
+
// Allocate a new fixed array with non-existing entries (the hole).
static Handle<FixedArray> NewFixedArrayWithHoles(int size);
« no previous file with comments | « src/builtins.cc ('k') | src/factory.cc » ('j') | src/factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698