Home
last modified time | relevance | path

Searched refs:objectType (Results 1 – 24 of 24) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsIndexedAccessType.h34 explicit TSIndexedAccessType(Expression *objectType, Expression *indexType) in TSIndexedAccessType() argument
35 … : TypeNode(AstNodeType::TS_INDEXED_ACCESS_TYPE), objectType_(objectType), indexType_(indexType) in TSIndexedAccessType()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder-inl.h1083 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJSFunctionBase() local
1084 GateRef greater = Int32GreaterThanOrEqual(objectType, in IsJSFunctionBase()
1086 GateRef less = Int32LessThanOrEqual(objectType, in IsJSFunctionBase()
1110 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsSymbol() local
1111 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::SYMBOL))); in IsSymbol()
1124 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsLineString() local
1125 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::LINE_STRING))); in IsLineString()
1130 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsConstantString() local
1131 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::CONSTANT_STRING))); in IsConstantString()
1136 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsTreeString() local
[all …]
Dcircuit_builder-inl.h619 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJSFunction() local
620 GateRef greater = Int32GreaterThanOrEqual(objectType, in IsJSFunction()
622 GateRef less = Int32LessThanOrEqual(objectType, in IsJSFunction()
672 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJsType() local
673 return Equal(objectType, Int32(static_cast<int32_t>(type))); in IsJsType()
740 GateRef objectType = GetObjectType(hClass); in IsStableArguments() local
741 … GateRef isJsArguments = Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_ARGUMENTS))); in IsStableArguments()
748 GateRef objectType = GetObjectType(hClass); in IsStableArray() local
749 GateRef isJsArray = Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_ARRAY))); in IsStableArray()
816 GateRef objectType = GetObjectType(LoadHClass(obj)); in TaggedObjectIsEcmaObject() local
[all …]
Dnew_object_stub_builder.cpp443 auto objectType = GetObjectType(protoOrHclass); in FastNewThisObject() local
444 Branch(Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_OBJECT))), in FastNewThisObject()
Dcircuit_builder.cpp287 GateRef objectType = GetObjectType(LoadHClass(elements)); in IsJsCOWArray() local
288 return IsCOWArray(objectType); in IsJsCOWArray()
291 GateRef CircuitBuilder::IsCOWArray(GateRef objectType) in IsCOWArray() argument
293 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::COW_TAGGED_ARRAY))); in IsCOWArray()
Dcircuit_builder.h293 GateRef IsCOWArray(GateRef objectType);
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type.cpp218 GlobalTSTypeRef TSObjectType::GetPropTypeGT(JSThread *thread, JSHandle<TSObjectType> objectType, in GetPropTypeGT() argument
222 JSHandle<TSObjLayoutInfo> layout(thread, objectType->GetObjLayoutInfo().GetTaggedObject()); in GetPropTypeGT()
237 bool TSObjectType::UpdatePropTypeGT(JSThread *thread, JSHandle<TSObjectType> objectType, in UpdatePropTypeGT() argument
241 JSHandle<TSObjLayoutInfo> layout(thread, objectType->GetObjLayoutInfo().GetTaggedObject()); in UpdatePropTypeGT()
254 …STypeRef TSObjectType::GetIndexSignType(JSThread *thread, const JSHandle<TSObjectType> &objectType, in GetIndexSignType() argument
257 if (objectType->GetIndexSigns().IsUndefined()) { in GetIndexSignType()
261 JSHandle<TSObjLayoutInfo> indexSignInfo(thread, objectType->GetIndexSigns()); in GetIndexSignType()
Dts_type_parser.cpp200 JSHandle<TSObjectType> objectType(type); in ParseIndexSigType() local
201 objectType->SetIndexSigns(thread_, indexSignInfo); in ParseIndexSigType()
245 …JSHandle<TSObjectType> objectType = ParseObjectType(jsPandaFile, recordName, typeLiteralExtractor); in ParseNonImportType() local
246 return JSHandle<JSTaggedValue>(objectType); in ParseNonImportType()
421 JSHandle<TSObjectType> objectType = factory_->NewTSObjectType(length); in ParseObjectType() local
422 …FillPropTypes(jsPandaFile, recordName, objectType, typeLiteralExtractor, DEFAULT_INDEX, METHOD_LEN… in ParseObjectType()
423 return objectType; in ParseObjectType()
428 const JSHandle<TSObjectType> &objectType, in FillPropTypes() argument
433 JSHandle<TSObjLayoutInfo> layout(thread_, objectType->GetObjLayoutInfo()); in FillPropTypes()
450 const JSHandle<TSObjectType> &objectType, in FillInterfaceMethodTypes() argument
[all …]
Dts_type.h56 static GlobalTSTypeRef GetPropTypeGT(JSThread *thread, JSHandle<TSObjectType> objectType,
59 static bool UpdatePropTypeGT(JSThread *thread, JSHandle<TSObjectType> objectType,
62 …static GlobalTSTypeRef GetIndexSignType(JSThread *thread, const JSHandle<TSObjectType> &objectType,
Dts_type_parser.h185 const JSHandle<TSObjectType> &objectType,
192 const JSHandle<TSObjectType> &objectType,
Dts_manager.cpp243 JSHandle<TSObjectType> objectType(type); in GetPropType() local
244 return TSObjectType::GetPropTypeGT(thread, objectType, propertyName); in GetPropType()
270 JSHandle<TSObjectType> objectType(type); in GetIndexSignType() local
271 return TSObjectType::GetIndexSignType(thread, objectType, typeId); in GetIndexSignType()
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/
Dts_type_parser_test.cpp420 JSHandle<TSObjectType> objectType(type); in HWTEST_F_L0() local
421 EXPECT_EQ(resultGT, objectType->GetGT()); in HWTEST_F_L0()
424 GlobalTSTypeRef propGT = TSObjectType::GetPropTypeGT(thread, objectType, propName); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.h108 …EncodeBit SerializeObjectHeader(TaggedObject *objectHeader, size_t objectType, CQueue<TaggedObject…
Dsnapshot_processor.cpp1441 JSType objectType = hclass->GetObjectType(); in SerializeObject() local
1451 …EncodeBit encodeBit = SerializeObjectHeader(objectHeader, static_cast<size_t>(objectType), queue, … in SerializeObject()
1579 EncodeBit SnapshotProcessor::SerializeObjectHeader(TaggedObject *objectHeader, size_t objectType, in SerializeObjectHeader() argument
1592 encodeBit.SetObjectType(objectType); in SerializeObjectHeader()
/arkcompiler/ets_frontend/ts2panda/src/
DtypeChecker.ts250 let objectType = new ObjectType(<ts.TypeLiteralNode>typeNode);
251 return objectType.shiftedTypeIndex;
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeExtractor.cpp591 ObjectType objectType(this, typeAnnotation->AsTSTypeLiteral()); in GetTypeIndexFromAnnotation() local
592 return objectType.GetTypeIndexShift(); in GetTypeIndexFromAnnotation()
595 ObjectType objectType(this, nullptr); // let a : object in GetTypeIndexFromAnnotation() local
596 return objectType.GetTypeIndexShift(); in GetTypeIndexFromAnnotation()
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-ts-key-remapping-via-as-expected.txt78 "objectType": {
Dtest_generic-expected.txt5169 "objectType": {
/arkcompiler/ets_frontend/es2panda/
DCMakeLists.txt277 typescript/types/objectType.cpp
DBUILD.gn235 "typescript/types/objectType.cpp",
/arkcompiler/ets_runtime/ecmascript/tests/
Ddump_test.cpp993 JSHandle<TSObjectType> objectType = factory->NewTSObjectType(0); in HWTEST_F_L0() local
994 DUMP_FOR_HANDLE(objectType) in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp3256 JSHandle<TSObjectType> objectType(thread_, header); in NewTSObjectType() local
3257 objectType->SetObjLayoutInfo(thread_, JSTaggedValue::Undefined()); in NewTSObjectType()
3258 objectType->SetIndexSigns(thread_, JSTaggedValue::Undefined()); in NewTSObjectType()
3259 objectType->SetGT(GlobalTSTypeRef::Default()); in NewTSObjectType()
3262 objectType->SetObjLayoutInfo(thread_, tsPropInfo); in NewTSObjectType()
3263 return objectType; in NewTSObjectType()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2objectType!==t||e.indexType!==r?f(tt(t,r),e):e},createMappedTypeNode:rt,updateMappedTypeNode:funct…
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js18099 get objectType() {