| 1 | /* |
| 2 | * Copyright (C) 1999-2000 Harri Porten ([email protected]) |
| 3 | * Copyright (C) 2003, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Lesser General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This library is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | * |
| 19 | */ |
| 20 | |
| 21 | #ifndef JSArray_h |
| 22 | #define JSArray_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h:22:9`! |
| 23 | |
| 24 | #include "JSObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h`/ |
| 25 | |
| 26 | namespace JSCcxx . . $ QTJSC/ { |
| 27 | |
| 28 | typedef HashMap<unsigned, JSValue> SparseArrayValueMapcxx . . $ QTJSC/SparseArrayValueMap#; |
| 29 | |
| 30 | struct ArrayStoragecxx . . $ QTJSC/ArrayStorage# { |
| 31 | unsigned m_lengthcxx . . $ QTJSC/ArrayStorage#m_length.; |
| 32 | unsigned m_numValuesInVectorcxx . . $ QTJSC/ArrayStorage#m_numValuesInVector.; |
| 33 | SparseArrayValueMapcxx . . $ QTJSC/SparseArrayValueMap#* m_sparseValueMapcxx . . $ QTJSC/ArrayStorage#m_sparseValueMap.; |
| 34 | void* lazyCreationDatacxx . . $ QTJSC/ArrayStorage#lazyCreationData.; // A JSArray subclass can use this to fill the vector lazily. |
| 35 | size_tcxx . . $ size_t# reportedMapCapacitycxx . . $ QTJSC/ArrayStorage#reportedMapCapacity.; |
| 36 | JSValuecxx . . $ QTJSC/JSValue# m_vectorcxx . . $ QTJSC/ArrayStorage#m_vector.[1]; |
| 37 | }; |
| 38 | |
| 39 | class JSArraycxx . . $ QTJSC/JSArray# : public JSObjectcxx . . $ QTJSC/JSObject# { |
| 40 | friend class JITcxx . . $ QTJSC/JIT#; |
| 41 | friend class Walkercxx . . $ QTJSC/Walker#; |
| 42 | |
| 43 | public: |
| 44 | explicit JSArraycxx . . $ QTJSC/JSArray#JSArray(9678d77265d996b).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#>); |
| 45 | JSArraycxx . . $ QTJSC/JSArray#JSArray(ead898eaba3ad86d).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#>, unsigned initialLength); |
| 46 | JSArraycxx . . $ QTJSC/JSArray#JSArray(38f0b54a35ef9cab).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#>, const ArgListcxx . . $ QTJSC/ArgList#& initialValues); |
| 47 | virtual ~cxx . . $ QTJSC/JSArray#`~JSArray`(49f6e7a06ebc5aa8).JSArraycxx . . $ QTJSC/JSArray#(); |
| 48 | |
| 49 | virtual bool getOwnPropertySlotcxx . . $ QTJSC/JSArray#getOwnPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#&); |
| 50 | virtual bool getOwnPropertySlotcxx . . $ QTJSC/JSArray#getOwnPropertySlot(d57d1c8d4b24d235).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#&); |
| 51 | virtual bool getOwnPropertyDescriptorcxx . . $ QTJSC/JSArray#getOwnPropertyDescriptor(dce4ef7012294c32).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#&, PropertyDescriptorcxx . . $ QTJSC/PropertyDescriptor#&); |
| 52 | virtual void putcxx . . $ QTJSC/JSArray#put(b1b60585cf3bb95).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName, JSValuecxx . . $ QTJSC/JSValue#); // FIXME: Make protected and add setItem. |
| 53 | |
| 54 | static JS_EXPORTDATAcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/config.h:36:9`! const ClassInfocxx . . $ QTJSC/ClassInfo# infocxx . . $ QTJSC/JSArray#info.; |
| 55 | |
| 56 | unsigned lengthcxx . . $ QTJSC/JSArray#length(ddd8539a2fcdd4ce).() const { return m_storagecxx . . $ QTJSC/JSArray#m_storage.->m_lengthcxx . . $ QTJSC/ArrayStorage#m_length.; } |
| 57 | void setLengthcxx . . $ QTJSC/JSArray#setLength(cb2f890c2fdad230).(unsigned); // OK to use on new arrays, but not if it might be a RegExpMatchArray. |
| 58 | |
| 59 | void sortcxx . . $ QTJSC/JSArray#sort(d2cb180e190a9680).(ExecStatecxx . . $ QTJSC/ExecState#*); |
| 60 | void sortcxx . . $ QTJSC/JSArray#sort(8d295068ccf0002f).(ExecStatecxx . . $ QTJSC/ExecState#*, JSValuecxx . . $ QTJSC/JSValue# compareFunction, CallTypecxx . . $ QTJSC/CallType#, const CallDatacxx . . $ QTJSC/CallData#&); |
| 61 | void sortNumericcxx . . $ QTJSC/JSArray#sortNumeric(8d295068ccf0002f).(ExecStatecxx . . $ QTJSC/ExecState#*, JSValuecxx . . $ QTJSC/JSValue# compareFunction, CallTypecxx . . $ QTJSC/CallType#, const CallDatacxx . . $ QTJSC/CallData#&); |
| 62 | |
| 63 | void pushcxx . . $ QTJSC/JSArray#push(1aadac95d0a8d6ce).(ExecStatecxx . . $ QTJSC/ExecState#*, JSValuecxx . . $ QTJSC/JSValue#); |
| 64 | JSValuecxx . . $ QTJSC/JSValue# popcxx . . $ QTJSC/JSArray#pop(ad9afe69d7bf6378).(); |
| 65 | |
| 66 | bool canGetIndexcxx . . $ QTJSC/JSArray#canGetIndex(dfa6e707f7696010).(unsigned i) { return i < m_vectorLengthcxx . . $ QTJSC/JSArray#m_vectorLength. && m_storagecxx . . $ QTJSC/JSArray#m_storage.->m_vectorcxx . . $ QTJSC/ArrayStorage#m_vector.[i]; } |
| 67 | JSValuecxx . . $ QTJSC/JSValue# getIndexcxx . . $ QTJSC/JSArray#getIndex(65de979777e37a3b).(unsigned i) |
| 68 | { |
| 69 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(canGetIndex(i)); |
| 70 | return m_storagecxx . . $ QTJSC/JSArray#m_storage.->m_vectorcxx . . $ QTJSC/ArrayStorage#m_vector.[i]; |
| 71 | } |
| 72 | |
| 73 | bool canSetIndexcxx . . $ QTJSC/JSArray#canSetIndex(dfa6e707f7696010).(unsigned i) { return i < m_vectorLengthcxx . . $ QTJSC/JSArray#m_vectorLength.; } |
| 74 | void setIndexcxx . . $ QTJSC/JSArray#setIndex(862010b52dad24bc).(unsigned i, JSValuecxx . . $ QTJSC/JSValue# v) |
| 75 | { |
| 76 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(canSetIndex(i)); |
| 77 | JSValuecxx . . $ QTJSC/JSValue#& x = m_storagecxx . . $ QTJSC/JSArray#m_storage.->m_vectorcxx . . $ QTJSC/ArrayStorage#m_vector.[i]; |
| 78 | if (!x) { |
| 79 | ++m_storagecxx . . $ QTJSC/JSArray#m_storage.->m_numValuesInVectorcxx . . $ QTJSC/ArrayStorage#m_numValuesInVector.; |
| 80 | if (i >= m_storagecxx . . $ QTJSC/JSArray#m_storage.->m_lengthcxx . . $ QTJSC/ArrayStorage#m_length.) |
| 81 | m_storagecxx . . $ QTJSC/JSArray#m_storage.->m_lengthcxx . . $ QTJSC/ArrayStorage#m_length. = i + 1; |
| 82 | } |
| 83 | x =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). v; |
| 84 | } |
| 85 | |
| 86 | void fillArgListcxx . . $ QTJSC/JSArray#fillArgList(eebde0cafc55d4c7).(ExecStatecxx . . $ QTJSC/ExecState#*, MarkedArgumentBuffercxx . . $ QTJSC/MarkedArgumentBuffer#&); |
| 87 | void copyToRegisterscxx . . $ QTJSC/JSArray#copyToRegisters(d632f462723cc6fe).(ExecStatecxx . . $ QTJSC/ExecState#*, Registercxx . . $ QTJSC/Register#*, uint32_tcxx . . $ uint32_t#); |
| 88 | |
| 89 | static PassRefPtrcxx . . $ PassRefPtr#<Structurecxx . . $ QTJSC/Structure#> createStructurecxx . . $ QTJSC/JSArray#createStructure(da75fbe5e97e240f).(JSValuecxx . . $ QTJSC/JSValue# prototype) |
| 90 | { |
| 91 | return Structure::create(prototype, TypeInfocxx . . $ QTJSC/TypeInfo#(ObjectTypecxx . . $ QTJSC/ObjectType., StructureFlagscxx . . $ QTJSC/JSArray#StructureFlags.)); |
| 92 | } |
| 93 | |
| 94 | inline void markChildrenDirectcxx . . $ QTJSC/JSArray#markChildrenDirect(bd9cae851d80a865).(MarkStackcxx . . $ QTJSC/MarkStack#& markStack); |
| 95 | |
| 96 | protected: |
| 97 | static const unsigned StructureFlagscxx . . $ QTJSC/JSArray#StructureFlags. = OverridesGetOwnPropertySlotcxx . . $ QTJSC/OverridesGetOwnPropertySlot. | OverridesMarkChildrencxx . . $ QTJSC/OverridesMarkChildren. | OverridesGetPropertyNamescxx . . $ QTJSC/OverridesGetPropertyNames. | JSObjectcxx . . $ QTJSC/JSObject#::StructureFlagscxx . . $ QTJSC/JSObject#StructureFlags.; |
| 98 | virtual void putcxx . . $ QTJSC/JSArray#put(dfb3133dafbe9ff4).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue#, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#&); |
| 99 | virtual bool deletePropertycxx . . $ QTJSC/JSArray#deleteProperty(13154ef9bddc9416).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName); |
| 100 | virtual bool deletePropertycxx . . $ QTJSC/JSArray#deleteProperty(2f8cbeb04562a47b).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName); |
| 101 | virtual void getOwnPropertyNamescxx . . $ QTJSC/JSArray#getOwnPropertyNames(2f9e3f18de200b4e).(ExecStatecxx . . $ QTJSC/ExecState#*, PropertyNameArraycxx . . $ QTJSC/PropertyNameArray#&, EnumerationModecxx . . $ QTJSC/EnumerationMode# mode = ExcludeDontEnumPropertiescxx . . $ QTJSC/ExcludeDontEnumProperties.); |
| 102 | virtual void markChildrencxx . . $ QTJSC/JSArray#markChildren(bd9cae851d80a865).(MarkStackcxx . . $ QTJSC/MarkStack#&); |
| 103 | |
| 104 | void* lazyCreationDatacxx . . $ QTJSC/JSArray#lazyCreationData(50c7df7de5344ebb).(); |
| 105 | void setLazyCreationDatacxx . . $ QTJSC/JSArray#setLazyCreationData(5d22bdacc48458e8).(void*); |
| 106 | |
| 107 | private: |
| 108 | virtual const ClassInfocxx . . $ QTJSC/ClassInfo#* classInfocxx . . $ QTJSC/JSArray#classInfo(f90fb4cda7a7c2e2).() const { return &infocxx . . $ QTJSC/JSArray#info.; } |
| 109 | |
| 110 | bool getOwnPropertySlotSlowCasecxx . . $ QTJSC/JSArray#getOwnPropertySlotSlowCase(d57d1c8d4b24d235).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#&); |
| 111 | void putSlowCasecxx . . $ QTJSC/JSArray#putSlowCase(b1b60585cf3bb95).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName, JSValuecxx . . $ QTJSC/JSValue#); |
| 112 | |
| 113 | bool increaseVectorLengthcxx . . $ QTJSC/JSArray#increaseVectorLength(dfa6e707f7696010).(unsigned newLength); |
| 114 | |
| 115 | unsigned compactForSortingcxx . . $ QTJSC/JSArray#compactForSorting(db52760e79bf9054).(); |
| 116 | |
| 117 | enum ConsistencyCheckTypecxx . . $ QTJSC/JSArray#ConsistencyCheckType# { NormalConsistencyCheckcxx . . $ QTJSC/JSArray#NormalConsistencyCheck., DestructorConsistencyCheckcxx . . $ QTJSC/JSArray#DestructorConsistencyCheck., SortConsistencyCheckcxx . . $ QTJSC/JSArray#SortConsistencyCheck. }; |
| 118 | void checkConsistencycxx . . $ QTJSC/JSArray#checkConsistency(25e60553dff36af9).(ConsistencyCheckTypecxx . . $ QTJSC/JSArray#ConsistencyCheckType# = NormalConsistencyCheckcxx . . $ QTJSC/JSArray#NormalConsistencyCheck.); |
| 119 | |
| 120 | unsigned m_vectorLengthcxx . . $ QTJSC/JSArray#m_vectorLength.; |
| 121 | ArrayStoragecxx . . $ QTJSC/ArrayStorage#* m_storagecxx . . $ QTJSC/JSArray#m_storage.; |
| 122 | }; |
| 123 | |
| 124 | JSArraycxx . . $ QTJSC/JSArray#* asArraycxx . . $ QTJSC/asArray(20d153178ba9b269).(JSValuecxx . . $ QTJSC/JSValue#); |
| 125 | |
| 126 | inline JSArraycxx . . $ QTJSC/JSArray#* asArraycxx . . $ QTJSC/asArray(a02bd2cd8270be87).(JSCellcxx . . $ QTJSC/JSCell#* cell) |
| 127 | { |
| 128 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(cell->inherits(&JSArray::info)); |
| 129 | return static_cast<JSArray*>(cell); |
| 130 | } |
| 131 | |
| 132 | inline JSArraycxx . . $ QTJSC/JSArray#* asArraycxx . . $ QTJSC/asArray(20d153178ba9b269).(JSValuecxx . . $ QTJSC/JSValue# value) |
| 133 | { |
| 134 | return asArraycxx . . $ QTJSC/asArray(a02bd2cd8270be87).(value.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()); |
| 135 | } |
| 136 | |
| 137 | inline bool isJSArraycxx . . $ QTJSC/isJSArray(b468e0305807c4ec).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, JSValuecxx . . $ QTJSC/JSValue# v) |
| 138 | { |
| 139 | return v.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).() && v.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()->vptrcxx . . $ QTJSC/JSCell#vptr(50c7df7de5344ebb).() == globalData->jsArrayVPtrcxx . . $ QTJSC/JSGlobalData#jsArrayVPtr.; |
| 140 | } |
| 141 | inline bool isJSArraycxx . . $ QTJSC/isJSArray(fa295f7b68e2b8ea).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, JSCellcxx . . $ QTJSC/JSCell#* cell) { return cell->vptrcxx . . $ QTJSC/JSCell#vptr(50c7df7de5344ebb).() == globalData->jsArrayVPtrcxx . . $ QTJSC/JSGlobalData#jsArrayVPtr.; } |
| 142 | |
| 143 | inline void JSArraycxx . . $ QTJSC/JSArray#::markChildrenDirectcxx . . $ QTJSC/JSArray#markChildrenDirect(bd9cae851d80a865).(MarkStackcxx . . $ QTJSC/MarkStack#& markStack) |
| 144 | { |
| 145 | JSObjectcxx . . $ QTJSC/JSObject#::markChildrenDirectcxx . . $ QTJSC/JSObject#markChildrenDirect(bd9cae851d80a865).(markStack); |
| 146 | |
| 147 | ArrayStoragecxx . . $ QTJSC/ArrayStorage#* storage = m_storagecxx . . $ QTJSC/JSArray#m_storage.; |
| 148 | |
| 149 | unsigned usedVectorLength = stdcxx . . $ std/::mincxx . . $ std/min(2a338fce5842aa6a).(storage->m_lengthcxx . . $ QTJSC/ArrayStorage#m_length., m_vectorLengthcxx . . $ QTJSC/JSArray#m_vectorLength.); |
| 150 | markStack.appendValuescxx . . $ QTJSC/MarkStack#appendValues(5ce9403f1fe638b8).(storage->m_vectorcxx . . $ QTJSC/ArrayStorage#m_vector., usedVectorLength, MayContainNullValuescxx . . $ QTJSC/MayContainNullValues.); |
| 151 | |
| 152 | if (SparseArrayValueMapcxx . . $ QTJSC/SparseArrayValueMap#* map = storage->m_sparseValueMapcxx . . $ QTJSC/ArrayStorage#m_sparseValueMap.) { |
| 153 | SparseArrayValueMap::iterator end = map->end(); |
| 154 | for (SparseArrayValueMap::iterator it = map->begin(); it !=cxx . . $ QTJSC/`operator!=`(5e10d8f38fa82016). end; ++it) |
| 155 | markStack.appendcxx . . $ QTJSC/MarkStack#append(5c2ac18db087b3e6).(it->second); |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | inline void MarkStackcxx . . $ QTJSC/MarkStack#::markChildrencxx . . $ QTJSC/MarkStack#markChildren(c6d88d3bdacccd64).(JSCellcxx . . $ QTJSC/JSCell#* cell) |
| 160 | { |
| 161 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(Heap::isCellMarked(cell)); |
| 162 | if (!cell->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->typeInfocxx . . $ QTJSC/Structure#typeInfo(2e356ef879c79f0c).().overridesMarkChildrencxx . . $ QTJSC/TypeInfo#overridesMarkChildren(50ce9a9e25b4a850).()) { |
| 163 | #ifdef NDEBUGcxx . . $ `<built-in>:472:9`! |
| 164 | asObjectcxx . . $ QTJSC/asObject(57571c3d51f0c406).(cell)->markChildrenDirectcxx . . $ QTJSC/JSObject#markChildrenDirect(bd9cae851d80a865).(*this); |
| 165 | #else |
| 166 | ASSERT(!m_isCheckingForDefaultMarkViolation); |
| 167 | m_isCheckingForDefaultMarkViolation = true; |
| 168 | cell->markChildren(*this); |
| 169 | ASSERT(m_isCheckingForDefaultMarkViolation); |
| 170 | m_isCheckingForDefaultMarkViolation = false; |
| 171 | #endif |
| 172 | return; |
| 173 | } |
| 174 | if (cell->vptrcxx . . $ QTJSC/JSCell#vptr(50c7df7de5344ebb).() == m_jsArrayVPtrcxx . . $ QTJSC/MarkStack#m_jsArrayVPtr.) { |
| 175 | asArraycxx . . $ QTJSC/asArray(a02bd2cd8270be87).(cell)->markChildrenDirectcxx . . $ QTJSC/JSArray#markChildrenDirect(bd9cae851d80a865).(*this); |
| 176 | return; |
| 177 | } |
| 178 | cell->markChildrencxx . . $ QTJSC/JSCell#markChildren(bd9cae851d80a865).(*this); |
| 179 | } |
| 180 | |
| 181 | inline void MarkStackcxx . . $ QTJSC/MarkStack#::draincxx . . $ QTJSC/MarkStack#drain(49f6e7a06ebc5aa8).() |
| 182 | { |
| 183 | while (!m_markSets.isEmpty() || !m_values.isEmpty()) { |
| 184 | while (!m_markSets.isEmpty() && m_values.size() < 50) { |
| 185 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!m_markSets.isEmpty()); |
| 186 | MarkSetcxx . . $ QTJSC/MarkStack#MarkSet#& current = m_markSets.last(); |
| 187 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(current.m_values); |
| 188 | JSValuecxx . . $ QTJSC/JSValue#* end = current.m_endcxx . . $ QTJSC/MarkStack#MarkSet#m_end.; |
| 189 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(current.m_values); |
| 190 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(current.m_values != end); |
| 191 | findNextUnmarkedNullValue: |
| 192 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(current.m_values != end); |
| 193 | JSValuecxx . . $ QTJSC/JSValue# value = *current.m_valuescxx . . $ QTJSC/MarkStack#MarkSet#m_values.; |
| 194 | current.m_valuescxx . . $ QTJSC/MarkStack#MarkSet#m_values.++; |
| 195 | |
| 196 | JSCellcxx . . $ QTJSC/JSCell#* cell; |
| 197 | if (!value || !value.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).() || Heapcxx . . $ QTJSC/Heap#::isCellMarkedcxx . . $ QTJSC/Heap#isCellMarked(991f49f25290885c).(cell = value.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).())) { |
| 198 | if (current.m_valuescxx . . $ QTJSC/MarkStack#MarkSet#m_values. == end) { |
| 199 | m_markSets.removeLast(); |
| 200 | continue; |
| 201 | } |
| 202 | goto findNextUnmarkedNullValue; |
| 203 | } |
| 204 | |
| 205 | Heapcxx . . $ QTJSC/Heap#::markCellcxx . . $ QTJSC/Heap#markCell(c6d88d3bdacccd64).(cell); |
| 206 | if (cell->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->typeInfocxx . . $ QTJSC/Structure#typeInfo(2e356ef879c79f0c).().typecxx . . $ QTJSC/TypeInfo#type(81c355aa0b104834).() < CompoundTypecxx . . $ QTJSC/CompoundType.) { |
| 207 | if (current.m_valuescxx . . $ QTJSC/MarkStack#MarkSet#m_values. == end) { |
| 208 | m_markSets.removeLast(); |
| 209 | continue; |
| 210 | } |
| 211 | goto findNextUnmarkedNullValue; |
| 212 | } |
| 213 | |
| 214 | if (current.m_values == end) |
| 215 | m_markSets.removeLast(); |
| 216 | |
| 217 | markChildrencxx . . $ QTJSC/MarkStack#markChildren(c6d88d3bdacccd64).(cell); |
| 218 | } |
| 219 | while (!m_values.isEmpty()) |
| 220 | markChildrencxx . . $ QTJSC/MarkStack#markChildren(c6d88d3bdacccd64).(m_values.removeLast()); |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | } // namespace JSC |
| 225 | |
| 226 | #endif // JSArray_h |