/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_tagged_value-inl.h | 41 return IsHeapObject() && GetTaggedObject()->GetClass()->IsCallable(); in IsCallable() 46 return IsHeapObject() && GetTaggedObject()->GetClass()->IsConstructor(); in IsConstructor() 55 ModuleNamespace* ns = ModuleNamespace::Cast(this->GetTaggedObject()); in IsExtensible() 59 return IsHeapObject() && GetTaggedObject()->GetClass()->IsExtensible(); in IsExtensible() 69 return IsHeapObject() && GetTaggedObject()->GetClass()->IsClassConstructor(); in IsClassConstructor() 74 return IsHeapObject() && GetTaggedObject()->GetClass()->IsClassPrototype(); in IsClassPrototype() 96 return StringCompare(EcmaString::Cast(x.GetTaggedObject()), EcmaString::Cast(y.GetTaggedObject())); in SameValue() 123 auto xStr = static_cast<EcmaString *>(x.GetTaggedObject()); in SameValueZero() 124 auto yStr = static_cast<EcmaString *>(y.GetTaggedObject()); in SameValueZero() [all...] |
H A D | js_weak_container.cpp | 29 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Set() 37 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Delete() 51 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->Has(thread, key); in Has() 56 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->Get(thread, key); in Get() 61 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->NumberOfElements(); in GetSize() 67 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetKey(entry); in GetKey() 73 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetValue(entry); in GetValue() 81 JSHandle<LinkedHashSet> weakSetHandle(thread, LinkedHashSet::Cast(weakSet->GetLinkedSet().GetTaggedObject())); in Add() 89 JSHandle<LinkedHashSet> weakSetHandle(thread, LinkedHashSet::Cast(weakSet->GetLinkedSet().GetTaggedObject())); in Delete() 102 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject()) in Has() [all...] |
H A D | js_map.cpp | 27 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Set() 35 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Delete() 46 LinkedHashMap *linkedMap = LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject()); in Clear() 47 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Clear() 54 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->Has(thread, key); in Has() 59 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->Get(thread, key); in Get() 64 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->NumberOfElements(); in GetSize() 70 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetKey(entry); in GetKey() 76 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetValue(entry); in GetValue()
|
H A D | js_set.cpp | 26 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Add() 34 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Delete() 45 LinkedHashSet *linkedSet = LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject()); in Clear() 46 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Clear() 53 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->Has(thread, value); in Has() 58 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->NumberOfElements(); in GetSize() 65 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->GetValue(entry); in GetValue()
|
H A D | object_factory-inl.h | 43 object->SetClass(thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject())); in AllocLineStringObjectNoGC() 51 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocNonMovableLineStringObject() 58 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocLineStringObject() 65 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocOldSpaceLineStringObject() 72 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocReadOnlyLineStringObject() 80 JSHClass::Cast(thread_->GlobalConstants()->GetSlicedStringClass().GetTaggedObject()), type)); in AllocSlicedStringObject() 88 JSHClass::Cast(thread_->GlobalConstants()->GetConstantStringClass().GetTaggedObject()), type)); in AllocConstantStringObject() 95 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetTreeStringClass().GetTaggedObject()), in AllocTreeStringObject() 109 auto jsNativePointerClass = JSHClass::Cast(thread_->GlobalConstants()->GetJSNativePointerClass().GetTaggedObject()); in NewJSNativePointer() 139 JSHClass::Cast(thread_->GlobalConstants()->GetEnvClass().GetTaggedObject()), siz in InlineNewLexicalEnv() [all...] |
H A D | js_arraybuffer.cpp | 26 void *fromBuf = JSNativePointer::Cast(fromBlock.GetTaggedObject())->GetExternalPointer(); in CopyDataBlockBytes() 27 void *toBuf = JSNativePointer::Cast(toBlock.GetTaggedObject())->GetExternalPointer(); in CopyDataBlockBytes() 48 JSHandle<JSNativePointer> np(thread, arrayBufferData.GetTaggedObject()); in Attach() 68 JSHandle<JSNativePointer> np(thread, arrayBufferData.GetTaggedObject()); in Detach() 74 reinterpret_cast<JSNativePointer *>(arrayBufferData.GetTaggedObject())->SetDeleter(nullptr); in Detach()
|
H A D | object_operator.cpp | 44 if (EcmaStringAccessor(key->GetTaggedObject()).IsInternString()) { in HandleKey() 188 value_.Update(PropertyBox::Cast(value_->GetTaggedObject())->GetValue()); in FastGetValue() 193 AccessorData *accessor = AccessorData::Cast(value_->GetTaggedObject()); in FastGetValue() 219 JSHClass *hclass = receiver.GetTaggedObject()->GetClass(); in UpdateDetectorOnSetPrototype() 244 if (JSPrimitiveRef::Cast(receiver.GetTaggedObject())->IsString() && in UpdateDetectorOnSetPrototype() 340 } else if ((receiver.IsJSPrimitiveRef() && JSPrimitiveRef::Cast(receiver.GetTaggedObject())->IsString()) || in UpdateDetector() 420 return JSObject::Cast(holder_->GetTaggedObject())->GetJSHClass()->IsDictionaryMode() in GetSharedFieldType() 441 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in ToPropertyDescriptor() 443 AccessorData *accessor = AccessorData::Cast(result.GetTaggedObject()); in ToPropertyDescriptor() 514 TaggedArray *array = TaggedArray::Cast(obj->GetProperties().GetTaggedObject()); in LookupGlobal() [all...] |
H A 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()
|
H A 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...] |
H A D | object_fast_operator-inl.h | 86 NumberDictionary::Cast(JSObject::Cast(receiver)->GetElements().GetTaggedObject()); in HasOwnProperty() 103 auto *hclass = receiver.GetTaggedObject()->GetClass(); in HasOwnProperty() 105 ASSERT(!TaggedArray::Cast(JSObject::Cast(receiver)->GetProperties().GetTaggedObject())->IsDictionaryMode()); in HasOwnProperty() 111 TaggedArray *array = TaggedArray::Cast(JSObject::Cast(receiver)->GetProperties().GetTaggedObject()); in HasOwnProperty() 149 auto *hclass = receiver.GetTaggedObject()->GetClass(); in TryFastHasProperty() 160 ASSERT(!TaggedArray::Cast(JSObject::Cast(receiver)->GetProperties().GetTaggedObject())->IsDictionaryMode()); in TryFastHasProperty() 208 auto *hclass = holder.GetTaggedObject()->GetClass(); in TryFastGetPropertyByIndex() 226 auto *hclass = receiver.GetTaggedObject()->GetClass(); in TryGetPropertyByNameThroughCacheAtLocal() 228 ASSERT(!TaggedArray::Cast(JSObject::Cast(receiver)->GetProperties().GetTaggedObject())->IsDictionaryMode()); in TryGetPropertyByNameThroughCacheAtLocal() 232 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in TryGetPropertyByNameThroughCacheAtLocal() [all...] |
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_tree_map.cpp | 35 JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())); in Set() 44 JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())); in Get() 50 return TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())->NumberOfElements(); in GetSize() 56 JSTaggedValue key = TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())->GetKey(entry); in GetKey() 63 JSTaggedValue value = TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())->GetValue(entry); in GetValue() 70 JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())); in Delete() 84 JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())); in HasKey() 90 JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())); in HasValue() 100 JSTaggedValue fn = TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())->GetCompare(); in Clear() 105 TaggedTreeMap::Cast(internal.GetTaggedObject()) in Clear() [all...] |
H A D | js_api_tree_set.cpp | 34 JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())); in Add() 43 return TaggedTreeSet::Cast(GetTreeSet().GetTaggedObject())->NumberOfElements(); in GetSize() 49 JSTaggedValue key = TaggedTreeSet::Cast(GetTreeSet().GetTaggedObject())->GetKey(entry); in GetKey() 55 JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())); in Delete() 69 JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())); in Has() 79 JSTaggedValue fn = TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())->GetCompare(); in Clear() 83 TaggedTreeSet::Cast(internal.GetTaggedObject())->SetCompare(thread, compareFn.GetTaggedValue()); in Clear() 90 JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())); in PopFirst() 103 JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())); in PopLast()
|
H A D | js_api_lightweightset.cpp | 63 TaggedArray *valueArray = TaggedArray::Cast(GetValues().GetTaggedObject()); in Get() 85 TaggedArray *valueArray = TaggedArray::Cast(GetValues().GetTaggedObject()); in GetHashIndex() 89 TaggedArray *hashArray = TaggedArray::Cast(GetHashes().GetTaggedObject()); in GetHashIndex() 111 TaggedArray *hashArray = TaggedArray::Cast(GetHashes().GetTaggedObject()); in BinarySearchHashes() 146 TaggedArray *hashes = TaggedArray::Cast(obj->GetValues().GetTaggedObject()); in EnsureCapacity() 182 TaggedArray *values = TaggedArray::Cast(GetValues().GetTaggedObject()); in GetValueAt() 192 TaggedArray *values = TaggedArray::Cast(GetHashes().GetTaggedObject()); in GetHashAt() 200 JSAPILightWeightSet *lightweightSet = JSAPILightWeightSet::Cast(value.GetTaggedValue().GetTaggedObject()); in HasAll() 203 TaggedArray *hashes = TaggedArray::Cast(GetHashes().GetTaggedObject()); in HasAll() 204 TaggedArray *destHashes = TaggedArray::Cast(lightweightSet->GetHashes().GetTaggedObject()); in HasAll() [all...] |
H A D | js_api_hashmap.cpp | 31 TaggedHashArray *hashArray = TaggedHashArray::Cast(GetTable().GetTaggedObject()); in HasKey() 65 LinkedNode *p = LinkedNode::Cast(node.GetTaggedObject()); in HasValueLinkedNode() 77 RBTreeNode *p = RBTreeNode::Cast(node.GetTaggedObject()); in HasValueRBTreeNode() 94 TaggedHashArray *hashArray = TaggedHashArray::Cast(GetTable().GetTaggedObject()); in Replace() 101 LinkedNode::Cast(nodeVa.GetTaggedObject())->SetValue(thread, newValue); in Replace() 103 RBTreeNode::Cast(nodeVa.GetTaggedObject())->SetValue(thread, newValue); in Replace() 134 TaggedHashArray *hashArray = TaggedHashArray::Cast(GetTable().GetTaggedObject()); in Get() 140 return RBTreeNode::Cast(node.GetTaggedObject())->GetValue(); in Get() 142 return LinkedNode::Cast(node.GetTaggedObject())->GetValue(); in Get() 197 TaggedHashArray *hashArray = TaggedHashArray::Cast(GetTable().GetTaggedObject()); in Clear() [all...] |
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | verification.cpp | 25 TaggedObject *slotValue = slot.GetTaggedObject(); in LogErrorForObjSlot() 58 << ", obj value=" << ObjectSlot(ToUintPtr(obj)).GetTaggedObject() in LogErrorForObj() 101 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VisitAllObjects() 138 if (ToUintPtr(slotValue.GetTaggedObject()) < INVALID_THRESHOLD) { // LCOV_EXCL_START in VerifyHeapObjectSlotLegal() 140 object, slot, slotValue.GetTaggedObject()); in VerifyHeapObjectSlotLegal() 142 if (!heap_->IsAlive(slotValue.GetTaggedObject())) { in VerifyHeapObjectSlotLegal() 144 object, slot, slotValue.GetTaggedObject()); in VerifyHeapObjectSlotLegal() 152 VerifyMarkEden(object, slot, slotValue.GetTaggedObject()); in VerifyHeapObjectSlotLegal() 155 VerifyEvacuateEden(object, slot, slotValue.GetTaggedObject()); in VerifyHeapObjectSlotLegal() 158 VerifyMarkYoung(object, slot, slotValue.GetTaggedObject()); in VerifyHeapObjectSlotLegal() [all...] |
/arkcompiler/ets_runtime/ecmascript/shared_objects/ |
H A D | js_shared_map.cpp | 34 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Set() 44 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Delete() 58 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Clear() 67 return LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())->Has(thread, key); in Has() 74 return LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())->Get(thread, key); in Get() 81 return LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())->NumberOfElements(); in GetSize() 89 return LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())->GetKey(entry); in GetKey() 97 return LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())->GetValue(entry); in GetValue()
|
H A D | js_shared_set.cpp | 33 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Add() 43 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Delete() 57 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Clear() 66 return LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())->Has(thread, value); in Has() 73 return LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())->NumberOfElements(); in GetSize() 82 return LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())->GetValue(entry); in GetValue()
|
H A D | js_sendable_arraybuffer.cpp | 25 void *fromBuf = JSNativePointer::Cast(fromBlock.GetTaggedObject())->GetExternalPointer(); in CopyDataBlockBytes() 26 void *toBuf = JSNativePointer::Cast(toBlock.GetTaggedObject())->GetExternalPointer(); in CopyDataBlockBytes() 49 JSHandle<JSNativePointer> np(thread, arrayBufferData.GetTaggedObject()); in Attach() 72 JSHandle<JSNativePointer> np(thread, arrayBufferData.GetTaggedObject()); in Detach()
|
H A D | concurrent_api_scope.h | 67 ToUintPtr(objHandle_->GetTaggedObject()) + in GetModRecord() 76 uint32_t ret = Barriers::AtomicSetPrimitive(objHandle_->GetTaggedObject(), in CanWrite() 89 uint32_t ret = Barriers::AtomicSetPrimitive(objHandle_->GetTaggedObject(), in WriteDone() 110 auto ret = Barriers::AtomicSetPrimitive(objHandle_->GetTaggedObject(), in CanRead() 122 auto ret = Barriers::AtomicSetPrimitive(objHandle_->GetTaggedObject(), in ReadDone()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | jit_compilation_env.cpp | 28 Method *method = Method::Cast(jsFunction->GetMethod().GetTaggedObject()); in JitCompilationEnv() 73 Method *method = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in FindConstpool() 75 [[maybe_unused]] const ConstantPool *taggedPool = ConstantPool::Cast(constpool.GetTaggedObject()); in FindConstpool() 85 Method *method = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in FindConstpool() 87 [[maybe_unused]] const ConstantPool *taggedPool = ConstantPool::Cast(constpool.GetTaggedObject()); in FindConstpool() 106 Method *method = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in FindOrCreateUnsharedConstpool() 124 Method *currMethod = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in GetConstantPoolByMethodOffset() 187 Method *currMethod = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in GetJsFunctionByMethodOffset() 211 currFunc = JSFunction::Cast(currFuncPTI->Get(slotId).GetTaggedObject()); in GetJsFunctionByMethodOffset() 213 auto prototypeHandler = PrototypeHandler::Cast(slotValue.GetTaggedObject()); in GetJsFunctionByMethodOffset() [all...] |
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_runtime_stub-inl.h | 75 TaggedArray *array = TaggedArray::Cast(cachedValue.GetTaggedObject()); in CheckPolyHClass() 92 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryLoadICByName() 102 auto hclass = reinterpret_cast<JSHClass *>(function->GetProtoOrHClass().GetTaggedObject()); in TryLoadICByName() 122 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryLoadICByValue() 125 return LoadElement(JSObject::Cast(receiver.GetTaggedObject()), key); in TryLoadICByValue() 161 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryStoreICByValue() 163 return StoreElement(thread, JSObject::Cast(receiver.GetTaggedObject()), key, value, secondValue); in TryStoreICByValue() 199 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryStoreICByName() 227 StoreField(thread, JSObject::Cast(receiver.GetTaggedObject()), value, handlerInfo); in StoreICWithHandler() 243 auto accessor = LoadFromField(JSObject::Cast(holder.GetTaggedObject()), handlerInf in StoreICWithHandler() [all...] |
H A D | invoke_cache.cpp | 67 TaggedArray *array = TaggedArray::Cast(cachedArray.GetTaggedObject()); in CheckPolyInvokeCache() 71 if (JSFunction::Cast(result.GetTaggedObject())->GetMethod() == in CheckPolyInvokeCache() 72 JSFunction::Cast(func.GetTaggedObject())->GetMethod()) { in CheckPolyInvokeCache() 95 newTgt->GetMethod() == JSFunction::Cast(firstValue.GetTaggedObject())->GetMethod())) { in Construct() 96 instanceHClass = JSHandle<JSHClass>(thread, JSHClass::Cast(secondValue.GetTaggedObject())); in Construct() 104 instanceHClass = JSHandle<JSHClass>(thread, JSHClass::Cast(polyCache.GetTaggedObject())); in Construct() 126 Method *calleeMethod = JSFunction::Cast(callee.GetTaggedObject())->GetCallTarget(); in SetMonoInlineCallCacheSlot() 149 Method *calleeMethod = JSFunction::Cast(calleeElement.GetTaggedObject())->GetCallTarget(); in SetPolyInlineCallCacheSlot()
|
H A D | profile_type_info_cell.h | 44 return this == thread->GlobalConstants()->GetEmptyProfileTypeInfoCell().GetTaggedObject();
in IsEmptyProfileTypeInfoCell() 53 JSHClass::Cast(thread->GlobalConstants()->GetProfileTypeInfoCell1Class().GetTaggedObject()));
in UpdateProfileTypeInfoCellType() 56 JSHClass::Cast(thread->GlobalConstants()->GetProfileTypeInfoCellNClass().GetTaggedObject()));
in UpdateProfileTypeInfoCellType()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_shared_array_test.cpp | 37 .GetTaggedObject()); in HWTEST_F_L0() 58 .GetTaggedObject()); in HWTEST_F_L0() 69 .GetTaggedObject()); in HWTEST_F_L0() 97 .GetTaggedObject()); in HWTEST_F_L0() 125 .GetTaggedObject()); in HWTEST_F_L0() 136 .GetTaggedObject()); in HWTEST_F_L0() 147 .GetTaggedObject()); in HWTEST_F_L0() 162 .GetTaggedObject()); in HWTEST_F_L0() 183 JSSharedArray *arr = JSSharedArray::Cast(result.GetTaggedValue().GetTaggedObject()); in HWTEST_F_L0() 199 .GetTaggedObject()); in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | js_module_manager.cpp | 42 JSTaggedValue module = JSFunction::Cast(currentFunc.GetTaggedObject())->GetModule(); in GetCurrentModule() 62 return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(), index, false); in GetModuleValueInner() 67 JSTaggedValue currentModule = JSFunction::Cast(jsFunc.GetTaggedObject())->GetModule(); in GetModuleValueInner() 71 return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(), index, false); in GetModuleValueInner() 79 return SourceTextModule::Cast(currentModule->GetTaggedObject())->GetModuleValue(vm_->GetJSThread(), index, false); in GetModuleValueInner() 90 JSTaggedValue currentModule = JSFunction::Cast(jsFunc.GetTaggedObject())->GetModule(); in GetModuleValueOutter() 112 JSTaggedValue resolvedBinding = TaggedArray::Cast(moduleEnvironment.GetTaggedObject())->Get(index); in GetModuleValueOutterInternal() 118 ResolvedIndexBinding *binding = ResolvedIndexBinding::Cast(resolvedBinding.GetTaggedObject()); in GetModuleValueOutterInternal() 138 ResolvedBinding *binding = ResolvedBinding::Cast(resolvedBinding.GetTaggedObject()); in GetModuleValueOutterInternal() 166 JSTaggedValue currentModule = JSFunction::Cast(jsFunc.GetTaggedObject()) in GetLazyModuleValueOutter() [all...] |