diff options
Diffstat (limited to 'deps/v8/src/code-factory.h')
-rw-r--r-- | deps/v8/src/code-factory.h | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/deps/v8/src/code-factory.h b/deps/v8/src/code-factory.h index 033e5d54fb..2500ebd274 100644 --- a/deps/v8/src/code-factory.h +++ b/deps/v8/src/code-factory.h @@ -30,6 +30,12 @@ class Callable final BASE_EMBEDDED { class V8_EXPORT_PRIVATE CodeFactory final { public: + // CEntryStub has var-args semantics (all the arguments are passed on the + // stack and the arguments count is passed via register) which currently + // can't be expressed in CallInterfaceDescriptor. Therefore only the code + // is exported here. + static Handle<Code> RuntimeCEntry(Isolate* isolate, int result_size = 1); + // Initial states for ICs. static Callable LoadIC(Isolate* isolate); static Callable LoadICInOptimizedCode(Isolate* isolate); @@ -99,8 +105,6 @@ class V8_EXPORT_PRIVATE CodeFactory final { static Callable BitwiseAnd(Isolate* isolate); static Callable BitwiseOr(Isolate* isolate); static Callable BitwiseXor(Isolate* isolate); - static Callable Inc(Isolate* isolate); - static Callable Dec(Isolate* isolate); static Callable LessThan(Isolate* isolate); static Callable LessThanOrEqual(Isolate* isolate); static Callable GreaterThan(Isolate* isolate); @@ -112,6 +116,8 @@ class V8_EXPORT_PRIVATE CodeFactory final { static Callable StringAdd(Isolate* isolate, StringAddFlags flags, PretenureFlag pretenure_flag); + static Callable StringCharAt(Isolate* isolate); + static Callable StringCharCodeAt(Isolate* isolate); static Callable StringCompare(Isolate* isolate, Token::Value token); static Callable StringEqual(Isolate* isolate); static Callable StringNotEqual(Isolate* isolate); @@ -122,12 +128,15 @@ class V8_EXPORT_PRIVATE CodeFactory final { static Callable SubString(Isolate* isolate); static Callable Typeof(Isolate* isolate); + static Callable GetSuperConstructor(Isolate* isolate); static Callable FastCloneRegExp(Isolate* isolate); - static Callable FastCloneShallowArray(Isolate* isolate); + static Callable FastCloneShallowArray(Isolate* isolate, + AllocationSiteMode allocation_mode); static Callable FastCloneShallowObject(Isolate* isolate, int length); - static Callable FastNewFunctionContext(Isolate* isolate); + static Callable FastNewFunctionContext(Isolate* isolate, + ScopeType scope_type); static Callable FastNewClosure(Isolate* isolate); static Callable FastNewObject(Isolate* isolate); static Callable FastNewRestParameter(Isolate* isolate, @@ -141,6 +150,9 @@ class V8_EXPORT_PRIVATE CodeFactory final { static Callable GrowFastDoubleElements(Isolate* isolate); static Callable GrowFastSmiOrObjectElements(Isolate* isolate); + static Callable NewUnmappedArgumentsElements(Isolate* isolate); + static Callable NewRestParameterElements(Isolate* isolate); + static Callable AllocateHeapNumber(Isolate* isolate); #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ static Callable Allocate##Type(Isolate* isolate); @@ -155,6 +167,7 @@ class V8_EXPORT_PRIVATE CodeFactory final { Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); static Callable Construct(Isolate* isolate); static Callable ConstructFunction(Isolate* isolate); + static Callable CreateIterResultObject(Isolate* isolate); static Callable HasProperty(Isolate* isolate); static Callable ForInFilter(Isolate* isolate); @@ -166,6 +179,10 @@ class V8_EXPORT_PRIVATE CodeFactory final { static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); static Callable InterpreterOnStackReplacement(Isolate* isolate); + + static Callable ArrayPush(Isolate* isolate); + static Callable FunctionPrototypeBind(Isolate* isolate); + static Callable PromiseHandleReject(Isolate* isolate); }; } // namespace internal |