Home
last modified time | relevance | path

Searched defs:prototype (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/test/aottest/ts_inline_accessor_deopt/
Dts_inline_accessor_deopt.ts43 let prototype = Person.prototype; variable
/arkcompiler/ets_runtime/test/fuzztest/objectrefsetprototype_fuzzer/
Dobjectrefsetprototype_fuzzer.cpp33 Local<ObjectRef> prototype = object->GetPrototype(vm_); in ObjectRefSetPrototypeFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
Dpgo_type_parser.cpp90 … JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClass() local
176 … JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClass() local
246 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClassForClassType() local
264 … JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClassForPrototype() local
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_sendable_tests.cpp180 auto prototype = JSTaggedValue::GetProperty( in HWTEST_F_L0() local
191 Local<ObjectRef> prototype = constructor->GetFunctionPrototype(vm_); in HWTEST_F_L0() local
225 Local<ObjectRef> prototype = constructor->GetFunctionPrototype(vm_); in HWTEST_F_L0() local
276 Local<ObjectRef> prototype = obj->GetPrototype(vm_); in HWTEST_F_L0() local
319 Local<ObjectRef> prototype = obj->GetPrototype(vm_); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_factory_test.cpp68 auto *prototype = cls->GetPrototype().GetTaggedObject(); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.cpp155 auto prototype = vm->GetGlobalEnv()->GetObjectFunctionPrototype(); in MergeObjectLiteralHClassCache() local
Dclass_info_extractor.cpp398 JSHandle<JSObject> prototype = factory->NewOldSpaceJSObject(prototypeHClass); in DefineClassFromExtractor() local
492 JSHandle<JSObject> prototype; in DefineClassWithIHClass() local
712 JSHandle<JSObject> prototype = factory->NewSharedOldSpaceJSObject(prototypeHClass); in DefineSendableClassFromExtractor() local
/arkcompiler/ets_runtime/ecmascript/
Dshared_object_factory.cpp50 const JSHandle<JSTaggedValue> &prototype, in CreateSFunctionClass()
106 const JSHandle<JSTaggedValue> &prototype, const JSHandle<JSTaggedValue> &layout) in NewSEcmaHClass()
124 const JSHandle<JSTaggedValue> &prototype) in NewSEcmaHClassDictMode()
Djs_function.cpp868 JSMutableHandle<JSTaggedValue> prototype(thread, JSTaggedValue::Undefined()); in GetInstanceJSHClass() local
909 JSHandle<JSTaggedValue> prototype(thread, derived->GetProtoOrHClass()); in GetOrCreateDerivedJSHClass() local
Dobject_factory.cpp166 const JSHandle<JSTaggedValue> &prototype, const JSHandle<JSTaggedValue> &layout) in NewEcmaHClass()
462 … ObjectFactory::NewEcmaHClass(uint32_t size, JSType type, const JSHandle<JSTaggedValue> &prototype) in NewEcmaHClass()
469 const JSHandle<JSTaggedValue> &prototype) in NewEcmaHClass()
1794 const JSHandle<JSTaggedValue> &prototype) in CreateFunctionClass()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp164 …> ContainersPrivate::NewContainerConstructor(JSThread *thread, const JSHandle<JSObject> &prototype, in NewContainerConstructor()
275 JSHandle<JSObject> prototype = factory->NewEmptyJSObject(); in InitializeArrayList() local
776 JSHandle<JSObject> prototype = factory->NewEmptyJSObject(); in InitializeVector() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_hcr_lowering.cpp1773 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), expectedReceiverHC, JSHClass::PR… in LowerPrototypeCheck() local
2965 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), hclass, JSHClass::PROTOTYPE_OFFS… in LowerProtoChangeMarkerCheck() local
2988 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoLoadPropertyOnProto() local
3028 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoCallGetterOnProto() local
3119 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoStorePropertyLookUpProto() local
3186 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoStoreProperty() local
Dhcr_circuit_builder.h241 void CircuitBuilder::StorePrototype(GateRef glue, GateRef hclass, GateRef prototype) in StorePrototype()
Dtyped_bytecode_lowering.cpp606 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerTypedLdObjByName() local
789 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerTypedStObjByName() local
1173 …GateRef prototype = builder_.GetGlobalEnvObj(builder_.GetGlobalEnv(), static_cast<size_t>(*protoFi… in TryLowerTypedLdObjByNameForBuiltinMethod() local
Dnumber_speculative_lowering.cpp987 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in VisitLoadPropertyOnProto() local
Dtyped_native_inline_lowering.cpp478 GateRef prototype = builder_.GetGlobalEnvValue(VariableType::JS_POINTER(), glueGlobalEnv, in LowerTypedArrayIterator() local
3125 GateRef prototype = builder_.GetGlobalEnvValue( in LowerArrayIteratorBuiltin() local
Dstub_builder.cpp1330 GateRef prototype = GetPrototypeFromHClass(hclass); in JSHClassAddProperty() local
3044 GateRef prototype = GetPrototypeFromHClass(oldHClass); in StoreWithTransition() local
8132 GateRef prototype = GetPrototypeFromHClass(LoadHClass(obj)); in IsEnumCacheWithProtoChainInfoValid() local
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
Dsnapshot_constantpool_data.cpp194 JSHandle<JSObject> prototype; in CheckAOTIhcPropertiesForRep() local
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp419 Local<JSValueRef> prototype = Local<FunctionRef>(value)->GetFunctionPrototype(vm_); in GetProtoOrProtoType() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp1314 void Builtins::InitializeCtor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, in InitializeCtor()
2734const JSHandle<JSObject> &prototype, EcmaEntrypoint ctorFunc, in NewBuiltinConstructor()
2745const JSHandle<JSObject> &prototype, EcmaEntrypoint ctorFunc, in NewBuiltinCjsCtor()
3186 …> Builtins::NewIntlConstructor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, in NewIntlConstructor()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_typedarray_stub_builder.cpp1427 GateRef prototype = GetPrototypeFromHClass(LoadHClass(thisValue)); in Filter() local
2639 GateRef prototype = GetPrototypeFromHClass(LoadHClass(thisValue)); in Map() local
Dbuiltins_object_stub_builder.cpp1293 GateRef prototype = GetPrototypeFromHClass(hClass); in GetPrototypeOf() local
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp309 Local<JSValueRef> prototype = Local<ObjectRef>(tagged)->GetPrototype(ecmaVM); in GetObjectClassName() local
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp2768 …JSHandle<JSTaggedValue> prototype(thread, JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedVal… in GetPrototype() local
2773 bool ObjectRef::SetPrototype(const EcmaVM *vm, Local<ObjectRef> prototype) in SetPrototype()
3393 JSHandle<JSObject> prototype = factory->NewSharedOldSpaceJSObject(prototypeHClass); in NewSendableClassFunction() local
3582 JSHandle<JSTaggedValue> prototype(thread, JSHandle<JSFunction>(func)->GetFunctionPrototype()); in GetFunctionPrototype() local
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.cpp139 JSHandle<JSTaggedValue> prototype, in ProfileProtoTransitionPrototype()

12