diff options
Diffstat (limited to 'deps/v8/src/factory.h')
-rw-r--r-- | deps/v8/src/factory.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/deps/v8/src/factory.h b/deps/v8/src/factory.h index 60b53a860d..8146205559 100644 --- a/deps/v8/src/factory.h +++ b/deps/v8/src/factory.h @@ -9,7 +9,10 @@ #include "src/globals.h" #include "src/isolate.h" #include "src/messages.h" +#include "src/objects/descriptor-array.h" +#include "src/objects/dictionary.h" #include "src/objects/scope-info.h" +#include "src/string-hasher.h" namespace v8 { namespace internal { @@ -325,6 +328,10 @@ class V8_EXPORT_PRIVATE Factory final { Handle<BreakPointInfo> NewBreakPointInfo(int source_position); Handle<StackFrameInfo> NewStackFrameInfo(); + Handle<SourcePositionTableWithFrameCache> + NewSourcePositionTableWithFrameCache( + Handle<ByteArray> source_position_table, + Handle<UnseededNumberDictionary> stack_frame_cache); // Foreign objects are pretenured when allocated by the bootstrapper. Handle<Foreign> NewForeign(Address addr, @@ -472,6 +479,10 @@ class V8_EXPORT_PRIVATE Factory final { Handle<Map> map, PretenureFlag pretenure = NOT_TENURED, Handle<AllocationSite> allocation_site = Handle<AllocationSite>::null()); + Handle<JSObject> NewSlowJSObjectFromMap( + Handle<Map> map, + int number_of_slow_properties = NameDictionary::kInitialCapacity, + PretenureFlag pretenure = NOT_TENURED); // JS arrays are pretenured when allocated by the parser. @@ -763,9 +774,8 @@ class V8_EXPORT_PRIVATE Factory final { // Return a map for given number of properties using the map cache in the // native context. - Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context, - int number_of_properties, - bool* is_result_from_cache); + Handle<Map> ObjectLiteralMapFromCache(Handle<Context> native_context, + int number_of_properties); Handle<RegExpMatchInfo> NewRegExpMatchInfo(); |