/arkcompiler/ets_runtime/ecmascript/ |
H A D | tagged_node.h | 69 int32_t hash = ECMAObject::Cast(key.GetTaggedObject())->GetHash();
in Hash() 72 JSHandle<ECMAObject> ecmaObj(thread, key);
in Hash() 73 ECMAObject::Cast(key.GetTaggedObject())->SetHash(thread, hash, ecmaObj);
in Hash()
|
H A D | js_proxy.h | 24 class JSProxy final : public ECMAObject { 91 static constexpr size_t TARGET_OFFSET = ECMAObject::SIZE;
|
H A D | js_function.h | 82 ECMAObject *target = reinterpret_cast<ECMAObject*>(callTarget.GetTaggedObject()); in IsCompiledCodeFromCallTarget() 94 ECMAObject *target = reinterpret_cast<ECMAObject*>(callTarget.GetTaggedObject()); in IsFastCallFromCallTarget()
|
H A D | linked_hash_table.cpp | 270 int32_t hash = ECMAObject::Cast(key.GetTaggedObject())->GetHash(); in Hash() 273 JSHandle<ECMAObject> ecmaObj(thread, key); in Hash() 274 ECMAObject::SetHash(thread, hash, ecmaObj); in Hash()
|
H A D | js_object.h | 363 class ECMAObject : public TaggedObject { class 369 CAST_CHECK(ECMAObject, IsECMAObject); 378 static void SetHash(const JSThread *thread, int32_t hash, const JSHandle<ECMAObject> &obj); 384 Barriers::SetPrimitive<JSTaggedType>(this, ECMAObject::HASH_OFFSET, JSTaggedValue(0).GetRawData()); in InitializeHash() 404 class JSObject : public ECMAObject { 711 static constexpr size_t PROPERTIES_OFFSET = ECMAObject::SIZE; 716 DECL_VISIT_OBJECT_FOR_JS_OBJECT(ECMAObject, PROPERTIES_OFFSET, SIZE)
|
H A D | js_object-inl.h | 32 inline void ECMAObject::SetCallable(bool flag) in SetCallable() 37 inline bool ECMAObject::IsCallable() const in IsCallable()
|
H A D | frames.cpp | 43 return ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in CheckAndGetMethod() 535 Method *method = ECMAObject::Cast(frame->function.GetTaggedObject())->GetCallTarget(); in GetBytecodeOffset() 542 Method *method = ECMAObject::Cast(frame->function.GetTaggedObject())->GetCallTarget(); in GetBytecodeOffset()
|
H A D | js_object.cpp | 61 Method *ECMAObject::GetCallTarget() const in GetCallTarget() 2858 void ECMAObject::SetHash(const JSThread *thread, int32_t hash, const JSHandle<ECMAObject> &obj) in SetHash() 2883 int32_t ECMAObject::GetHash() const in GetHash() 2899 bool ECMAObject::HasHash() const in HasHash() 2909 void *ECMAObject::GetNativePointerField(int32_t index) const in GetNativePointerField() 2928 void ECMAObject::SetNativePointerField(const JSThread *thread, int32_t index, void *nativePointer, in SetNativePointerField() 2956 int32_t ECMAObject::GetNativePointerFieldCount() const in GetNativePointerFieldCount() 2968 void ECMAObject::SetNativePointerFieldCount(const JSThread *thread, int32_t count) in SetNativePointerFieldCount() 2975 JSHandle<ECMAObject> ob in SetNativePointerFieldCount() [all...] |
H A D | js_function.cpp | 967 JSHandle<ECMAObject> obj(thread, this); in SetFunctionExtraInfo() 1009 JSHandle<ECMAObject> obj(thread, this); in SetSFunctionExtraInfo()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | interpreter.h | 31 class ECMAObject;
|
H A D | interpreter_assembly.h | 32 class ECMAObject;
|
H A D | interpreter-inl.h | 272 funcObject = ECMAObject::Cast(funcValue.GetTaggedObject()); \ 294 funcObject = ECMAObject::Cast(funcValue.GetTaggedObject()); \
|
H A D | frame_handler.cpp | 143 return ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in GetMethod() 180 return ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in CheckAndGetMethod()
|
H A D | interpreter_assembly.cpp | 58 auto currentMethod = ECMAObject::Cast(frame->function.GetTaggedObject())->GetCallTarget(); \ 186 using InterpreterEntry = JSTaggedType (*)(uintptr_t glue, ECMAObject *callTarget, 216 ECMAObject *callTarget = reinterpret_cast<ECMAObject*>(info->GetFunctionValue().GetTaggedObject()); in Execute() 227 callTarget = reinterpret_cast<ECMAObject*>(info->GetFunctionValue().GetTaggedObject()); in Execute() 300 Method *method = ECMAObject::Cast(func.GetTaggedObject())->GetCallTarget(); in GeneratorReEnterInterpreter() 531 Method *method = ECMAObject::Cast(state->function.GetTaggedObject())->GetCallTarget(); in HandleReturn() 559 Method *method = ECMAObject::Cast(state->function.GetTaggedObject())->GetCallTarget(); in HandleReturnundefined() 1801 Method *method = ECMAObject::Cast(state->function.GetTaggedObject())->GetCallTarget();
|
H A D | interpreter-inl.cpp | 259 funcObject = ECMAObject::Cast(funcValue.GetTaggedObject()); \ 281 funcObject = ECMAObject::Cast(funcValue.GetTaggedObject()); \ 624 ECMAObject *callTarget = reinterpret_cast<ECMAObject*>(info->GetFunctionValue().GetTaggedObject()); in ExecuteNative() 665 ECMAObject *callTarget = reinterpret_cast<ECMAObject*>(func.GetTaggedValue().GetTaggedObject()); in Execute() 1226 ECMAObject *funcObject; in RunInternal()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_lightweightset.cpp | 464 uint32_t hash = static_cast<uint32_t>(ECMAObject::Cast(key.GetTaggedObject())->GetHash()); 467 JSHandle<ECMAObject> ecmaObj(thread, key); 468 ECMAObject::SetHash(thread, hash, ecmaObj);
|
H A D | js_api_lightweightmap.cpp | 476 uint32_t hash = static_cast<uint32_t>(ECMAObject::Cast(key.GetTaggedObject())->GetHash()); in Hash() 479 JSHandle<ECMAObject> ecmaObj(thread, key); in Hash() 480 ECMAObject::SetHash(thread, hash, ecmaObj); in Hash()
|
/arkcompiler/ets_runtime/ecmascript/deoptimizer/ |
H A D | deoptimizer.cpp | 323 ECMAObject *callTarget = reinterpret_cast<ECMAObject*>(target.GetTaggedObject()); in GetMethod()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | error_helper.cpp | 219 Method *method = ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in GetErrorJSFunction()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
H A D | debugger_api.cpp | 292 bool hasHash = ECMAObject::Cast(tagged->GetTaggedObject())->HasHash(); in GetObjectHash() 295 auto ecmaObj = ECMAObject::Cast(tagged->GetTaggedObject()); in GetObjectHash() 296 JSHandle<ECMAObject> ecmaObjHandle(ecmaVM->GetJSThread(), ecmaObj); in GetObjectHash() 297 ECMAObject::SetHash(ecmaVM->GetJSThread(), hash, ecmaObjHandle); in GetObjectHash() 300 return ECMAObject::Cast(tagged->GetTaggedObject())->GetHash(); in GetObjectHash()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | program_object.h | 46 class Program : public ECMAObject { 50 static constexpr size_t MAIN_FUNCTION_OFFSET = ECMAObject::SIZE;
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | dump_test.cpp | 513 CHECK_DUMP_FIELDS(ECMAObject::SIZE, JSObject::SIZE, 2U); in HWTEST_F_L0() 954 CHECK_DUMP_FIELDS(ECMAObject::SIZE, JSProxy::SIZE, 5U); in HWTEST_F_L0() 1123 CHECK_DUMP_FIELDS(ECMAObject::SIZE, Program::SIZE, 1U); in HWTEST_F_L0()
|
H A D | js_object_test.cpp | 1255 ECMAObject::SetHash(thread, 87, JSHandle<ECMAObject>::Cast(obj)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi.cpp | 58 using ecmascript::ECMAObject;
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | ntype_hcr_lowering.cpp | 237 builder_.StoreConstOffset(VariableType::INT64(), array, ECMAObject::HASH_OFFSET, in NewJSArrayLiteral()
|