Home
last modified time | relevance | path

Searched refs:numSlots (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Dlexical_env.h35 static size_t ComputeSize(uint32_t numSlots) in ComputeSize() argument
37 return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), numSlots + RESERVED_ENV_LENGTH); in ComputeSize()
H A Dsendable_env.h35 static size_t ComputeSize(uint32_t numSlots) in ComputeSize() argument
37 return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), numSlots + SENDABLE_RESERVED_ENV_LENGTH); in ComputeSize()
H A Dobject_factory-inl.h134 LexicalEnv *ObjectFactory::InlineNewLexicalEnv(int numSlots) in InlineNewLexicalEnv() argument
137 size_t size = LexicalEnv::ComputeSize(numSlots); in InlineNewLexicalEnv()
144 array->InitializeWithSpecialValue(JSTaggedValue::Hole(), numSlots + LexicalEnv::RESERVED_ENV_LENGTH); in InlineNewLexicalEnv()
H A Dobject_factory.h288 JSHandle<LexicalEnv> NewLexicalEnv(int numSlots);
290 inline LexicalEnv *InlineNewLexicalEnv(int numSlots);
892 JSHandle<SendableEnv> NewSendableEnv(int numSlots);
H A Dshared_object_factory.cpp912 JSHandle<SendableEnv> ObjectFactory::NewSendableEnv(int numSlots) in NewSendableEnv() argument
915 size_t size = SendableEnv::ComputeSize(numSlots); in NewSendableEnv()
919 array->InitializeWithSpecialValue(JSTaggedValue::Hole(), numSlots + SendableEnv::SENDABLE_RESERVED_ENV_LENGTH); in NewSendableEnv()
H A Dobject_factory.cpp2307 JSHandle<LexicalEnv> ObjectFactory::NewLexicalEnv(int numSlots) in NewLexicalEnv() argument
2310 size_t size = LexicalEnv::ComputeSize(numSlots); in NewLexicalEnv()
2314 array->InitializeWithSpecialValue(JSTaggedValue::Hole(), numSlots + LexicalEnv::RESERVED_ENV_LENGTH); in NewLexicalEnv()
/arkcompiler/runtime_core/static_core/runtime/
H A Dosr.cpp150 auto numSlots {[](size_t bytes) -> size_t { in PrepareOsrEntry()
155 Span paramSlots(reinterpret_cast<uintptr_t *>(cframe.GetStackArgsStart()), numSlots(GetStackParamsSize(iframe))); in PrepareOsrEntry()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dnew_object_stub_builder.h53 void NewLexicalEnv(Variable *result, Label *exit, GateRef numSlots, GateRef parent);
H A Dnew_object_stub_builder.cpp38 void NewObjectStubBuilder::NewLexicalEnv(Variable *result, Label *exit, GateRef numSlots, GateRef parent) in NewLexicalEnv() argument
42 auto length = Int32Add(numSlots, Int32(LexicalEnv::RESERVED_ENV_LENGTH)); in NewLexicalEnv()

Completed in 20 milliseconds