/arkcompiler/ets_runtime/ecmascript/ |
D | js_tagged_value-inl.h | 70 BigInt *bigint = BigInt::Cast(GetTaggedObject()); in ToBoolean() 74 TaggedObject *obj = GetTaggedObject(); in ToBoolean() 292 return IsHeapObject() && GetTaggedObject()->GetClass()->IsCallable(); in IsCallable() 297 return IsHeapObject() && GetTaggedObject()->GetClass()->IsConstructor(); in IsConstructor() 306 ModuleNamespace* ns = ModuleNamespace::Cast(this->GetTaggedObject()); in IsExtensible() 310 return IsHeapObject() && GetTaggedObject()->GetClass()->IsExtensible(); in IsExtensible() 320 return IsHeapObject() && GetTaggedObject()->GetClass()->IsClassConstructor(); in IsClassConstructor() 325 return IsHeapObject() && GetTaggedObject()->GetClass()->IsClassPrototype(); in IsClassPrototype() 347 …return StringCompare(EcmaString::Cast(x.GetTaggedObject()), EcmaString::Cast(y.GetTaggedObject())); in SameValue() 374 auto xStr = static_cast<EcmaString *>(x.GetTaggedObject()); in SameValueZero() [all …]
|
D | js_weak_container.cpp | 30 …andle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Set() 38 …andle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Delete() 52 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->Has(thread, key); in Has() 57 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->Get(thread, key); in Get() 62 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->NumberOfElements(); in GetSize() 68 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetKey(entry); in GetKey() 74 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetValue(entry); in GetValue() 82 …nkedHashSet> weakSetHandle(thread, LinkedHashSet::Cast(weakSet->GetLinkedSet().GetTaggedObject())); in Add() 90 …nkedHashSet> weakSetHandle(thread, LinkedHashSet::Cast(weakSet->GetLinkedSet().GetTaggedObject())); in Delete() 103 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->Has(thread, value); in Has() [all …]
|
D | js_map.cpp | 29 …andle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Set() 37 …andle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Delete() 48 LinkedHashMap *linkedMap = LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject()); in Clear() 49 …andle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Clear() 56 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->Has(thread, key); in Has() 61 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->Get(thread, key); in Get() 66 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->NumberOfElements(); in GetSize() 72 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetKey(entry); in GetKey() 78 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetValue(entry); in GetValue()
|
D | js_set.cpp | 29 …andle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Add() 37 …andle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Delete() 48 LinkedHashSet *linkedSet = LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject()); in Clear() 49 …andle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Clear() 56 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->Has(thread, value); in Has() 61 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->NumberOfElements(); in GetSize() 68 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->GetValue(entry); in GetValue()
|
D | subtyping_operator.cpp | 25 TSObjectType *it = TSObjectType::Cast(classType->GetInstanceType().GetTaggedObject()); in CheckBaseClass() 26 TSObjLayoutInfo *itLayout = TSObjLayoutInfo::Cast(it->GetObjLayoutInfo().GetTaggedObject()); in CheckBaseClass() 27 TSObjectType *pt = TSObjectType::Cast(classType->GetPrototypeType().GetTaggedObject()); in CheckBaseClass() 28 TSObjLayoutInfo *ptLayout = TSObjLayoutInfo::Cast(pt->GetObjLayoutInfo().GetTaggedObject()); in CheckBaseClass() 36 …JSHClass *oProtoHClass = JSHClass::Cast(env->GetObjectFunctionPrototypeClass()->GetTaggedObject()); in CheckBaseClass() 50 JSHClass *eIhc = JSHClass::Cast(tsManager->GetInstanceTSHClass(eClassType).GetTaggedObject()); in CheckSubtyping() 51 WeakVector *eSupers = WeakVector::Cast(eIhc->GetSupers().GetTaggedObject()); in CheckSubtyping() 59 TSObjectType *it = TSObjectType::Cast(classType->GetInstanceType().GetTaggedObject()); in CheckSubtyping() 60 TSObjLayoutInfo *itLayout = TSObjLayoutInfo::Cast(it->GetObjLayoutInfo().GetTaggedObject()); in CheckSubtyping() 61 TSObjectType *pt = TSObjectType::Cast(classType->GetPrototypeType().GetTaggedObject()); in CheckSubtyping() [all …]
|
D | object_factory-inl.h | 34 JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocNonMovableLineStringObject() 41 JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocLineStringObject() 48 JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocOldSpaceLineStringObject() 55 … JSHClass::Cast(thread_->GlobalConstants()->GetSlicedStringClass().GetTaggedObject()), type)); in AllocSlicedStringObject() 62 … JSHClass::Cast(thread_->GlobalConstants()->GetConstantStringClass().GetTaggedObject()), type)); in AllocConstantStringObject() 69 …JSHClass::Cast(thread_->GlobalConstants()->GetTreeStringClass().GetTaggedObject()), TreeEcmaString… in AllocTreeStringObject() 81 …terClass = JSHClass::Cast(thread_->GlobalConstants()->GetJSNativePointerClass().GetTaggedObject()); in NewJSNativePointer() 109 JSHClass::Cast(thread_->GlobalConstants()->GetEnvClass().GetTaggedObject()), size); in InlineNewLexicalEnv() 125 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in NewJSIntlIcuData()
|
D | object_fast_operator-inl.h | 76 NumberDictionary::Cast(JSObject::Cast(receiver)->GetElements().GetTaggedObject()); in HasOwnProperty() 87 …ad->GetEcmaVM()->GetEcmaStringTable()->TryGetInternString(EcmaString::Cast(key.GetTaggedObject())); in HasOwnProperty() 93 auto *hclass = receiver.GetTaggedObject()->GetClass(); in HasOwnProperty() 95 …ASSERT(!TaggedArray::Cast(JSObject::Cast(receiver)->GetProperties().GetTaggedObject())->IsDictiona… in HasOwnProperty() 101 …aggedArray *array = TaggedArray::Cast(JSObject::Cast(receiver)->GetProperties().GetTaggedObject()); in HasOwnProperty() 121 auto *hclass = holder.GetTaggedObject()->GetClass(); in GetPropertyByName() 137 …ASSERT(!TaggedArray::Cast(JSObject::Cast(holder)->GetProperties().GetTaggedObject())->IsDictionary… in GetPropertyByName() 141 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in GetPropertyByName() 157 … TaggedArray *array = TaggedArray::Cast(JSObject::Cast(holder)->GetProperties().GetTaggedObject()); in GetPropertyByName() 192 auto *hclass = holder.GetTaggedObject()->GetClass(); in SetPropertyByName() [all …]
|
D | js_arraybuffer.cpp | 31 void *fromBuf = JSNativePointer::Cast(fromBlock.GetTaggedObject())->GetExternalPointer(); in CopyDataBlockBytes() 32 void *toBuf = JSNativePointer::Cast(toBlock.GetTaggedObject())->GetExternalPointer(); in CopyDataBlockBytes() 53 JSHandle<JSNativePointer> np(thread, arrayBufferData.GetTaggedObject()); in Attach() 73 JSHandle<JSNativePointer> np(thread, arrayBufferData.GetTaggedObject()); in Detach()
|
D | object_operator.cpp | 59 if (EcmaStringAccessor(key->GetTaggedObject()).IsInternString()) { in HandleKey() 196 value_.Update(PropertyBox::Cast(value_->GetTaggedObject())->GetValue()); in FastGetValue() 201 AccessorData *accessor = AccessorData::Cast(value_->GetTaggedObject()); in FastGetValue() 227 JSHClass *hclass = receiver.GetTaggedObject()->GetClass(); in UpdateDetectorOnSetPrototype() 252 if (JSPrimitiveRef::Cast(receiver.GetTaggedObject())->IsString() && in UpdateDetectorOnSetPrototype() 352 …} else if ((receiver.IsJSPrimitiveRef() && JSPrimitiveRef::Cast(receiver.GetTaggedObject())->IsStr… in UpdateDetector() 402 return JSObject::Cast(holder_->GetTaggedObject())->GetJSHClass()->IsDictionaryMode() in GetTrackType() 423 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in ToPropertyDescriptor() 425 AccessorData *accessor = AccessorData::Cast(result.GetTaggedObject()); in ToPropertyDescriptor() 497 TaggedArray *array = TaggedArray::Cast(obj->GetProperties().GetTaggedObject()); in LookupGlobal() [all …]
|
D | tagged_node.cpp | 54 return RBTreeNode::Cast(nodeValue.GetTaggedObject())->GetCount(); in Count() 176 RBTreeNode *treeNode = RBTreeNode::Cast(treeNodeValue.GetTaggedObject()); in IsRed() 227 RBTreeNode *temp = RBTreeNode::Cast(GetRight().GetTaggedObject()); in RotateLeft() 230 RBTreeNode *tempLeft = RBTreeNode::Cast(temp->GetLeft().GetTaggedObject()); in RotateLeft() 246 RBTreeNode *temp = RBTreeNode::Cast(GetLeft().GetTaggedObject()); in RotateRight() 249 RBTreeNode *tempRight = RBTreeNode::Cast(temp->GetRight().GetTaggedObject()); in RotateRight() 265 RBTreeNode *leftChild = RBTreeNode::Cast(GetLeft().GetTaggedObject()); in FlipColors() 267 RBTreeNode *rightChild = RBTreeNode::Cast(GetRight().GetTaggedObject()); in FlipColors() 279 RBTreeNode *leftChild = RBTreeNode::Cast(leftValue.GetTaggedObject()); in Balance() 298 RBTreeNode *rightChild = RBTreeNode::Cast(treeNode->GetRight().GetTaggedObject()); in MoveRedLeft() [all …]
|
D | symbol_table.h | 56 auto *nameString = static_cast<EcmaString *>(name.GetTaggedObject()); in IsMatch() 57 auto *otherString = static_cast<EcmaString *>(other.GetTaggedObject()); in IsMatch() 64 auto *nameString = static_cast<EcmaString *>(obj.GetTaggedObject()); in Hash() 94 JSSymbol *symbol = JSSymbol::Cast(value.GetTaggedObject()); in FindSymbol()
|
D | js_for_in_iterator.cpp | 28 JSHClass *hclass = receiver.GetTaggedObject()->GetClass(); in IsEnumCacheValid() 40 JSTaggedValue protoChangeMarker = proto.GetTaggedObject()->GetClass()->GetProtoChangeMarker(); in IsEnumCacheValid() 42 if (!ProtoChangeMarker::Cast(protoChangeMarker.GetTaggedObject())->GetHasChanged()) { in IsEnumCacheValid() 54 if (!current.IsJSObject() || current.GetTaggedObject()->GetClass()->HasDeleteProperty()) { in NeedCheckProperty() 87 TaggedArray *keys = TaggedArray::Cast(taggedKeys.GetTaggedObject()); in NextInternal()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_tree_map.cpp | 36 …JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())… in Set() 45 …JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())… in Get() 51 return TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())->NumberOfElements(); in GetSize() 57 JSTaggedValue key = TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())->GetKey(entry); in GetKey() 64 JSTaggedValue value = TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())->GetValue(entry); in GetValue() 71 …JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())… in Delete() 85 …JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())… in HasKey() 91 JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())); in HasValue() 109 …JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())… in Replace()
|
D | js_api_tree_set.cpp | 35 …JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())… in Add() 44 return TaggedTreeSet::Cast(GetTreeSet().GetTaggedObject())->NumberOfElements(); in GetSize() 50 JSTaggedValue key = TaggedTreeSet::Cast(GetTreeSet().GetTaggedObject())->GetKey(entry); in GetKey() 56 …JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())… in Delete() 70 …JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())… in Has() 83 …JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())… in PopFirst() 96 …JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())… in PopLast()
|
D | js_api_lightweightset.cpp | 64 TaggedArray *valueArray = TaggedArray::Cast(GetValues().GetTaggedObject()); in Get() 86 TaggedArray *valueArray = TaggedArray::Cast(GetValues().GetTaggedObject()); in GetHashIndex() 90 TaggedArray *hashArray = TaggedArray::Cast(GetHashes().GetTaggedObject()); in GetHashIndex() 112 TaggedArray *hashArray = TaggedArray::Cast(GetHashes().GetTaggedObject()); in BinarySearchHashes() 147 TaggedArray *hashes = TaggedArray::Cast(obj->GetValues().GetTaggedObject()); in EnsureCapacity() 183 TaggedArray *values = TaggedArray::Cast(GetValues().GetTaggedObject()); in GetValueAt() 193 TaggedArray *values = TaggedArray::Cast(GetHashes().GetTaggedObject()); in GetHashAt() 201 …ghtWeightSet *lightweightSet = JSAPILightWeightSet::Cast(value.GetTaggedValue().GetTaggedObject()); in HasAll() 204 TaggedArray *hashes = TaggedArray::Cast(GetHashes().GetTaggedObject()); in HasAll() 205 TaggedArray *destHashes = TaggedArray::Cast(lightweightSet->GetHashes().GetTaggedObject()); in HasAll() [all …]
|
D | js_api_plain_array.cpp | 72 TaggedArray *keys = TaggedArray::Cast(GetKeys().GetTaggedObject()); in AdjustForward() 73 TaggedArray *values = TaggedArray::Cast(GetValues().GetTaggedObject()); in AdjustForward() 127 TaggedArray *keys = TaggedArray::Cast(GetKeys().GetTaggedObject()); in Clear() 128 TaggedArray *values = TaggedArray::Cast(GetValues().GetTaggedObject()); in Clear() 170 TaggedArray *keyArray = TaggedArray::Cast(obj->GetKeys().GetTaggedObject()); in GetOwnProperty() 188 TaggedArray *keyArray = TaggedArray::Cast(obj->GetKeys().GetTaggedObject()); in GetProperty() 208 TaggedArray *keyArray = TaggedArray::Cast(obj->GetKeys().GetTaggedObject()); in SetProperty() 242 TaggedArray *keyArray = TaggedArray::Cast(GetKeys().GetTaggedObject()); in Has() 253 TaggedArray *keyArray = TaggedArray::Cast(GetKeys().GetTaggedObject()); in Get() 258 TaggedArray *values = TaggedArray::Cast(GetValues().GetTaggedObject()); in Get() [all …]
|
D | js_api_hashmap.cpp | 35 TaggedHashArray *hashArray = TaggedHashArray::Cast(GetTable().GetTaggedObject()); in HasKey() 69 LinkedNode *p = LinkedNode::Cast(node.GetTaggedObject()); in HasValueLinkedNode() 81 RBTreeNode *p = RBTreeNode::Cast(node.GetTaggedObject()); in HasValueRBTreeNode() 98 TaggedHashArray *hashArray = TaggedHashArray::Cast(GetTable().GetTaggedObject()); in Replace() 105 LinkedNode::Cast(nodeVa.GetTaggedObject())->SetValue(thread, newValue); in Replace() 107 RBTreeNode::Cast(nodeVa.GetTaggedObject())->SetValue(thread, newValue); in Replace() 138 TaggedHashArray *hashArray = TaggedHashArray::Cast(GetTable().GetTaggedObject()); in Get() 144 return RBTreeNode::Cast(node.GetTaggedObject())->GetValue(); in Get() 146 return LinkedNode::Cast(node.GetTaggedObject())->GetValue(); in Get() 201 TaggedHashArray *hashArray = TaggedHashArray::Cast(GetTable().GetTaggedObject()); in Clear()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | ic_runtime_stub-inl.h | 74 TaggedArray *array = TaggedArray::Cast(cachedValue.GetTaggedObject()); in CheckPolyHClass() 91 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryLoadICByName() 100 …auto hclass = thread->GetEcmaVM()->GetGlobalEnv()->GetNumberFunction()->GetTaggedObject()->GetClas… in TryLoadICByName() 120 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryLoadICByValue() 123 return LoadElement(JSObject::Cast(receiver.GetTaggedObject()), key); in TryLoadICByValue() 159 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryStoreICByValue() 161 … return StoreElement(thread, JSObject::Cast(receiver.GetTaggedObject()), key, value, secondValue); in TryStoreICByValue() 197 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryStoreICByName() 225 StoreField(thread, JSObject::Cast(receiver.GetTaggedObject()), value, handlerInfo); in StoreICWithHandler() 240 auto accessor = LoadFromField(JSObject::Cast(holder.GetTaggedObject()), handlerInfo); in StoreICWithHandler() [all …]
|
D | invoke_cache.cpp | 66 TaggedArray *array = TaggedArray::Cast(cachedArray.GetTaggedObject()); in CheckPolyInvokeCache() 70 if (JSFunction::Cast(result.GetTaggedObject())->GetMethod() == in CheckPolyInvokeCache() 71 JSFunction::Cast(func.GetTaggedObject())->GetMethod()) { in CheckPolyInvokeCache() 94 newTgt->GetMethod() == JSFunction::Cast(firstValue.GetTaggedObject())->GetMethod())) { in Construct() 95 instanceHClass = JSHandle<JSHClass>(thread, JSHClass::Cast(secondValue.GetTaggedObject())); in Construct() 103 instanceHClass = JSHandle<JSHClass>(thread, JSHClass::Cast(polyCache.GetTaggedObject())); in Construct() 125 Method *calleeMethod = JSFunction::Cast(callee.GetTaggedObject())->GetCallTarget(); in SetMonoInlineCallCacheSlot() 148 Method *calleeMethod = JSFunction::Cast(calleeElement.GetTaggedObject())->GetCallTarget(); in SetPolyInlineCallCacheSlot()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_manager.cpp | 60 …return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(),… in GetModuleValueInner() 65 JSTaggedValue currentModule = JSFunction::Cast(jsFunc.GetTaggedObject())->GetModule(); in GetModuleValueInner() 69 …return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(),… in GetModuleValueInner() 77 …return SourceTextModule::Cast(currentModule->GetTaggedObject())->GetModuleValue(vm_->GetJSThread()… in GetModuleValueInner() 88 JSTaggedValue currentModule = JSFunction::Cast(jsFunc.GetTaggedObject())->GetModule(); in GetModuleValueOutter() 104 …JSTaggedValue moduleEnvironment = SourceTextModule::Cast(currentModule.GetTaggedObject())->GetEnvi… in GetModuleValueOutterInternal() 109 …JSTaggedValue resolvedBinding = TaggedArray::Cast(moduleEnvironment.GetTaggedObject())->Get(index); in GetModuleValueOutterInternal() 111 … ResolvedIndexBinding *binding = ResolvedIndexBinding::Cast(resolvedBinding.GetTaggedObject()); in GetModuleValueOutterInternal() 114 SourceTextModule *module = SourceTextModule::Cast(resolvedModule.GetTaggedObject()); in GetModuleValueOutterInternal() 135 resolvedModule.GetTaggedObject())->GetModuleValue(thread, binding->GetIndex(), false); in GetModuleValueOutterInternal() [all …]
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | verification.cpp | 27 TaggedObject *slotValue = slot.GetTaggedObject(); in LogErrorForObjSlot() 59 << ", obj value=" << ObjectSlot(ToUintPtr(obj)).GetTaggedObject() in LogErrorForObj() 102 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VisitAllObjects() 130 if (ToUintPtr(value.GetTaggedObject()) < INVALID_THRESHOLD) { in VerifyObjectSlotLegal() 132 object, slot, value.GetTaggedObject()); in VerifyObjectSlotLegal() 134 if (!heap_->IsAlive(value.GetTaggedObject())) { in VerifyObjectSlotLegal() 136 object, slot, value.GetTaggedObject()); in VerifyObjectSlotLegal() 144 VerifyMarkYoung(object, slot, value.GetTaggedObject()); in VerifyObjectSlotLegal() 147 VerifyEvacuateYoung(object, slot, value.GetTaggedObject()); in VerifyObjectSlotLegal() 150 VerifyMarkFull(object, slot, value.GetTaggedObject()); in VerifyObjectSlotLegal() [all …]
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
D | snapshot_env.cpp | 32 …rootObjectMap_.emplace(ToUintPtr(lineStringClass.GetTaggedObject()), globalConst->GetLineStringCla… in InitializeStringClass() 34 …rootObjectMap_.emplace(ToUintPtr(constStringClass.GetTaggedObject()), globalConst->GetConstStringC… in InitializeStringClass() 43 rootObjectMap_.emplace(ToUintPtr(objectValue.GetTaggedObject()), index); in InitGlobalConst() 56 … rootObjectMap_.emplace(ToUintPtr(objectValue->GetTaggedObject()), index + globalEnvIndexStart); in InitGlobalEnv()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_sharedobject_test.cpp | 58 JSHClass *hclass = sharedObjectPrototype->GetTaggedObject()->GetClass(); in HWTEST_F_L0() 71 JSHClass *ctorHClass = ctor->GetTaggedObject()->GetClass(); in HWTEST_F_L0() 81 JSHClass *protoHClass = proto.GetTaggedObject()->GetClass(); in HWTEST_F_L0() 90 JSHClass *sObjProtoHClass = sObjProto.GetTaggedObject()->GetClass(); in HWTEST_F_L0() 108 JSHClass *ctorHClass = ctor->GetTaggedObject()->GetClass(); in HWTEST_F_L0() 130 JSHClass *hclass = method->GetTaggedObject()->GetClass(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_array_test.cpp | 80 …r2 = JSArray::Cast(JSArray::ArraySpeciesCreate(thread, obj, JSTaggedNumber(10)).GetTaggedObject()); in HWTEST_F_L0() 203 … JSTaggedValue value1 = TaggedArray::Cast(cloneArray->GetElements().GetTaggedObject())->Get(i); in HWTEST_F_L0() 204 JSTaggedValue value2 = TaggedArray::Cast(array->GetElements().GetTaggedObject())->Get(i); in HWTEST_F_L0() 210 EXPECT_EQ(cloneArray->GetElements().GetTaggedObject(), array->GetElements().GetTaggedObject()); in HWTEST_F_L0() 217 EXPECT_TRUE(TaggedArray::Cast(cloneArray->GetElements().GetTaggedObject())->Get(0) != in HWTEST_F_L0() 218 TaggedArray::Cast(array->GetElements().GetTaggedObject())->Get(0)); in HWTEST_F_L0() 221 …EXPECT_TRUE(cloneArray->GetElements().GetTaggedObject() != array->GetElements().GetTaggedObject()); in HWTEST_F_L0() 225 … JSTaggedValue value1 = TaggedArray::Cast(cloneArray->GetElements().GetTaggedObject())->Get(i); in HWTEST_F_L0() 226 JSTaggedValue value2 = TaggedArray::Cast(array->GetElements().GetTaggedObject())->Get(i); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | object_access_helper.cpp | 53 …Class *hclass = JSHClass::Cast(tsManager_->GetAOTHClassInfoByIndex(hclassIndex).GetTaggedObject()); in ComputeForClassInstance() 82 …Class *hclass = JSHClass::Cast(tsManager_->GetAOTHClassInfoByIndex(hclassIndex).GetTaggedObject()); in ComputeForClassOrObject() 98 TaggedArray *components = TaggedArray::Cast(unionType->GetComponents().GetTaggedObject()); in ComputePolymorphism() 137 …HClass *hclass = JSHClass::Cast(ptManager->QueryHClass(type.first, type.second).GetTaggedObject()); in ComputeForClassInstance() 158 …HClass *hclass = JSHClass::Cast(ptManager->QueryHClass(type.first, type.second).GetTaggedObject()); in ClassInstanceIsCallable()
|