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

Unified Diff: src/factory.h

Issue 2547483002: Store SharedFunctionInfos of a Script in a FixedArray indexed by their ID (Closed)
Patch Set: 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 e1347ffcefd5c63d298480f3aa9fd3e563183925..31062dfa03de4cee849d4ce0a90e6ec0cf6b5684 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(
+ 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);
« src/debug/liveedit.js ('K') | « src/debug/liveedit.js ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698