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

Unified Diff: src/factory.h

Issue 2547483002: Store SharedFunctionInfos of a Script in a FixedArray indexed by their ID (Closed)
Patch Set: updates Created 4 years 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 068ab034afbe1b585e112b490965195562c8909e..045775c331a959b0d858031ce7e8ec48c071e59d 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -45,6 +45,10 @@ class V8_EXPORT_PRIVATE Factory final {
int size,
PretenureFlag pretenure = NOT_TENURED);
+ // Allocate a new fixed array with Smi entries.
+ Handle<FixedArray> NewFixedArrayWithSmis(
Toon Verwaest 2016/12/06 21:10:14 This doesn't seem like a very generic function; do
jochen (gone - plz use gerrit) 2016/12/07 15:57:00 done
+ int size, int value, PretenureFlag pretenure = NOT_TENURED);
+
// Allocates an uninitialized fixed array. It must be filled by the caller.
Handle<FixedArray> NewUninitializedFixedArray(int size);

Powered by Google App Engine
This is Rietveld 408576698