Home
last modified time | relevance | path

Searched refs:ECMAObject (Results 1 - 25 of 31) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
H A 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()
H A Djs_proxy.h24 class JSProxy final : public ECMAObject {
91 static constexpr size_t TARGET_OFFSET = ECMAObject::SIZE;
H A Djs_function.h82 ECMAObject *target = reinterpret_cast<ECMAObject*>(callTarget.GetTaggedObject()); in IsCompiledCodeFromCallTarget()
94 ECMAObject *target = reinterpret_cast<ECMAObject*>(callTarget.GetTaggedObject()); in IsFastCallFromCallTarget()
H A Dlinked_hash_table.cpp270 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 Djs_object.h363 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 Djs_object-inl.h32 inline void ECMAObject::SetCallable(bool flag) in SetCallable()
37 inline bool ECMAObject::IsCallable() const in IsCallable()
H A Dframes.cpp43 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 Djs_object.cpp61 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 Djs_function.cpp967 JSHandle<ECMAObject> obj(thread, this); in SetFunctionExtraInfo()
1009 JSHandle<ECMAObject> obj(thread, this); in SetSFunctionExtraInfo()
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dinterpreter.h31 class ECMAObject;
H A Dinterpreter_assembly.h32 class ECMAObject;
H A Dinterpreter-inl.h272 funcObject = ECMAObject::Cast(funcValue.GetTaggedObject()); \
294 funcObject = ECMAObject::Cast(funcValue.GetTaggedObject()); \
H A Dframe_handler.cpp143 return ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in GetMethod()
180 return ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in CheckAndGetMethod()
H A Dinterpreter_assembly.cpp58 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 Dinterpreter-inl.cpp259 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 Djs_api_lightweightset.cpp464 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 Djs_api_lightweightmap.cpp476 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 Ddeoptimizer.cpp323 ECMAObject *callTarget = reinterpret_cast<ECMAObject*>(target.GetTaggedObject()); in GetMethod()
/arkcompiler/ets_runtime/ecmascript/base/
H A Derror_helper.cpp219 Method *method = ECMAObject::Cast(function.GetTaggedObject())->GetCallTarget(); in GetErrorJSFunction()
/arkcompiler/ets_runtime/ecmascript/debugger/
H A Ddebugger_api.cpp292 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 Dprogram_object.h46 class Program : public ECMAObject {
50 static constexpr size_t MAIN_FUNCTION_OFFSET = ECMAObject::SIZE;
/arkcompiler/ets_runtime/ecmascript/tests/
H A Ddump_test.cpp513 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 Djs_object_test.cpp1255 ECMAObject::SetHash(thread, 87, JSHandle<ECMAObject>::Cast(obj)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi.cpp58 using ecmascript::ECMAObject;
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dntype_hcr_lowering.cpp237 builder_.StoreConstOffset(VariableType::INT64(), array, ECMAObject::HASH_OFFSET, in NewJSArrayLiteral()

Completed in 56 milliseconds

12