Home
last modified time | relevance | path

Searched refs:ECMAObject (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Dtagged_node.h69 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()
Djs_proxy.h24 class JSProxy final : public ECMAObject {
91 static constexpr size_t TARGET_OFFSET = ECMAObject::SIZE;
Djs_object.h360 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)
Dlinked_hash_table.cpp244 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()
Dframes.cpp51 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()
Djs_object-inl.h31 inline void ECMAObject::SetCallable(bool flag) in SetCallable()
36 inline bool ECMAObject::IsCallable() const in IsCallable()
Djs_object.cpp75 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()
Djs_function.cpp857 JSHandle<ECMAObject> obj(thread, this); in SetFunctionExtraInfo()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter_assembly.h31 class ECMAObject; variable
Dinterpreter.h30 class ECMAObject; variable
Dframe_handler.cpp140 return ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in GetMethod()
148 return ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in CheckAndGetMethod()
Dinterpreter_assembly.cpp73 …auto currentMethod = ECMAObject::Cast(frame->function.GetTaggedObject())->GetCallTarget(); …
201 using InterpreterEntry = JSTaggedType (*)(uintptr_t glue, ECMAObject *callTarget,
235ECMAObject *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()
Dinterpreter-inl.h270 funcObject = ECMAObject::Cast(funcValue.GetTaggedObject()); \
292 funcObject = ECMAObject::Cast(funcValue.GetTaggedObject()); \
634ECMAObject *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/
Djs_api_lightweightset.cpp465 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()
Djs_api_lightweightmap.cpp467 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/
Ddeoptimizer.cpp305 ECMAObject *callTarget = reinterpret_cast<ECMAObject*>(target.GetTaggedObject()); in GetMethod()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.h41 class Program : public ECMAObject {
45 static constexpr size_t MAIN_FUNCTION_OFFSET = ECMAObject::SIZE;
/arkcompiler/ets_runtime/ecmascript/base/
Derror_helper.cpp218 Method *method = ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in GetErrorJSFunction()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp302 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/
Djsnapi.cpp112 using ecmascript::ECMAObject;
/arkcompiler/ets_runtime/ecmascript/tests/
Ddump_test.cpp438 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()
Djs_object_test.cpp1292 ECMAObject::SetHash(thread, 87, JSHandle<ECMAObject>::Cast(obj)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.cpp165 builder_.StoreConstOffset(VariableType::INT64(), array, ECMAObject::HASH_OFFSET, in NewJSArrayLiteral()
Dnew_object_stub_builder.cpp779 GateRef hashOffset = IntPtr(ECMAObject::HASH_OFFSET); in NewJSArrayLiteral()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackinfo.cpp996 Method *method = ECMAObject::Cast(functionValue.GetTaggedObject())->GetCallTarget(); in GetArkJSHeapCrashInfo()

12