/arkcompiler/ets_runtime/ecmascript/ |
H A D | object_factory.h | 230 JSHandle<JSObject> NewEmptyJSObject(uint32_t inlinedProps = JSHClass::DEFAULT_CAPACITY_OF_IN_OBJECTS); 562 const JSHandle<JSFunction> &constructor, uint32_t inlinedProps); 564 uint32_t inlinedProps = JSHClass::DEFAULT_CAPACITY_OF_IN_OBJECTS); 624 JSHandle<JSHClass> NewEcmaHClass(uint32_t size, uint32_t inlinedProps, JSType type, 629 uint32_t inlinedProps = JSHClass::DEFAULT_CAPACITY_OF_IN_OBJECTS); 631 JSHandle<JSHClass> PUBLIC_API NewEcmaHClass(uint32_t size, uint32_t inlinedProps, JSType type, 723 uint32_t inlinedProps = JSHClass::DEFAULT_CAPACITY_OF_IN_OBJECTS); 742 JSHandle<JSHClass> PUBLIC_API NewSEcmaHClass(uint32_t size, JSType type, uint32_t inlinedProps); 745 uint32_t inlinedProps = JSHClass::DEFAULT_CAPACITY_OF_IN_OBJECTS); 747 JSHandle<JSHClass> PUBLIC_API NewSEcmaHClass(uint32_t size, uint32_t inlinedProps, JSTyp [all...] |
H A D | shared_object_factory.cpp | 90 JSHandle<JSHClass> ObjectFactory::NewSEcmaHClass(uint32_t size, JSType type, uint32_t inlinedProps) in NewSEcmaHClass() argument 93 size, type, inlinedProps); in NewSEcmaHClass() 96 JSHandle<JSHClass> ObjectFactory::NewSEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint32_t inlinedProps) in NewSEcmaHClass() argument 101 newClass->Initialize(thread_, size, type, inlinedProps, thread_->GlobalConstants()->GetHandledEmptySLayoutInfo()); in NewSEcmaHClass() 106 JSHandle<JSHClass> ObjectFactory::NewSEcmaHClass(uint32_t size, uint32_t inlinedProps, JSType type, in NewSEcmaHClass() argument 113 newClass->Initialize(thread_, size, type, inlinedProps, layout); in NewSEcmaHClass() 119 hclass->SetNumberOfProps(inlinedProps); in NewSEcmaHClass() 124 JSHandle<JSHClass> ObjectFactory::NewSEcmaHClassDictMode(uint32_t size, uint32_t inlinedProps, JSType type, in NewSEcmaHClassDictMode() argument 131 newClass->Initialize(thread_, size, type, inlinedProps, thread_->GlobalConstants()->GetHandledEmptySLayoutInfo()); in NewSEcmaHClassDictMode() 153 uint32_t inlinedProps) in NewSEcmaReadOnlyHClass() 152 NewSEcmaReadOnlyHClass(JSHClass *hclass, uint32_t size, JSType type, uint32_t inlinedProps) NewSEcmaReadOnlyHClass() argument [all...] |
H A D | js_hclass.cpp | 123 void JSHClass::InitializeWithDefaultValue(const JSThread *thread, uint32_t size, JSType type, uint32_t inlinedProps) in InitializeWithDefaultValue() argument 128 SetObjectSize(size + inlinedProps * JSTaggedValue::TaggedTypeSize()); in InitializeWithDefaultValue() 190 void JSHClass::Initialize(const JSThread *thread, uint32_t size, JSType type, uint32_t inlinedProps) in Initialize() argument 192 InitializeWithDefaultValue(thread, size, type, inlinedProps); in Initialize() 200 uint32_t inlinedProps, const JSHandle<JSTaggedValue> &layout) in Initialize() 202 InitializeWithDefaultValue(thread, size, type, inlinedProps); in Initialize() 199 Initialize(const JSThread *thread, uint32_t size, JSType type, uint32_t inlinedProps, const JSHandle<JSTaggedValue> &layout) Initialize() argument
|
H A D | object_factory.cpp | 154 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint32_t inlinedProps) in NewEcmaHClass() argument 159 newClass->Initialize(thread_, size, type, inlinedProps); in NewEcmaHClass() 165 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(uint32_t size, uint32_t inlinedProps, JSType type, in NewEcmaHClass() argument 172 newClass->Initialize(thread_, size, type, inlinedProps, layout); in NewEcmaHClass() 178 hclass->SetNumberOfProps(inlinedProps); in NewEcmaHClass() 184 uint32_t inlinedProps) in NewEcmaReadOnlyHClass() 190 newClass->Initialize(thread_, size, type, inlinedProps); in NewEcmaReadOnlyHClass() 195 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(uint32_t size, JSType type, uint32_t inlinedProps) in NewEcmaHClass() argument 198 size, type, inlinedProps); in NewEcmaHClass() 464 const int inlinedProps in NewEcmaHClass() local 183 NewEcmaReadOnlyHClass(JSHClass *hclass, uint32_t size, JSType type, uint32_t inlinedProps) NewEcmaReadOnlyHClass() argument 468 NewEcmaHClass(uint32_t size, uint32_t inlinedProps, JSType type, const JSHandle<JSTaggedValue> &prototype) NewEcmaHClass() argument 873 CreateJSArrayInstanceClass(JSHandle<JSTaggedValue> proto, uint32_t inlinedProps) CreateJSArrayInstanceClass() argument 1056 NewJSObjectByConstructor(JSHandle<GlobalEnv> env, const JSHandle<JSFunction> &constructor, uint32_t inlinedProps) NewJSObjectByConstructor() argument 1091 NewJSObjectByConstructor(const JSHandle<JSFunction> &constructor, uint32_t inlinedProps) NewJSObjectByConstructor() argument 3990 NewEmptyJSObject(uint32_t inlinedProps) NewEmptyJSObject() argument [all...] |
H A D | js_hclass.h | 430 void Initialize(const JSThread *thread, uint32_t size, JSType type, uint32_t inlinedProps); 432 void Initialize(const JSThread *thread, uint32_t size, JSType type, uint32_t inlinedProps, 2096 void InitializeWithDefaultValue(const JSThread *thread, uint32_t size, JSType type, uint32_t inlinedProps);
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | typed_bytecode_lowering.cpp | 2352 std::vector<uint64_t> inlinedProps; in LowerCreateObjectWithBuffer() local 2364 inlinedProps.emplace_back(value.GetRawData()); in LowerCreateObjectWithBuffer() 2381 prop = builder_.Int32(inlinedProps.at(i)); in LowerCreateObjectWithBuffer() 2383 prop = circuit_->NewGate(circuit_->GetMetaBuilder()->Constant(inlinedProps.at(i)), in LowerCreateObjectWithBuffer() 2386 prop = circuit_->NewGate(circuit_->GetMetaBuilder()->Constant(inlinedProps.at(i)), in LowerCreateObjectWithBuffer() 2389 prop = builder_.Int64(inlinedProps.at(i)); in LowerCreateObjectWithBuffer()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | class_info_extractor.cpp | 995 auto inlinedProps = hclass->GetInlinedProperties(); in AddFieldTypeToHClass() local 996 if (inlinedProps > index) { in AddFieldTypeToHClass() 998 uint32_t duplicatedSize = (inlinedProps - index) * JSTaggedValue::TaggedTypeSize(); in AddFieldTypeToHClass()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs.cpp | 494 JSTaggedValue inlinedProps = GetArg(argv, argc, 2); // 2: means the second parameter in DEF_RUNTIME_STUBS() local 496 size.GetInt(), JSType(type.GetInt()), inlinedProps.GetInt())).GetTaggedValue().GetRawData(); in DEF_RUNTIME_STUBS()
|