Home
last modified time | relevance | path

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

/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_frontend/ets2panda/linter-4.2/test/
Dprototype_assignment.ts50 prototype: number; property in Y
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dprototype_assignment.ts50 prototype: number; property in Y
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
Dpgo_type_parser.cpp95 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObject(phclass); in GenerateHClass() local
179 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObject(phclass); in GenerateHClass() local
215 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObject(phclass); in CreatePGOType() local
226 … JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObject(phclass); in CreatePGOType() local
/arkcompiler/ets_runtime/ecmascript/
Dsubtyping_operator.cpp123 JSObject *prototype = JSObject::Cast(ihcHandle->GetProto()); in FillTSInheritInfo() local
225 JSHandle<JSTaggedValue> prototype(thread, oldHClass->GetPrototype()); in TryMaintainTSSubtyping() local
Djs_function.cpp780 JSMutableHandle<JSTaggedValue> prototype(thread, JSTaggedValue::Undefined()); in GetInstanceJSHClass() local
819 JSHandle<JSTaggedValue> prototype(thread, derived->GetProtoOrHClass()); in GetOrCreateDerivedJSHClass() local
Dobject_factory.cpp402 … ObjectFactory::NewEcmaHClass(uint32_t size, JSType type, const JSHandle<JSTaggedValue> &prototype) in NewEcmaHClass()
409 const JSHandle<JSTaggedValue> &prototype) in NewEcmaHClass()
1563 const JSHandle<JSTaggedValue> &prototype) in CreateFunctionClass()
4884const JSHandle<JSTaggedValue> &prototype) in CreateSFunctionClassWithoutProto()
/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_factory_test.cpp92 auto *prototype = cls->GetPrototype().GetTaggedObject(); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dts_hclass_generator.cpp82 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObject(phclass); in Generate() local
Dtyped_bytecode_lowering.cpp518 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerTypedLdObjByName() local
625 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerTypedStObjByName() local
912 …GateRef prototype = builder_.GetGlobalEnvObj(builder_.GetGlobalEnv(), static_cast<size_t>(*protoFi… in TryLowerTypedLdObjByNameForBuiltinMethod() local
Dtyped_hcr_lowering.cpp1695 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), expectedReceiverHC, JSHClass::PR… in LowerPrototypeCheck() local
2659 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), hclass, JSHClass::PROTOTYPE_OFFS… in LowerProtoChangeMarkerCheck() local
2682 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoLoadPropertyOnProto() local
2723 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoCallGetterOnProto() local
2815 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoStorePropertyLookUpProto() local
2882 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in LowerMonoStoreProperty() local
Dhcr_circuit_builder.h212 void CircuitBuilder::StorePrototype(GateRef glue, GateRef hclass, GateRef prototype) in StorePrototype()
Dnumber_speculative_lowering.cpp1002 …auto prototype = builder_.LoadConstOffset(VariableType::JS_ANY(), receiverHC, JSHClass::PROTOTYPE_… in VisitLoadPropertyOnProto() local
Dstub_builder.cpp2340 GateRef prototype = GetPrototypeFromHClass(oldHClass); in StoreWithTransition() local
3278 GateRef prototype = GetPrototypeFromHClass(oldHClass); in FindTransitions() local
3313 GateRef prototype = GetPrototypeFromHClass(oldHClass); in FindTransitions() local
6476 GateRef prototype = GetPrototypeFromHClass(LoadHClass(obj)); in IsEnumCacheWithProtoChainInfoValid() local
Dmcr_circuit_builder.cpp1288 GateRef prototype = GetPrototypeFromHClass(hclass); in IsEnumCacheValid() local
Dstub_builder-inl.h1068 inline void StubBuilder::StorePrototype(GateRef glue, GateRef hclass, GateRef prototype) in StorePrototype()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp378 JSHandle<JSObject> prototype = factory->NewOldSpaceJSObject(prototypeHClass); in DefineClassFromExtractor() local
467 JSHandle<JSObject> prototype; in DefineClassWithIHClass() local
679 JSHandle<JSObject> prototype = factory->NewOldSpaceJSObject(prototypeHClass); in DefineSendableClassFromExtractor() local
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp169 …> ContainersPrivate::NewContainerConstructor(JSThread *thread, const JSHandle<JSObject> &prototype, in NewContainerConstructor()
278 JSHandle<JSObject> prototype = factory->NewEmptyJSObject(); in InitializeArrayList() local
775 JSHandle<JSObject> prototype = factory->NewEmptyJSObject(); in InitializeVector() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp1322 void Builtins::InitializeCtor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, in InitializeCtor()
2638const JSHandle<JSObject> &prototype, EcmaEntrypoint ctorFunc, in NewBuiltinConstructor()
2649const JSHandle<JSObject> &prototype, EcmaEntrypoint ctorFunc, in NewBuiltinCjsCtor()
3099 …> Builtins::NewIntlConstructor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, in NewIntlConstructor()
3765 JSHandle<JSObject> prototype(thread_, protoHClass->GetProto()); in InitializeSCtor() local
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp384 Local<JSValueRef> prototype = Local<FunctionRef>(value)->GetFunctionPrototype(vm_); in GetProtoOrProtoType() local
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp1773 …JSHandle<JSTaggedValue> prototype(thread, JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedVal… in GetPrototype() local
1778 bool ObjectRef::SetPrototype(const EcmaVM *vm, Local<ObjectRef> prototype) in SetPrototype()
2291 JSHandle<JSTaggedValue> prototype(thread, JSHandle<JSFunction>(func)->GetFunctionPrototype()); in GetFunctionPrototype() local
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_array_stub_builder.cpp1097 GateRef prototype = GetGlobalEnvValue(VariableType::JS_POINTER(), glueGlobalEnv, in Values() local
/arkcompiler/ets_runtime/ecmascript/napi/test/
Dffi_workload.cpp5364 Local<ObjectRef> prototype = object->GetPrototype(vm_); in HWTEST_F_L0() local
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …ring,r="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&&"function"==typeof Buffer.allo… argument