Home
last modified time | relevance | path

Searched refs:numSlots (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Dlexical_env.h34 static size_t ComputeSize(uint32_t numSlots) in ComputeSize() argument
36 … return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), numSlots + RESERVED_ENV_LENGTH); in ComputeSize()
Dobject_factory-inl.h91 LexicalEnv *ObjectFactory::InlineNewLexicalEnv(int numSlots) in InlineNewLexicalEnv() argument
94 size_t size = LexicalEnv::ComputeSize(numSlots); in InlineNewLexicalEnv()
101 …array->InitializeWithSpecialValue(JSTaggedValue::Hole(), numSlots + LexicalEnv::RESERVED_ENV_LENGT… in InlineNewLexicalEnv()
Dobject_factory.h271 JSHandle<LexicalEnv> NewLexicalEnv(int numSlots);
273 inline LexicalEnv *InlineNewLexicalEnv(int numSlots);
Dobject_factory.cpp1878 JSHandle<LexicalEnv> ObjectFactory::NewLexicalEnv(int numSlots) in NewLexicalEnv() argument
1881 size_t size = LexicalEnv::ComputeSize(numSlots); in NewLexicalEnv()
1885 …array->InitializeWithSpecialValue(JSTaggedValue::Hole(), numSlots + LexicalEnv::RESERVED_ENV_LENGT… in NewLexicalEnv()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.h45 void NewLexicalEnv(Variable *result, Label *exit, GateRef numSlots, GateRef parent);
Dnew_object_stub_builder.cpp28 void NewObjectStubBuilder::NewLexicalEnv(Variable *result, Label *exit, GateRef numSlots, GateRef p… in NewLexicalEnv() argument
32 auto length = Int32Add(numSlots, Int32(LexicalEnv::RESERVED_ENV_LENGTH)); in NewLexicalEnv()