Home
last modified time | relevance | path

Searched defs:prototype (Results 1 – 25 of 31) 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
179 … JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClass() local
304 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClassForClassType() local
322 … JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClassForPrototype() local
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_sendable_tests.cpp183 auto prototype = JSTaggedValue::GetProperty( in HWTEST_F_L0() local
194 Local<ObjectRef> prototype = constructor->GetFunctionPrototype(vm_); in HWTEST_F_L0() local
228 Local<ObjectRef> prototype = constructor->GetFunctionPrototype(vm_); in HWTEST_F_L0() local
278 Local<ObjectRef> prototype = obj->GetPrototype(vm_); in HWTEST_F_L0() local
320 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.cpp401 JSHandle<JSObject> prototype = factory->NewOldSpaceJSObject(prototypeHClass); in DefineClassFromExtractor() local
495 JSHandle<JSObject> prototype; in DefineClassWithIHClass() local
747 JSHandle<JSObject> prototype = factory->NewSharedOldSpaceJSObject(prototypeHClass); in DefineSendableClassFromExtractor() local
/arkcompiler/ets_runtime/ecmascript/
Dshared_object_factory.cpp54 const JSHandle<JSTaggedValue> &prototype, in CreateSFunctionClass()
110 const JSHandle<JSTaggedValue> &prototype, const JSHandle<JSTaggedValue> &layout) in NewSEcmaHClass()
128 const JSHandle<JSTaggedValue> &prototype) in NewSEcmaHClassDictMode()
Djs_function.cpp174 JSTaggedValue prototype = fun.GetTaggedValue(); in CalcuExpotedOfProperties() local
903 JSMutableHandle<JSTaggedValue> prototype(thread, JSTaggedValue::Undefined()); in GetInstanceJSHClass() local
955 JSHandle<JSTaggedValue> prototype(thread, derived->GetProtoOrHClass()); in GetOrCreateDerivedJSHClass() local
Dobject_factory.cpp165 const JSHandle<JSTaggedValue> &prototype, const JSHandle<JSTaggedValue> &layout) in NewEcmaHClass()
461 … ObjectFactory::NewEcmaHClass(uint32_t size, JSType type, const JSHandle<JSTaggedValue> &prototype) in NewEcmaHClass()
468 const JSHandle<JSTaggedValue> &prototype) in NewEcmaHClass()
1884 const JSHandle<JSTaggedValue> &prototype) in CreateFunctionClass()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp162 …> ContainersPrivate::NewContainerConstructor(JSThread *thread, const JSHandle<JSObject> &prototype, in NewContainerConstructor()
273 JSHandle<JSObject> prototype = factory->NewEmptyJSObject(); in InitializeArrayList() local
676 JSHandle<JSObject> prototype = factory->NewEmptyJSObject(); in InitializeVector() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_bytecode_lowering.cpp637 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerTypedLdObjByName() local
820 auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, in LowerTypedStObjByName() local
873 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in TypedStObjByNameTransition() local
1207 …GateRef prototype = builder_.GetGlobalEnvObj(builder_.GetGlobalEnv(), static_cast<size_t>(*protoFi… in TryLowerTypedLdObjByNameForBuiltinMethod() local
Dtyped_hcr_lowering.cpp1837 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), expectedReceiverHC, JSHClass::PR… in LowerPrototypeCheck() local
2644 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), hclass, JSHClass::PROTOTYPE_OFFS… in LowerProtoChangeMarkerCheck() local
2667 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoLoadPropertyOnProto() local
2707 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoCallGetterOnProto() local
2798 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoStorePropertyLookUpProto() local
2872 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoStoreProperty() local
Dhcr_circuit_builder.h255 void CircuitBuilder::StorePrototype(GateRef glue, GateRef hclass, GateRef prototype) in StorePrototype()
Dnumber_speculative_lowering.cpp1006 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in VisitLoadPropertyOnProto() local
Dtyped_native_inline_lowering.cpp456 GateRef prototype = builder_.GetGlobalEnvValue(VariableType::JS_POINTER(), glueGlobalEnv, in LowerTypedArrayIterator() local
2831 GateRef prototype = builder_.GetGlobalEnvValue( in LowerArrayIteratorBuiltin() local
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
Dsnapshot_constantpool_data.cpp192 JSHandle<JSObject> prototype; in CheckAOTIhcPropertiesForRep() local
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp414 Local<JSValueRef> prototype = Local<FunctionRef>(value)->GetFunctionPrototype(vm_); in GetProtoOrProtoType() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp1326 void Builtins::InitializeCtor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, in InitializeCtor()
2755const JSHandle<JSObject> &prototype, EcmaEntrypoint ctorFunc, in NewBuiltinConstructor()
2773const JSHandle<JSObject> &prototype, EcmaEntrypoint ctorFunc, in NewBuiltinCjsCtor()
3222 …> Builtins::NewIntlConstructor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, in NewIntlConstructor()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_array_stub_builder.cpp577 GateRef prototype = StubBuilder::GetPrototype(glue, thisValue); in Filter() local
790 GateRef prototype = StubBuilder::GetPrototype(glue, thisValue); in Map() local
2347 GateRef prototype = GetGlobalEnvValue(VariableType::JS_POINTER(), glueGlobalEnv, in Values() local
Dbuiltins_typedarray_stub_builder.cpp1396 GateRef prototype = GetPrototypeFromHClass(LoadHClass(thisValue)); in Filter() local
2621 GateRef prototype = GetPrototypeFromHClass(LoadHClass(thisValue)); in Map() local
Dbuiltins_object_stub_builder.cpp1103 GateRef prototype = GetPrototypeFromHClass(hClass); in GetPrototypeOf() local
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp324 Local<JSValueRef> prototype = Local<ObjectRef>(tagged)->GetPrototype(ecmaVM); in GetObjectClassName() local
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.cpp170 JSHandle<JSTaggedValue> prototype, in ProfileProtoTransitionPrototype()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp2917 …JSHandle<JSTaggedValue> prototype(thread, JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedVal… in GetPrototype() local
2922 bool ObjectRef::SetPrototype(const EcmaVM *vm, Local<ObjectRef> prototype) in SetPrototype()
3544 JSHandle<JSObject> prototype = factory->NewSharedOldSpaceJSObject(prototypeHClass); in NewSendableClassFunction() local
3762 JSHandle<JSTaggedValue> prototype(thread, JSHandle<JSFunction>(func)->GetFunctionPrototype()); in GetFunctionPrototype() local

12