Home
last modified time | relevance | path

Searched refs:IsJSFunction (Results 1 – 25 of 38) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_lazy_test.cpp77 ASSERT_TRUE(desc.GetValue()->IsJSFunction()); in HWTEST_F_L0()
100 ASSERT_TRUE(dateFunction->IsJSFunction()); in HWTEST_F_L0()
114 ASSERT_TRUE(dateFunction.IsJSFunction()); in HWTEST_F_L0()
122 ASSERT_TRUE(setFunction->IsJSFunction()); in HWTEST_F_L0()
138 ASSERT_TRUE(setFunction.IsJSFunction()); in HWTEST_F_L0()
146 ASSERT_TRUE(mapFunction->IsJSFunction()); in HWTEST_F_L0()
162 ASSERT_TRUE(mapFunction.IsJSFunction()); in HWTEST_F_L0()
170 ASSERT_TRUE(weakMapFunction->IsJSFunction()); in HWTEST_F_L0()
186 ASSERT_TRUE(weakMapFunction.IsJSFunction()); in HWTEST_F_L0()
194 ASSERT_TRUE(weakSetFunction->IsJSFunction()); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.cpp31 if (!calleeFunc.IsJSFunction()) { in ProfileCall()
47 …if (pcOffset > 0 && currentFunc.IsJSFunction() && JSFunction::Cast(currentFunc)->GetMethod().IsMet… in ProfileCall()
84 if (funcValue.IsJSFunction() && JSFunction::Cast(funcValue)->GetMethod().IsMethod()) { in ProfileOpType()
103 if (funcValue.IsJSFunction()) { in ProfileDefineClass()
119 if (!ctorValue->IsJSFunction()) { in ProfileDefineClass()
134 if (superFuncValue.IsJSFunction()) { in ProfileDefineClass()
165 if (funcValue.IsJSFunction()) { in ProfileCreateObject()
211 if (funcValue.IsJSFunction()) { in ProfileObjLayout()
264 if (ctor.IsJSFunction()) { in ProfileObjLayout()
/arkcompiler/ets_runtime/ecmascript/snapshot/tests/
Dsnapshot_test.cpp136 EXPECT_TRUE(constpool1->GetObjectFromCache(0).IsJSFunction()); in HWTEST_F_L0()
137 EXPECT_TRUE(constpool1->GetObjectFromCache(1).IsJSFunction()); in HWTEST_F_L0()
138 EXPECT_TRUE(constpool1->GetObjectFromCache(3).IsJSFunction()); in HWTEST_F_L0()
307 EXPECT_TRUE(array4->Get(1).IsJSFunction()); in HWTEST_F_L0()
308 EXPECT_TRUE(array4->Get(2).IsJSFunction()); in HWTEST_F_L0()
309 EXPECT_TRUE(array4->Get(3).IsJSFunction()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp259 ASSERT(properties->Get(NAME_INDEX).IsJSFunction()); in CreateConstructorHClass()
307 if (UNLIKELY(properties->Get(NAME_INDEX).IsJSFunction())) { in CorrectConstructorHClass()
360 if (propValue->IsJSFunction()) { in DefineClassFromExtractor()
386 if (propValue->IsJSFunction()) { in DefineClassFromExtractor()
447 if (propValue->IsJSFunction()) { in DefineClassWithIHClass()
474 if (propValue->IsJSFunction()) { in DefineClassWithIHClass()
537 ASSERT(properties->Get(ClassInfoExtractor::NAME_INDEX).IsJSFunction()); in BuildDictionaryProperties()
553 if (propValue->IsJSFunction()) { in BuildDictionaryProperties()
576 if (elementsValue->IsJSFunction()) { in HandleElementsProperties()
/arkcompiler/ets_runtime/ecmascript/ic/
Dinvoke_cache.cpp93 if (LIKELY(firstValue.IsJSFunction() && in Construct()
124 ASSERT(callee.IsJSFunction()); in SetMonoInlineCallCacheSlot()
/arkcompiler/ets_runtime/ecmascript/
Djs_arguments.cpp37 desc.GetValue()->IsJSFunction()) { in GetOwnProperty()
Djs_object-inl.h111 inline bool JSObject::IsJSFunction() const in IsJSFunction() function
113 return GetJSHClass()->IsJSFunction(); in IsJSFunction()
Djs_function.cpp295 if (func->IsJSFunction()) { in Construct()
652 if (newTarget->IsJSFunction()) { in GetInstanceJSHClass()
669 if (newTarget->IsJSFunction()) { in GetInstanceJSHClass()
Djs_function.h80 CAST_CHECK(JSFunction, IsJSFunction);
Djs_tagged_value-inl.h1000 inline bool JSTaggedValue::IsJSFunction() const in IsJSFunction() function
1002 return IsHeapObject() && GetTaggedObject()->GetClass()->IsJSFunction(); in IsJSFunction()
Decma_vm.cpp597 if (!functionValue->IsJSFunction()) { in TriggerConcurrentCallback()
Djs_tagged_value.h565 bool IsJSFunction() const;
Djs_tagged_value.cpp815 if (obj->IsJSFunction() && proto->IsJSFunction()) { in SetPrototype()
Djs_object.h540 bool IsJSFunction() const;
Djs_hclass.h798 bool IsJSFunction() const in IsJSFunction() function
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_ark_tools.cpp167 if (object->IsHeapObject() && object->IsJSFunction()) { in GetLexicalEnv()
190 if (object->IsHeapObject() && object->IsJSFunction()) { in RemoveAOTFlag()
Dbuiltins_string.cpp618 ASSERT(matcher->IsJSFunction()); in Match()
687 ASSERT(matcher->IsJSFunction()); in MatchAll()
1290 ASSERT(searcher->IsJSFunction()); in Search()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dbuiltins_base_test.cpp113 EXPECT_TRUE(BuiltinsBase::GetConstructor(ecmaRuntimeCallInfo2)->IsJSFunction()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/jobs/tests/
Dpending_job_test.cpp73 EXPECT_TRUE(handlePendingJob->GetJob().IsJSFunction()); in HWTEST_F_L0()
265 EXPECT_TRUE(result->IsJSFunction()); in TestPromiseResolveThenableJob()
/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_factory_test.cpp119 EXPECT_TRUE(JSTaggedValue(*newFun).IsJSFunction()); in HWTEST_F_L0()
Djs_serializer_test.cpp748 EXPECT_TRUE(res->IsJSFunction()) << "[NotJSFunction] Deserialize ConcurrentFunction fail"; in ConcurrentFunctionTest()
821 EXPECT_TRUE(value1->IsJSFunction()); in ObjectWithConcurrentFunctionTest()
829 EXPECT_TRUE(value3->IsJSFunction()); in ObjectWithConcurrentFunctionTest()
1838 EXPECT_TRUE(concurrentFunction->IsJSFunction()); in HWTEST_F_L0()
1913 EXPECT_TRUE(concurrentFunction1->IsJSFunction()); in HWTEST_F_L0()
1916 EXPECT_TRUE(concurrentFunction2->IsJSFunction()); in HWTEST_F_L0()
1948 EXPECT_TRUE(function->IsJSFunction()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dprofiler_stub_builder.cpp201 Branch(IsJSFunction(target), &targetIsFunction, &exit); in ProfileCall()
Dnew_object_stub_builder.cpp479 Branch(IsJSFunction(ctor), &ctorIsJSFunction, &slowPath); in NewThisObjectChecked()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_stubs.cpp967 Branch(IsJSFunction(newTarget), &newTargetIsJSFunction, &slowPath); in DECLARE_BUILTINS()
1013 Branch(IsJSFunction(newTarget), &newTargetIsJSFunction, &slowPath); in DECLARE_BUILTINS()
1099 Branch(IsJSFunction(newTarget), &newTargetIsJSFunction, &slowPath); in DECLARE_BUILTINS()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h243 if (!superFunc->IsJSFunction()) { in RuntimeSuperCallSpread()
595 ASSERT(thisFunc.IsJSFunction()); in RuntimeLdSuperByValue()
618 ASSERT(thisFunc.IsJSFunction()); in RuntimeStSuperByValue()
786 if (LIKELY(value.IsJSFunction())) { in RuntimeResolveClass()
887 ASSERT(ctor->IsJSFunction()); in RuntimeSetClassInheritanceRelationship()
1001 if (value->IsJSFunction()) { in RuntimeStOwnByValueWithNameSet()
2339 if (ctor->IsJSFunction()) { in RuntimeOptConstruct()

12