/arkcompiler/ets_runtime/ecmascript/ |
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()
|
D | js_proxy.h | 24 class JSProxy final : public ECMAObject { 91 static constexpr size_t TARGET_OFFSET = ECMAObject::SIZE;
|
D | js_object.h | 360 class ECMAObject : public TaggedObject { 366 CAST_CHECK(ECMAObject, IsECMAObject); 375 static void SetHash(const JSThread *thread, int32_t hash, const JSHandle<ECMAObject> &obj); 381 …Barriers::SetPrimitive<JSTaggedType>(this, ECMAObject::HASH_OFFSET, JSTaggedValue(0).GetRawData()); in InitializeHash() 400 class JSObject : public ECMAObject { 684 static constexpr size_t PROPERTIES_OFFSET = ECMAObject::SIZE; 689 DECL_VISIT_OBJECT_FOR_JS_OBJECT(ECMAObject, PROPERTIES_OFFSET, SIZE)
|
D | linked_hash_table.cpp | 244 int32_t hash = ECMAObject::Cast(key.GetTaggedObject())->GetHash(); in Hash() 247 JSHandle<ECMAObject> ecmaObj(thread, key); in Hash() 248 ECMAObject::SetHash(thread, hash, ecmaObj); in Hash()
|
D | frames.cpp | 51 return ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in CheckAndGetMethod() 420 Method *method = ECMAObject::Cast(frame->function.GetTaggedObject())->GetCallTarget(); in GetBytecodeOffset() 427 Method *method = ECMAObject::Cast(frame->function.GetTaggedObject())->GetCallTarget(); in GetBytecodeOffset()
|
D | js_object-inl.h | 31 inline void ECMAObject::SetCallable(bool flag) in SetCallable() 36 inline bool ECMAObject::IsCallable() const in IsCallable()
|
D | js_object.cpp | 75 Method *ECMAObject::GetCallTarget() const in GetCallTarget() 2686 void ECMAObject::SetHash(const JSThread *thread, int32_t hash, const JSHandle<ECMAObject> &obj) in SetHash() 2711 int32_t ECMAObject::GetHash() const in GetHash() 2727 bool ECMAObject::HasHash() const in HasHash() 2737 void *ECMAObject::GetNativePointerField(int32_t index) const in GetNativePointerField() 2751 void ECMAObject::SetNativePointerField(const JSThread *thread, int32_t index, void *nativePointer, in SetNativePointerField() 2774 int32_t ECMAObject::GetNativePointerFieldCount() const in GetNativePointerFieldCount() 2786 void ECMAObject::SetNativePointerFieldCount(const JSThread *thread, int32_t count) in SetNativePointerFieldCount() 2793 JSHandle<ECMAObject> obj(thread, this); in SetNativePointerFieldCount()
|
D | js_function.cpp | 857 JSHandle<ECMAObject> obj(thread, this); in SetFunctionExtraInfo()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | interpreter_assembly.h | 31 class ECMAObject; variable
|
D | interpreter.h | 30 class ECMAObject; variable
|
D | frame_handler.cpp | 140 return ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in GetMethod() 148 return ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in CheckAndGetMethod()
|
D | interpreter_assembly.cpp | 73 …auto currentMethod = ECMAObject::Cast(frame->function.GetTaggedObject())->GetCallTarget(); … 201 using InterpreterEntry = JSTaggedType (*)(uintptr_t glue, ECMAObject *callTarget, 235 …ECMAObject *callTarget = reinterpret_cast<ECMAObject*>(info->GetFunctionValue().GetTaggedObject()); in Execute() 302 Method *method = ECMAObject::Cast(func.GetTaggedObject())->GetCallTarget(); in GeneratorReEnterInterpreter() 533 Method *method = ECMAObject::Cast(state->function.GetTaggedObject())->GetCallTarget(); in HandleReturn() 561 Method *method = ECMAObject::Cast(state->function.GetTaggedObject())->GetCallTarget(); in HandleReturnundefined() 1803 Method *method = ECMAObject::Cast(state->function.GetTaggedObject())->GetCallTarget(); in HandleSuspendgeneratorV8()
|
D | interpreter-inl.h | 270 funcObject = ECMAObject::Cast(funcValue.GetTaggedObject()); \ 292 funcObject = ECMAObject::Cast(funcValue.GetTaggedObject()); \ 634 …ECMAObject *callTarget = reinterpret_cast<ECMAObject*>(info->GetFunctionValue().GetTaggedObject()); in ExecuteNative() 663 ECMAObject *callTarget = reinterpret_cast<ECMAObject*>(func.GetTaggedValue().GetTaggedObject()); in Execute() 1197 ECMAObject *funcObject; in RunInternal()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_lightweightset.cpp | 465 uint32_t hash = ECMAObject::Cast(key.GetTaggedObject())->GetHash(); in Hash() 468 JSHandle<ECMAObject> ecmaObj(thread, key); in Hash() 469 ECMAObject::SetHash(thread, hash, ecmaObj); in Hash()
|
D | js_api_lightweightmap.cpp | 467 uint32_t hash = ECMAObject::Cast(key.GetTaggedObject())->GetHash(); in Hash() 470 JSHandle<ECMAObject> ecmaObj(thread, key); in Hash() 471 ECMAObject::SetHash(thread, hash, ecmaObj); in Hash()
|
/arkcompiler/ets_runtime/ecmascript/deoptimizer/ |
D | deoptimizer.cpp | 305 ECMAObject *callTarget = reinterpret_cast<ECMAObject*>(target.GetTaggedObject()); in GetMethod()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | program_object.h | 41 class Program : public ECMAObject { 45 static constexpr size_t MAIN_FUNCTION_OFFSET = ECMAObject::SIZE;
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | error_helper.cpp | 218 Method *method = ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in GetErrorJSFunction()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | debugger_api.cpp | 302 bool hasHash = ECMAObject::Cast(tagged->GetTaggedObject())->HasHash(); in GetObjectHash() 305 auto ecmaObj = ECMAObject::Cast(tagged->GetTaggedObject()); in GetObjectHash() 306 JSHandle<ECMAObject> ecmaObjHandle(ecmaVM->GetJSThread(), ecmaObj); in GetObjectHash() 307 ECMAObject::SetHash(ecmaVM->GetJSThread(), hash, ecmaObjHandle); in GetObjectHash() 310 return ECMAObject::Cast(tagged->GetTaggedObject())->GetHash(); in GetObjectHash()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 112 using ecmascript::ECMAObject;
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | dump_test.cpp | 438 CHECK_DUMP_FIELDS(ECMAObject::SIZE, JSObject::SIZE, 2U); in HWTEST_F_L0() 804 CHECK_DUMP_FIELDS(ECMAObject::SIZE, JSProxy::SIZE, 5U); in HWTEST_F_L0() 951 CHECK_DUMP_FIELDS(ECMAObject::SIZE, Program::SIZE, 1U); in HWTEST_F_L0()
|
D | js_object_test.cpp | 1292 ECMAObject::SetHash(thread, 87, JSHandle<ECMAObject>::Cast(obj)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | ntype_hcr_lowering.cpp | 165 builder_.StoreConstOffset(VariableType::INT64(), array, ECMAObject::HASH_OFFSET, in NewJSArrayLiteral()
|
D | new_object_stub_builder.cpp | 779 GateRef hashOffset = IntPtr(ECMAObject::HASH_OFFSET); in NewJSArrayLiteral()
|
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
D | js_stackinfo.cpp | 996 Method *method = ECMAObject::Cast(functionValue.GetTaggedObject())->GetCallTarget(); in GetArkJSHeapCrashInfo()
|