Debian Codegraph @

src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h

raw symbols SCIP
1 /*
2 * Copyright (C) 1999-2001 Harri Porten ([email protected])
3 * Copyright (C) 2001 Peter Kelly ([email protected])
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 */
22
23 #ifndef JSObject_h
24 #define JSObject_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h:24:9`!
25
26 #include "ArgList.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ArgList.h`/
27 #include "ClassInfo.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ClassInfo.h`/
28 #include "CommonIdentifiers.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/CommonIdentifiers.h`/
29 #include "CallFrame.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CallFrame.h`/
30 #include "JSCell.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h`/
31 #include "JSNumberCell.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSNumberCell.h`/
32 #include "MarkStack.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/MarkStack.h`/
33 #include "PropertySlot.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/PropertySlot.h`/
34 #include "PutPropertySlot.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/PutPropertySlot.h`/
35 #include "ScopeChain.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ScopeChain.h`/
36 #include "Structure.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h`/
37 #include "JSGlobalData.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h`/
38 #include <wtf/StdLibExtras.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h`/
39
40 namespace JSCcxx . . $ `<built-in>:463:9`! {
41
42 inline JSCellcxx . . $ QTJSC/JSCell#* getJSFunctioncxx . . $ QTJSC/getJSFunction(6e1defc0a7f06fc0).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#& globalData, JSValuecxx . . $ QTJSC/JSValue# value)
43 {
44 if (value.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).() && (value.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()->vptrcxx . . $ QTJSC/JSCell#vptr(50c7df7de5344ebb).() == globalData.jsFunctionVPtrcxx . . $ QTJSC/JSGlobalData#jsFunctionVPtr.))
45 return value.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).();
46 return 0;
47 }
48
49 class HashEntrycxx . . $ QTJSC/HashEntry#;
50 class InternalFunctioncxx . . $ QTJSC/InternalFunction#;
51 class PropertyDescriptorcxx . . $ QTJSC/PropertyDescriptor#;
52 class PropertyNameArraycxx . . $ QTJSC/PropertyNameArray#;
53 class Structurecxx . . $ QTJSC/Structure#;
54 struct HashTablecxx . . $ QTJSC/HashTable#;
55
56 // ECMA 262-3 8.6.1
57 // Property attributes
58 enum Attributecxx . . $ QTJSC/Attribute# {
59 Nonecxx . . $ QTJSC/None. = 0,
60 ReadOnlycxx . . $ QTJSC/ReadOnly. = 1 << 1, // property can be only read, not written
61 DontEnumcxx . . $ QTJSC/DontEnum. = 1 << 2, // property doesn't appear in (for .. in ..)
62 DontDeletecxx . . $ QTJSC/DontDelete. = 1 << 3, // property can't be deleted
63 Functioncxx . . $ QTJSC/Function. = 1 << 4, // property is a function - only used by static hashtables
64 Gettercxx . . $ QTJSC/Getter. = 1 << 5, // property is a getter
65 Settercxx . . $ QTJSC/Setter. = 1 << 6 // property is a setter
66 };
67
68 typedef EncodedJSValuecxx . . $ QTJSC/EncodedJSValue#* PropertyStoragecxx . . $ QTJSC/PropertyStorage#;
69 typedef const EncodedJSValuecxx . . $ QTJSC/EncodedJSValue#* ConstPropertyStoragecxx . . $ QTJSC/ConstPropertyStorage#;
70
71 class JSObjectcxx . . $ QTJSC/JSObject# : public JSCellcxx . . $ QTJSC/JSCell# {
72 friend class BatchedTransitionOptimizercxx . . $ QTJSC/BatchedTransitionOptimizer#;
73 friend class JITcxx . . $ QTJSC/JIT#;
74 friend class JSCellcxx . . $ QTJSC/JSCell#;
75
76 public:
77 explicit JSObjectcxx . . $ QTJSC/JSObject#JSObject(9678d77265d996b).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#>);
78
79 virtual void markChildrencxx . . $ QTJSC/JSObject#markChildren(bd9cae851d80a865).(MarkStackcxx . . $ QTJSC/MarkStack#&);
80 ALWAYS_INLINEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! void markChildrenDirectcxx . . $ QTJSC/JSObject#markChildrenDirect(bd9cae851d80a865).(MarkStackcxx . . $ QTJSC/MarkStack#& markStack);
81
82 // The inline virtual destructor cannot be the first virtual function declared
83 // in the class as it results in the vtable being generated as a weak symbol
84 virtual ~cxx . . $ QTJSC/JSObject#`~JSObject`(49f6e7a06ebc5aa8).JSObjectcxx . . $ QTJSC/JSObject#();
85
86 JSValuecxx . . $ QTJSC/JSValue# prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).() const;
87 void setPrototypecxx . . $ QTJSC/JSObject#setPrototype(5c2ac18db087b3e6).(JSValuecxx . . $ QTJSC/JSValue# prototype);
88
89 void setStructurecxx . . $ QTJSC/JSObject#setStructure(9678d77265d996b).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#>);
90 Structurecxx . . $ QTJSC/Structure#* inheritorIDcxx . . $ QTJSC/JSObject#inheritorID(4f089b87575e542).();
91
92 virtual UStringcxx . . $ QTJSC/UString# classNamecxx . . $ QTJSC/JSObject#className(ba9ec689f7dd9231).() const;
93
94 JSValuecxx . . $ QTJSC/JSValue# getcxx . . $ QTJSC/JSObject#get(ccadc8db5e9d2977).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName) const;
95 JSValuecxx . . $ QTJSC/JSValue# getcxx . . $ QTJSC/JSObject#get(2d9c2221088d2593).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName) const;
96
97 bool getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#&);
98 bool getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(d57d1c8d4b24d235).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#&);
99 bool getPropertyDescriptorcxx . . $ QTJSC/JSObject#getPropertyDescriptor(dce4ef7012294c32).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertyDescriptorcxx . . $ QTJSC/PropertyDescriptor#&);
100
101 virtual bool getOwnPropertySlotcxx . . $ QTJSC/JSObject#getOwnPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#&);
102 virtual bool getOwnPropertySlotcxx . . $ QTJSC/JSObject#getOwnPropertySlot(d57d1c8d4b24d235).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#&);
103 virtual bool getOwnPropertyDescriptorcxx . . $ QTJSC/JSObject#getOwnPropertyDescriptor(dce4ef7012294c32).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#&, PropertyDescriptorcxx . . $ QTJSC/PropertyDescriptor#&);
104
105 virtual void putcxx . . $ QTJSC/JSObject#put(dfb3133dafbe9ff4).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#&);
106 virtual void putcxx . . $ QTJSC/JSObject#put(b1b60585cf3bb95).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName, JSValuecxx . . $ QTJSC/JSValue# value);
107
108 virtual void putWithAttributescxx . . $ QTJSC/JSObject#putWithAttributes(1c4b6fa69de3bf40).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attributes, bool checkReadOnly, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot);
109 virtual void putWithAttributescxx . . $ QTJSC/JSObject#putWithAttributes(3dd2e6313723688d).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attributes);
110 virtual void putWithAttributescxx . . $ QTJSC/JSObject#putWithAttributes(37deedd917f4cba0).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attributes);
111
112 bool propertyIsEnumerablecxx . . $ QTJSC/JSObject#propertyIsEnumerable(19361922c79e8980).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName) const;
113
114 bool hasPropertycxx . . $ QTJSC/JSObject#hasProperty(19361922c79e8980).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName) const;
115 bool hasPropertycxx . . $ QTJSC/JSObject#hasProperty(7acd47e03afc206f).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName) const;
116 bool hasOwnPropertycxx . . $ QTJSC/JSObject#hasOwnProperty(19361922c79e8980).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName) const;
117
118 virtual bool deletePropertycxx . . $ QTJSC/JSObject#deleteProperty(13154ef9bddc9416).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName);
119 virtual bool deletePropertycxx . . $ QTJSC/JSObject#deleteProperty(2f8cbeb04562a47b).(ExecStatecxx . . $ QTJSC/ExecState#*, unsigned propertyName);
120
121 virtual JSValuecxx . . $ QTJSC/JSValue# defaultValuecxx . . $ QTJSC/JSObject#defaultValue(9c1c7f5535dadf1e).(ExecStatecxx . . $ QTJSC/ExecState#*, PreferredPrimitiveTypecxx . . $ QTJSC/PreferredPrimitiveType#) const;
122
123 virtual bool hasInstancecxx . . $ QTJSC/JSObject#hasInstance(658e1865c47113e6).(ExecStatecxx . . $ QTJSC/ExecState#*, JSValuecxx . . $ QTJSC/JSValue#, JSValuecxx . . $ QTJSC/JSValue# prototypeProperty);
124
125 virtual void getPropertyNamescxx . . $ QTJSC/JSObject#getPropertyNames(2f9e3f18de200b4e).(ExecStatecxx . . $ QTJSC/ExecState#*, PropertyNameArraycxx . . $ QTJSC/PropertyNameArray#&, EnumerationModecxx . . $ QTJSC/EnumerationMode# mode = ExcludeDontEnumPropertiescxx . . $ QTJSC/ExcludeDontEnumProperties.);
126 virtual void getOwnPropertyNamescxx . . $ QTJSC/JSObject#getOwnPropertyNames(2f9e3f18de200b4e).(ExecStatecxx . . $ QTJSC/ExecState#*, PropertyNameArraycxx . . $ QTJSC/PropertyNameArray#&, EnumerationModecxx . . $ QTJSC/EnumerationMode# mode = ExcludeDontEnumPropertiescxx . . $ QTJSC/ExcludeDontEnumProperties.);
127
128 virtual JSValuecxx . . $ QTJSC/JSValue# toPrimitivecxx . . $ QTJSC/JSObject#toPrimitive(9c1c7f5535dadf1e).(ExecStatecxx . . $ QTJSC/ExecState#*, PreferredPrimitiveTypecxx . . $ QTJSC/PreferredPrimitiveType# = NoPreferencecxx . . $ QTJSC/NoPreference.) const;
129 virtual bool getPrimitiveNumbercxx . . $ QTJSC/JSObject#getPrimitiveNumber(5ae801b0dd2b44e9).(ExecStatecxx . . $ QTJSC/ExecState#*, double& number, JSValuecxx . . $ QTJSC/JSValue#& value);
130 virtual bool toBooleancxx . . $ QTJSC/JSObject#toBoolean(9608304f86fd7dc).(ExecStatecxx . . $ QTJSC/ExecState#*) const;
131 virtual double toNumbercxx . . $ QTJSC/JSObject#toNumber(1fd034e372fd1279).(ExecStatecxx . . $ QTJSC/ExecState#*) const;
132 virtual UStringcxx . . $ QTJSC/UString# toStringcxx . . $ QTJSC/JSObject#toString(9c94f5abb1995042).(ExecStatecxx . . $ QTJSC/ExecState#*) const;
133 virtual JSObjectcxx . . $ QTJSC/JSObject#* toObjectcxx . . $ QTJSC/JSObject#toObject(8709ed4849a165ab).(ExecStatecxx . . $ QTJSC/ExecState#*) const;
134
135 virtual JSObjectcxx . . $ QTJSC/JSObject#* toThisObjectcxx . . $ QTJSC/JSObject#toThisObject(8709ed4849a165ab).(ExecStatecxx . . $ QTJSC/ExecState#*) const;
136 virtual JSObjectcxx . . $ QTJSC/JSObject#* unwrappedObjectcxx . . $ QTJSC/JSObject#unwrappedObject(2eaa870b9a6c25e1).();
137
138 bool getPropertySpecificValuecxx . . $ QTJSC/JSObject#getPropertySpecificValue(63f8a2d4b0ad97).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSCellcxx . . $ QTJSC/JSCell#*& specificFunction) const;
139
140 // This get function only looks at the property map.
141 JSValuecxx . . $ QTJSC/JSValue# getDirectcxx . . $ QTJSC/JSObject#getDirect(3d7955d927d372a0).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName) const
142 {
143 size_t offset = m_structure->get(propertyName);
144 return offset != WTFcxx . . $ `<built-in>:467:9`!::notFoundcxx . . $ QTWTF/notFound. ? getDirectOffsetcxx . . $ QTJSC/JSObject#getDirectOffset(e9dec2041b7a6b55).(offset) : JSValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).();
145 }
146
147 JSValuecxx . . $ QTJSC/JSValue#* getDirectLocationcxx . . $ QTJSC/JSObject#getDirectLocation(d045793fede5b5cb).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName)
148 {
149 size_t offset = m_structure->get(propertyName);
150 return offset != WTFcxx . . $ `<built-in>:467:9`!::notFoundcxx . . $ QTWTF/notFound. ? locationForOffsetcxx . . $ QTJSC/JSObject#locationForOffset(591349284c2afd9d).(offset) : 0;
151 }
152
153 JSValuecxx . . $ QTJSC/JSValue#* getDirectLocationcxx . . $ QTJSC/JSObject#getDirectLocation(6892176d343c051e).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, unsigned& attributes)
154 {
155 JSCellcxx . . $ QTJSC/JSCell#* specificFunction;
156 size_t offset = m_structure->get(propertyName, attributes, specificFunction);
157 return offset != WTFcxx . . $ `<built-in>:467:9`!::notFoundcxx . . $ QTWTF/notFound. ? locationForOffsetcxx . . $ QTJSC/JSObject#locationForOffset(591349284c2afd9d).(offset) : 0;
158 }
159
160 size_t offsetForLocationcxx . . $ QTJSC/JSObject#offsetForLocation(3c2f1ef63f003ac6).(JSValuecxx . . $ QTJSC/JSValue#* location) const
161 {
162 return location - reinterpret_cast<const JSValuecxx . . $ QTJSC/JSValue#*>(propertyStoragecxx . . $ QTJSC/JSObject#propertyStorage(74b68da2958f8b95).());
163 }
164
165 void transitionTocxx . . $ QTJSC/JSObject#transitionTo(32e4947f9059a24a).(Structurecxx . . $ QTJSC/Structure#*);
166
167 void removeDirectcxx . . $ QTJSC/JSObject#removeDirect(d7ed36c5537ed570).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName);
168 bool hasCustomPropertiescxx . . $ QTJSC/JSObject#hasCustomProperties(c9857a73d68e59ba).() { return !m_structure->isEmpty(); }
169 bool hasGetterSetterPropertiescxx . . $ QTJSC/JSObject#hasGetterSetterProperties(c9857a73d68e59ba).() { return m_structure->hasGetterSetterProperties(); }
170
171 void putDirectcxx . . $ QTJSC/JSObject#putDirect(ced585bb6c91af73).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attr, bool checkReadOnly, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot);
172 void putDirectcxx . . $ QTJSC/JSObject#putDirect(10adf5710ac333de).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attr = 0);
173
174 void putDirectFunctioncxx . . $ QTJSC/JSObject#putDirectFunction(26678ba113b0b148).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSCellcxx . . $ QTJSC/JSCell#* value, unsigned attr = 0);
175 void putDirectFunctioncxx . . $ QTJSC/JSObject#putDirectFunction(8defc81304273bae).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSCellcxx . . $ QTJSC/JSCell#* value, unsigned attr, bool checkReadOnly, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot);
176 void putDirectFunctioncxx . . $ QTJSC/JSObject#putDirectFunction(c24ce1583bb64360).(ExecStatecxx . . $ QTJSC/ExecState#* exec, InternalFunctioncxx . . $ QTJSC/InternalFunction#* function, unsigned attr = 0);
177
178 void putDirectWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectWithoutTransition(10adf5710ac333de).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attr = 0);
179 void putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(26678ba113b0b148).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSCellcxx . . $ QTJSC/JSCell#* value, unsigned attr = 0);
180 void putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(ExecStatecxx . . $ QTJSC/ExecState#* exec, InternalFunctioncxx . . $ QTJSC/InternalFunction#* function, unsigned attr = 0);
181
182 // Fast access to known property offsets.
183 JSValuecxx . . $ QTJSC/JSValue# getDirectOffsetcxx . . $ QTJSC/JSObject#getDirectOffset(e9dec2041b7a6b55).(size_t offset) const { return JSValuecxx . . $ QTJSC/JSValue#::decodecxx . . $ QTJSC/JSValue#decode(921aba6f6725337d).(propertyStoragecxx . . $ QTJSC/JSObject#propertyStorage(74b68da2958f8b95).()[offset]); }
184 void putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(size_t offset, JSValuecxx . . $ QTJSC/JSValue# value) { propertyStoragecxx . . $ QTJSC/JSObject#propertyStorage(60be7a5da8c9361a).()[offset] = JSValuecxx . . $ QTJSC/JSValue#::encodecxx . . $ QTJSC/JSValue#encode(48544357535317c5).(value); }
185
186 void fillGetterPropertySlotcxx . . $ QTJSC/JSObject#fillGetterPropertySlot(7eadf007d9fb8d43).(PropertySlotcxx . . $ QTJSC/PropertySlot#&, JSValuecxx . . $ QTJSC/JSValue#* location);
187
188 virtual void defineGettercxx . . $ QTJSC/JSObject#defineGetter(413481394bc380b4).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSObjectcxx . . $ QTJSC/JSObject#* getterFunction, unsigned attributes = 0);
189 virtual void defineSettercxx . . $ QTJSC/JSObject#defineSetter(413481394bc380b4).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSObjectcxx . . $ QTJSC/JSObject#* setterFunction, unsigned attributes = 0);
190 virtual JSValuecxx . . $ QTJSC/JSValue# lookupGettercxx . . $ QTJSC/JSObject#lookupGetter(c9cd87a849817b6).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName);
191 virtual JSValuecxx . . $ QTJSC/JSValue# lookupSettercxx . . $ QTJSC/JSObject#lookupSetter(c9cd87a849817b6).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName);
192 virtual bool defineOwnPropertycxx . . $ QTJSC/JSObject#defineOwnProperty(61b34c48dc1d764f).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertyDescriptorcxx . . $ QTJSC/PropertyDescriptor#&, bool shouldThrow);
193
194 virtual bool isGlobalObjectcxx . . $ QTJSC/JSObject#isGlobalObject(50ce9a9e25b4a850).() const { return false; }
195 virtual bool isVariableObjectcxx . . $ QTJSC/JSObject#isVariableObject(50ce9a9e25b4a850).() const { return false; }
196 virtual bool isActivationObjectcxx . . $ QTJSC/JSObject#isActivationObject(50ce9a9e25b4a850).() const { return false; }
197 virtual bool isWatchdogExceptioncxx . . $ QTJSC/JSObject#isWatchdogException(50ce9a9e25b4a850).() const { return false; }
198 virtual bool isNotAnObjectErrorStubcxx . . $ QTJSC/JSObject#isNotAnObjectErrorStub(50ce9a9e25b4a850).() const { return false; }
199 #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`!
200 virtual bool compareToObjectcxx . . $ QTJSC/JSObject#compareToObject(19ab3577b45d1e70).(ExecStatecxx . . $ QTJSC/ExecState#*, JSObjectcxx . . $ QTJSC/JSObject# *other) { return other == this; }
201 #endif
202
203 void allocatePropertyStoragecxx . . $ QTJSC/JSObject#allocatePropertyStorage(6714b5f2551eea49).(size_t oldSize, size_t newSize);
204 void allocatePropertyStorageInlinecxx . . $ QTJSC/JSObject#allocatePropertyStorageInline(6714b5f2551eea49).(size_t oldSize, size_t newSize);
205 bool isUsingInlineStoragecxx . . $ QTJSC/JSObject#isUsingInlineStorage(50ce9a9e25b4a850).() const { return m_structure->isUsingInlineStorage(); }
206
207 static const unsigned inlineStorageCapacitycxx . . $ QTJSC/JSObject#inlineStorageCapacity. = sizeof(EncodedJSValuecxx . . $ QTJSC/EncodedJSValue#) == 2 * sizeof(void*) ? 4 : 3;
208 static const unsigned nonInlineBaseStorageCapacitycxx . . $ QTJSC/JSObject#nonInlineBaseStorageCapacity. = 16;
209
210 static PassRefPtrcxx . . $ PassRefPtr#<Structurecxx . . $ QTJSC/Structure#> createStructurecxx . . $ QTJSC/JSObject#createStructure(da75fbe5e97e240f).(JSValuecxx . . $ QTJSC/JSValue# prototype)
211 {
212 return Structure::create(prototype, TypeInfocxx . . $ QTJSC/TypeInfo#TypeInfo(85e540a0e5560fef).(ObjectTypecxx . . $ QTJSC/ObjectType., StructureFlagscxx . . $ QTJSC/JSObject#StructureFlags.));
213 }
214
215 void flattenDictionaryObjectcxx . . $ QTJSC/JSObject#flattenDictionaryObject(49f6e7a06ebc5aa8).()
216 {
217 m_structure->flattenDictionaryStructure(this);
218 }
219
220 protected:
221 static const unsigned StructureFlagscxx . . $ QTJSC/JSObject#StructureFlags. = 0;
222
223 void addAnonymousSlotscxx . . $ QTJSC/JSObject#addAnonymousSlots(cb2f890c2fdad230).(unsigned count);
224 void putAnonymousValuecxx . . $ QTJSC/JSObject#putAnonymousValue(862010b52dad24bc).(unsigned index, JSValuecxx . . $ QTJSC/JSValue# value)
225 {
226 *locationForOffsetcxx . . $ QTJSC/JSObject#locationForOffset(591349284c2afd9d).(index) =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). value;
227 }
228 JSValuecxx . . $ QTJSC/JSValue# getAnonymousValuecxx . . $ QTJSC/JSObject#getAnonymousValue(65de979777e37a3b).(unsigned index)
229 {
230 return *locationForOffsetcxx . . $ QTJSC/JSObject#locationForOffset(591349284c2afd9d).(index);
231 }
232
233 private:
234 // Nobody should ever ask any of these questions on something already known to be a JSObject.
235 using JSCellcxx . . $ QTJSC/JSCell#::isAPIValueWrappercxx . . $ QTJSC/JSObject#isAPIValueWrapper(50ce9a9e25b4a850).;
236 using JSCellcxx . . $ QTJSC/JSCell#::isGetterSettercxx . . $ QTJSC/JSCell#isGetterSetter(50ce9a9e25b4a850).;
237 using JSCellcxx . . $ QTJSC/JSCell#::toObject;
238 void getObjectcxx . . $ QTJSC/JSObject#getObject(49f6e7a06ebc5aa8).();
239 void getStringcxx . . $ QTJSC/JSObject#getString(d2cb180e190a9680).(ExecStatecxx . . $ QTJSC/ExecState#* exec);
240 void isObjectcxx . . $ QTJSC/JSObject#isObject(49f6e7a06ebc5aa8).();
241 void isStringcxx . . $ QTJSC/JSObject#isString(49f6e7a06ebc5aa8).();
242 #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32)
243 void isNumber();
244 #endif
245
246 ConstPropertyStoragecxx . . $ QTJSC/ConstPropertyStorage# propertyStoragecxx . . $ QTJSC/JSObject#propertyStorage(74b68da2958f8b95).() const { return (isUsingInlineStoragecxx . . $ QTJSC/JSObject#isUsingInlineStorage(50ce9a9e25b4a850).() ? m_inlineStoragecxx . . $ QTJSC/JSObject#$anonymous_type_0#m_inlineStorage. : m_externalStoragecxx . . $ QTJSC/JSObject#$anonymous_type_0#m_externalStorage.); }
247 PropertyStoragecxx . . $ QTJSC/PropertyStorage# propertyStoragecxx . . $ QTJSC/JSObject#propertyStorage(60be7a5da8c9361a).() { return (isUsingInlineStoragecxx . . $ QTJSC/JSObject#isUsingInlineStorage(50ce9a9e25b4a850).() ? m_inlineStoragecxx . . $ QTJSC/JSObject#$anonymous_type_0#m_inlineStorage. : m_externalStoragecxx . . $ QTJSC/JSObject#$anonymous_type_0#m_externalStorage.); }
248
249 const JSValuecxx . . $ QTJSC/JSValue#* locationForOffsetcxx . . $ QTJSC/JSObject#locationForOffset(1495d870d914c3eb).(size_t offset) const
250 {
251 return reinterpret_cast<const JSValuecxx . . $ QTJSC/JSValue#*>(&propertyStoragecxx . . $ QTJSC/JSObject#propertyStorage(74b68da2958f8b95).()[offset]);
252 }
253
254 JSValuecxx . . $ QTJSC/JSValue#* locationForOffsetcxx . . $ QTJSC/JSObject#locationForOffset(591349284c2afd9d).(size_t offset)
255 {
256 return reinterpret_cast<JSValuecxx . . $ QTJSC/JSValue#*>(&propertyStoragecxx . . $ QTJSC/JSObject#propertyStorage(60be7a5da8c9361a).()[offset]);
257 }
258
259 void putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(e1db3c40607e41c4).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attr, bool checkReadOnly, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot, JSCellcxx . . $ QTJSC/JSCell#*);
260 void putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(15024d1923313e43).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#&, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attr, bool checkReadOnly, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot);
261 void putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(795df8b79bb53573).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#&, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attr = 0);
262
263 bool inlineGetOwnPropertySlotcxx . . $ QTJSC/JSObject#inlineGetOwnPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#&);
264
265 const HashEntrycxx . . $ QTJSC/HashEntry#* findPropertyHashEntrycxx . . $ QTJSC/JSObject#findPropertyHashEntry(9d28b986369f6e8f).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName) const;
266 Structurecxx . . $ QTJSC/Structure#* createInheritorIDcxx . . $ QTJSC/JSObject#createInheritorID(4f089b87575e542).();
267
268 unioncxx . . $ QTJSC/JSObject#$anonymous_type_0# {
269 PropertyStoragecxx . . $ QTJSC/PropertyStorage# m_externalStoragecxx . . $ QTJSC/JSObject#$anonymous_type_0#m_externalStorage.;
270 EncodedJSValuecxx . . $ QTJSC/EncodedJSValue# m_inlineStoragecxx . . $ QTJSC/JSObject#$anonymous_type_0#m_inlineStorage.[inlineStorageCapacitycxx . . $ QTJSC/JSObject#inlineStorageCapacity.];
271 };
272
273 RefPtrcxx . . $ RefPtr#<Structurecxx . . $ QTJSC/Structure#> m_inheritorIDcxx . . $ QTJSC/JSObject#m_inheritorID.;
274 };
275
276 inline JSObjectcxx . . $ QTJSC/JSObject#* asObjectcxx . . $ QTJSC/asObject(57571c3d51f0c406).(JSCellcxx . . $ QTJSC/JSCell#* cell)
277 {
278 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(cell->isObject());
279 return static_cast<JSObject*>(cell);
280 }
281
282 inline JSObjectcxx . . $ QTJSC/JSObject#* asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(JSValuecxx . . $ QTJSC/JSValue# value)
283 {
284 return asObjectcxx . . $ QTJSC/asObject(57571c3d51f0c406).(value.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).());
285 }
286
287 inline JSObjectcxx . . $ QTJSC/JSObject#::JSObjectcxx . . $ QTJSC/JSObject#JSObject(9678d77265d996b).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#> structure)
288 : JSCellcxx . . $ QTJSC/JSCell#(structure.releaseRef()) // ~JSObject balances this ref()
289 {
290 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_structure->propertyStorageCapacity() == inlineStorageCapacity);
291 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_structure->isEmpty());
292 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(prototype().isNull() || Heap::heap(this) == Heap::heap(prototype()));
293 #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE64) || USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64)
294 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(OBJECT_OFFSETOF(JSObject, m_inlineStorage) % sizeof(double) == 0);
295 #endif
296 }
297
298 inline JSObjectcxx . . $ QTJSC/JSObject#::~cxx . . $ QTJSC/JSObject#`~JSObject`(49f6e7a06ebc5aa8).JSObjectcxx . . $ QTJSC/JSObject#()
299 {
300 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_structure);
301 if (!isUsingInlineStoragecxx . . $ QTJSC/JSObject#isUsingInlineStorage(50ce9a9e25b4a850).())
302 delete [] m_externalStoragecxx . . $ QTJSC/JSObject#$anonymous_type_0#m_externalStorage.;
303 m_structure->deref();
304 }
305
306 inline JSValuecxx . . $ QTJSC/JSValue# JSObjectcxx . . $ QTJSC/JSObject#::prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).() const
307 {
308 return m_structure->storedPrototype();
309 }
310
311 inline void JSObjectcxx . . $ QTJSC/JSObject#::setPrototypecxx . . $ QTJSC/JSObject#setPrototype(5c2ac18db087b3e6).(JSValuecxx . . $ QTJSC/JSValue# prototype)
312 {
313 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(prototype);
314 RefPtrcxx . . $ RefPtr#<Structurecxx . . $ QTJSC/Structure#> newStructure = Structure::changePrototypeTransition(m_structure, prototype);
315 setStructurecxx . . $ QTJSC/JSObject#setStructure(9678d77265d996b).(newStructure.release());
316 }
317
318 inline void JSObjectcxx . . $ QTJSC/JSObject#::setStructurecxx . . $ QTJSC/JSObject#setStructure(9678d77265d996b).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#> structure)
319 {
320 m_structure->deref();
321 m_structure = structure.releaseRef(); // ~JSObject balances this ref()
322 }
323
324 inline Structurecxx . . $ QTJSC/Structure#* JSObjectcxx . . $ QTJSC/JSObject#::inheritorIDcxx . . $ QTJSC/JSObject#inheritorID(4f089b87575e542).()
325 {
326 if (m_inheritorID)
327 return m_inheritorID.get();
328 return createInheritorIDcxx . . $ QTJSC/JSObject#createInheritorID(4f089b87575e542).();
329 }
330
331 inline bool Structurecxx . . $ QTJSC/Structure#::isUsingInlineStoragecxx . . $ QTJSC/Structure#isUsingInlineStorage(50ce9a9e25b4a850).() const
332 {
333 return (propertyStorageCapacitycxx . . $ QTJSC/Structure#propertyStorageCapacity(ddd8539a2fcdd4ce).() == JSObjectcxx . . $ QTJSC/JSObject#::inlineStorageCapacitycxx . . $ QTJSC/JSObject#inlineStorageCapacity.);
334 }
335
336 inline bool JSCellcxx . . $ QTJSC/JSCell#::inheritscxx . . $ QTJSC/JSCell#inherits(7eca403b06d48463).(const ClassInfocxx . . $ QTJSC/ClassInfo#* info) const
337 {
338 for (const ClassInfocxx . . $ QTJSC/ClassInfo#* ci = classInfocxx . . $ QTJSC/JSCell#classInfo(f90fb4cda7a7c2e2).(); ci; ci = ci->parentClasscxx . . $ QTJSC/ClassInfo#parentClass.) {
339 if (ci == info)
340 return true;
341 }
342 return false;
343 }
344
345 // this method is here to be after the inline declaration of JSCell::inherits
346 inline bool JSValuecxx . . $ QTJSC/JSValue#::inheritscxx . . $ QTJSC/JSValue#inherits(7eca403b06d48463).(const ClassInfocxx . . $ QTJSC/ClassInfo#* classInfo) const
347 {
348 return isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).() && asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()->inheritscxx . . $ QTJSC/JSCell#inherits(7eca403b06d48463).(classInfo);
349 }
350
351 ALWAYS_INLINEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! bool JSObjectcxx . . $ QTJSC/JSObject#::inlineGetOwnPropertySlotcxx . . $ QTJSC/JSObject#inlineGetOwnPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#& slot)
352 {
353 if (JSValuecxx . . $ QTJSC/JSValue#* location = getDirectLocationcxx . . $ QTJSC/JSObject#getDirectLocation(d045793fede5b5cb).(propertyName)) {
354 if (m_structure->hasGetterSetterProperties() && location[0].isGetterSetter())
355 fillGetterPropertySlotcxx . . $ QTJSC/JSObject#fillGetterPropertySlot(7eadf007d9fb8d43).(slot, location);
356 else
357 slot.setValueSlotcxx . . $ QTJSC/PropertySlot#setValueSlot(1b789a609c0b4a9).(this, location, offsetForLocationcxx . . $ QTJSC/JSObject#offsetForLocation(3c2f1ef63f003ac6).(location));
358 return true;
359 }
360
361 // non-standard Netscape extension
362 if (propertyName ==cxx . . $ QTJSC/`operator==`(8ad6c75c472a8683). exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().underscoreProto) {
363 slot.setValuecxx . . $ QTJSC/PropertySlot#setValue(5c2ac18db087b3e6).(prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).());
364 return true;
365 }
366
367 return false;
368 }
369
370 // It may seem crazy to inline a function this large, especially a virtual function,
371 // but it makes a big difference to property lookup that derived classes can inline their
372 // base class call to this.
373 ALWAYS_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! bool JSObjectcxx . . $ QTJSC/JSObject#::getOwnPropertySlotcxx . . $ QTJSC/JSObject#getOwnPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#& slot)
374 {
375 return inlineGetOwnPropertySlotcxx . . $ QTJSC/JSObject#inlineGetOwnPropertySlot(6f4ef3dbfe7d5ab9).(exec, propertyName, slot);
376 }
377
378 ALWAYS_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! bool JSCellcxx . . $ QTJSC/JSCell#::fastGetOwnPropertySlotcxx . . $ QTJSC/JSCell#fastGetOwnPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#& slot)
379 {
380 if (!structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->typeInfocxx . . $ QTJSC/Structure#typeInfo(2e356ef879c79f0c).().overridesGetOwnPropertySlotcxx . . $ QTJSC/TypeInfo#overridesGetOwnPropertySlot(50ce9a9e25b4a850).())
381 return asObjectcxx . . $ QTJSC/asObject(57571c3d51f0c406).(this)->inlineGetOwnPropertySlotcxx . . $ QTJSC/JSObject#inlineGetOwnPropertySlot(6f4ef3dbfe7d5ab9).(exec, propertyName, slot);
382 return getOwnPropertySlotcxx . . $ QTJSC/JSCell#getOwnPropertySlot(6f4ef3dbfe7d5ab9).(exec, propertyName, slot);
383 }
384
385 // It may seem crazy to inline a function this large but it makes a big difference
386 // since this is function very hot in variable lookup
387 ALWAYS_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! bool JSObjectcxx . . $ QTJSC/JSObject#::getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#& slot)
388 {
389 JSObjectcxx . . $ QTJSC/JSObject#* object = this;
390 while (true) {
391 if (object->fastGetOwnPropertySlotcxx . . $ QTJSC/JSCell#fastGetOwnPropertySlot(6f4ef3dbfe7d5ab9).(exec, propertyName, slot))
392 return true;
393 JSValuecxx . . $ QTJSC/JSValue# prototype = object->prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).();
394 if (!prototype.isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).())
395 return false;
396 object = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(prototype);
397 }
398 }
399
400 ALWAYS_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! bool JSObjectcxx . . $ QTJSC/JSObject#::getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(d57d1c8d4b24d235).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#& slot)
401 {
402 JSObjectcxx . . $ QTJSC/JSObject#* object = this;
403 while (true) {
404 if (object->getOwnPropertySlotcxx . . $ QTJSC/JSObject#getOwnPropertySlot(d57d1c8d4b24d235).(exec, propertyName, slot))
405 return true;
406 JSValuecxx . . $ QTJSC/JSValue# prototype = object->prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).();
407 if (!prototype.isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).())
408 return false;
409 object = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(prototype);
410 }
411 }
412
413 inline JSValuecxx . . $ QTJSC/JSValue# JSObjectcxx . . $ QTJSC/JSObject#::getcxx . . $ QTJSC/JSObject#get(ccadc8db5e9d2977).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName) const
414 {
415 PropertySlotcxx . . $ QTJSC/PropertySlot# slot(this);
416 if (const_cast<JSObjectcxx . . $ QTJSC/JSObject#*>(this)->getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(6f4ef3dbfe7d5ab9).(exec, propertyName, slot))
417 return slot.getValuecxx . . $ QTJSC/PropertySlot#getValue(ccadc8db5e9d2977).(exec, propertyName);
418
419 return jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).();
420 }
421
422 inline JSValuecxx . . $ QTJSC/JSValue# JSObjectcxx . . $ QTJSC/JSObject#::getcxx . . $ QTJSC/JSObject#get(2d9c2221088d2593).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned propertyName) const
423 {
424 PropertySlotcxx . . $ QTJSC/PropertySlot# slot(this);
425 if (const_cast<JSObjectcxx . . $ QTJSC/JSObject#*>(this)->getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(d57d1c8d4b24d235).(exec, propertyName, slot))
426 return slot.getValuecxx . . $ QTJSC/PropertySlot#getValue(2d9c2221088d2593).(exec, propertyName);
427
428 return jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).();
429 }
430
431 inline void JSObjectcxx . . $ QTJSC/JSObject#::putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(e1db3c40607e41c4).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attributes, bool checkReadOnly, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot, JSCellcxx . . $ QTJSC/JSCell#* specificFunction)
432 {
433 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(value);
434 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this));
435
436 if (m_structure->isDictionary()) {
437 unsigned currentAttributes;
438 JSCellcxx . . $ QTJSC/JSCell#* currentSpecificFunction;
439 size_t offset = m_structure->get(propertyName, currentAttributes, currentSpecificFunction);
440 if (offset != WTFcxx . . $ `<built-in>:467:9`!::notFoundcxx . . $ QTWTF/notFound.) {
441 if (currentSpecificFunction && (specificFunction != currentSpecificFunction))
442 m_structure->despecifyDictionaryFunction(propertyName);
443 if (checkReadOnly && currentAttributes & ReadOnlycxx . . $ QTJSC/ReadOnly.)
444 return;
445 putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(offset, value);
446 if (!specificFunction && !currentSpecificFunction)
447 slot.setExistingPropertycxx . . $ QTJSC/PutPropertySlot#setExistingProperty(80f81b6d29a21594).(this, offset);
448 return;
449 }
450
451 size_t currentCapacity = m_structure->propertyStorageCapacity();
452 offset = m_structure->addPropertyWithoutTransition(propertyName, attributes, specificFunction);
453 if (currentCapacity != m_structure->propertyStorageCapacity())
454 allocatePropertyStoragecxx . . $ QTJSC/JSObject#allocatePropertyStorage(6714b5f2551eea49).(currentCapacity, m_structure->propertyStorageCapacity());
455
456 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(offset < m_structure->propertyStorageCapacity());
457 putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(offset, value);
458 // See comment on setNewProperty call below.
459 if (!specificFunction)
460 slot.setNewPropertycxx . . $ QTJSC/PutPropertySlot#setNewProperty(80f81b6d29a21594).(this, offset);
461 return;
462 }
463
464 size_t offset;
465 size_t currentCapacity = m_structure->propertyStorageCapacity();
466 if (RefPtr<Structure> structure = Structure::addPropertyTransitionToExistingStructure(m_structure, propertyName, attributes, specificFunction, offset)) {
467 if (currentCapacity !=cxx . . $ QTJSC/`operator!=`(5e10d8f38fa82016). structure->propertyStorageCapacity())
468 allocatePropertyStoragecxx . . $ QTJSC/JSObject#allocatePropertyStorage(6714b5f2551eea49).(currentCapacity, structure->propertyStorageCapacity());
469
470 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(offset < structure->propertyStorageCapacity());
471 setStructurecxx . . $ QTJSC/JSObject#setStructure(9678d77265d996b).(structure.release());
472 putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(offset, value);
473 // See comment on setNewProperty call below.
474 if (!specificFunction)
475 slot.setNewPropertycxx . . $ QTJSC/PutPropertySlot#setNewProperty(80f81b6d29a21594).(this, offset);
476 return;
477 }
478
479 unsigned currentAttributes;
480 JSCellcxx . . $ QTJSC/JSCell#* currentSpecificFunction;
481 offset = m_structure->get(propertyName, currentAttributes, currentSpecificFunction);
482 if (offset != WTFcxx . . $ `<built-in>:467:9`!::notFoundcxx . . $ QTWTF/notFound.) {
483 if (checkReadOnly && currentAttributes & ReadOnlycxx . . $ QTJSC/ReadOnly.)
484 return;
485
486 if (currentSpecificFunction && (specificFunction != currentSpecificFunction)) {
487 setStructurecxx . . $ QTJSC/JSObject#setStructure(9678d77265d996b).(Structurecxx . . $ QTJSC/Structure#::despecifyFunctionTransitioncxx . . $ QTJSC/Structure#despecifyFunctionTransition(ec50b0781d1a4215).(m_structure, propertyName));
488 putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(offset, value);
489 // Function transitions are not currently cachable, so leave the slot in an uncachable state.
490 return;
491 }
492 putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(offset, value);
493 slot.setExistingPropertycxx . . $ QTJSC/PutPropertySlot#setExistingProperty(80f81b6d29a21594).(this, offset);
494 return;
495 }
496
497 // If we have a specific function, we may have got to this point if there is
498 // already a transition with the correct property name and attributes, but
499 // specialized to a different function. In this case we just want to give up
500 // and despecialize the transition.
501 // In this case we clear the value of specificFunction which will result
502 // in us adding a non-specific transition, and any subsequent lookup in
503 // Structure::addPropertyTransitionToExistingStructure will just use that.
504 if (specificFunction && m_structure->hasTransition(propertyName, attributes))
505 specificFunction = 0;
506
507 RefPtrcxx . . $ RefPtr#<Structurecxx . . $ QTJSC/Structure#> structure = Structure::addPropertyTransition(m_structure, propertyName, attributes, specificFunction, offset);
508
509 if (currentCapacity !=cxx . . $ QTJSC/`operator!=`(8ad6c75c472a8683). structure->propertyStorageCapacity())
510 allocatePropertyStoragecxx . . $ QTJSC/JSObject#allocatePropertyStorage(6714b5f2551eea49).(currentCapacity, structure->propertyStorageCapacity());
511
512 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(offset < structure->propertyStorageCapacity());
513 setStructurecxx . . $ QTJSC/JSObject#setStructure(9678d77265d996b).(structure.release());
514 putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(offset, value);
515 // Function transitions are not currently cachable, so leave the slot in an uncachable state.
516 if (!specificFunction)
517 slot.setNewPropertycxx . . $ QTJSC/PutPropertySlot#setNewProperty(80f81b6d29a21594).(this, offset);
518 }
519
520 inline void JSObjectcxx . . $ QTJSC/JSObject#::putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(15024d1923313e43).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#& globalData, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attributes, bool checkReadOnly, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot)
521 {
522 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(value);
523 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this));
524
525 putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(e1db3c40607e41c4).(propertyName, value, attributes, checkReadOnly, slot, getJSFunctioncxx . . $ QTJSC/getJSFunction(6e1defc0a7f06fc0).(globalData, value));
526 }
527
528 inline void JSObjectcxx . . $ QTJSC/JSObject#::putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(795df8b79bb53573).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#& globalData, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attributes)
529 {
530 PutPropertySlotcxx . . $ QTJSC/PutPropertySlot# slotcxx . . $ QTJSC/PutPropertySlot#PutPropertySlot(49f6e7a06ebc5aa8).;
531 putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(e1db3c40607e41c4).(propertyName, value, attributes, false, slot, getJSFunctioncxx . . $ QTJSC/getJSFunction(6e1defc0a7f06fc0).(globalData, value));
532 }
533
534 inline void JSObjectcxx . . $ QTJSC/JSObject#::addAnonymousSlotscxx . . $ QTJSC/JSObject#addAnonymousSlots(cb2f890c2fdad230).(unsigned count)
535 {
536 size_t currentCapacity = m_structure->propertyStorageCapacity();
537 RefPtrcxx . . $ RefPtr#<Structurecxx . . $ QTJSC/Structure#> structure = Structure::addAnonymousSlotsTransition(m_structure, count);
538
539 if (currentCapacity !=cxx . . $ QTJSC/`operator!=`(8ad6c75c472a8683). structure->propertyStorageCapacity())
540 allocatePropertyStoragecxx . . $ QTJSC/JSObject#allocatePropertyStorage(6714b5f2551eea49).(currentCapacity, structure->propertyStorageCapacity());
541
542 setStructurecxx . . $ QTJSC/JSObject#setStructure(9678d77265d996b).(structure.release());
543 }
544
545 inline void JSObjectcxx . . $ QTJSC/JSObject#::putDirectcxx . . $ QTJSC/JSObject#putDirect(ced585bb6c91af73).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attributes, bool checkReadOnly, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot)
546 {
547 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(value);
548 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this));
549
550 putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(e1db3c40607e41c4).(propertyName, value, attributes, checkReadOnly, slot, 0);
551 }
552
553 inline void JSObjectcxx . . $ QTJSC/JSObject#::putDirectcxx . . $ QTJSC/JSObject#putDirect(10adf5710ac333de).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attributes)
554 {
555 PutPropertySlotcxx . . $ QTJSC/PutPropertySlot# slotcxx . . $ QTJSC/PutPropertySlot#PutPropertySlot(49f6e7a06ebc5aa8).;
556 putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(e1db3c40607e41c4).(propertyName, value, attributes, false, slot, 0);
557 }
558
559 inline void JSObjectcxx . . $ QTJSC/JSObject#::putDirectFunctioncxx . . $ QTJSC/JSObject#putDirectFunction(8defc81304273bae).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSCellcxx . . $ QTJSC/JSCell#* value, unsigned attributes, bool checkReadOnly, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot)
560 {
561 putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(e1db3c40607e41c4).(propertyName, valuecxx . . $ QTJSC/JSValue#JSValue(c6d88d3bdacccd64)., attributes, checkReadOnly, slot, value);
562 }
563
564 inline void JSObjectcxx . . $ QTJSC/JSObject#::putDirectFunctioncxx . . $ QTJSC/JSObject#putDirectFunction(26678ba113b0b148).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSCellcxx . . $ QTJSC/JSCell#* value, unsigned attr)
565 {
566 PutPropertySlotcxx . . $ QTJSC/PutPropertySlot# slotcxx . . $ QTJSC/PutPropertySlot#PutPropertySlot(49f6e7a06ebc5aa8).;
567 putDirectInternalcxx . . $ QTJSC/JSObject#putDirectInternal(e1db3c40607e41c4).(propertyName, valuecxx . . $ QTJSC/JSValue#JSValue(c6d88d3bdacccd64)., attr, false, slot, value);
568 }
569
570 inline void JSObjectcxx . . $ QTJSC/JSObject#::putDirectWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectWithoutTransition(10adf5710ac333de).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attributes)
571 {
572 size_t currentCapacity = m_structure->propertyStorageCapacity();
573 size_t offset = m_structure->addPropertyWithoutTransition(propertyName, attributes, 0);
574 if (currentCapacity != m_structure->propertyStorageCapacity())
575 allocatePropertyStoragecxx . . $ QTJSC/JSObject#allocatePropertyStorage(6714b5f2551eea49).(currentCapacity, m_structure->propertyStorageCapacity());
576 putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(offset, value);
577 }
578
579 inline void JSObjectcxx . . $ QTJSC/JSObject#::putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(26678ba113b0b148).(const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSCellcxx . . $ QTJSC/JSCell#* value, unsigned attributes)
580 {
581 size_t currentCapacity = m_structure->propertyStorageCapacity();
582 size_t offset = m_structure->addPropertyWithoutTransition(propertyName, attributes, value);
583 if (currentCapacity != m_structure->propertyStorageCapacity())
584 allocatePropertyStoragecxx . . $ QTJSC/JSObject#allocatePropertyStorage(6714b5f2551eea49).(currentCapacity, m_structure->propertyStorageCapacity());
585 putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(offset, valuecxx . . $ QTJSC/JSValue#JSValue(c6d88d3bdacccd64).);
586 }
587
588 inline void JSObjectcxx . . $ QTJSC/JSObject#::transitionTocxx . . $ QTJSC/JSObject#transitionTo(32e4947f9059a24a).(Structurecxx . . $ QTJSC/Structure#* newStructure)
589 {
590 if (m_structure->propertyStorageCapacity() != newStructure->propertyStorageCapacity())
591 allocatePropertyStoragecxx . . $ QTJSC/JSObject#allocatePropertyStorage(6714b5f2551eea49).(m_structure->propertyStorageCapacity(), newStructure->propertyStorageCapacitycxx . . $ QTJSC/Structure#propertyStorageCapacity(ddd8539a2fcdd4ce).());
592 setStructurecxx . . $ QTJSC/JSObject#setStructure(9678d77265d996b).(newStructure);
593 }
594
595 inline JSValuecxx . . $ QTJSC/JSValue# JSObjectcxx . . $ QTJSC/JSObject#::toPrimitivecxx . . $ QTJSC/JSObject#toPrimitive(9c1c7f5535dadf1e).(ExecStatecxx . . $ QTJSC/ExecState#* exec, PreferredPrimitiveTypecxx . . $ QTJSC/PreferredPrimitiveType# preferredType) const
596 {
597 return defaultValuecxx . . $ QTJSC/JSObject#defaultValue(9c1c7f5535dadf1e).(exec, preferredType);
598 }
599
600 inline JSValuecxx . . $ QTJSC/JSValue# JSValuecxx . . $ QTJSC/JSValue#::getcxx . . $ QTJSC/JSValue#get(ccadc8db5e9d2977).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName) const
601 {
602 PropertySlotcxx . . $ QTJSC/PropertySlot# slotcxx . . $ QTJSC/PropertySlot#PropertySlot(5c2ac18db087b3e6).(asValuecxx . . $ QTJSC/JSValue#asValue(2b3a0f51c71d9b1b).());
603 return getcxx . . $ QTJSC/JSValue#get(28aeb44443172ea7).(exec, propertyName, slot);
604 }
605
606 inline JSValuecxx . . $ QTJSC/JSValue# JSValuecxx . . $ QTJSC/JSValue#::getcxx . . $ QTJSC/JSValue#get(28aeb44443172ea7).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#& slot) const
607 {
608 if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!isCell())) {
609 JSObjectcxx . . $ QTJSC/JSObject#* prototype = synthesizePrototypecxx . . $ QTJSC/JSValue#synthesizePrototype(8709ed4849a165ab).(exec);
610 if (propertyName ==cxx . . $ QTJSC/`operator==`(8de095a508b7a893). exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().underscoreProto)
611 return prototype;
612 if (!prototype->getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(6f4ef3dbfe7d5ab9).(exec, propertyName, slot))
613 return jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).();
614 return slot.getValuecxx . . $ QTJSC/PropertySlot#getValue(ccadc8db5e9d2977).(exec, propertyName);
615 }
616 JSCellcxx . . $ QTJSC/JSCell#* cell = asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).();
617 while (true) {
618 if (cell->fastGetOwnPropertySlotcxx . . $ QTJSC/JSCell#fastGetOwnPropertySlot(6f4ef3dbfe7d5ab9).(exec, propertyName, slot))
619 return slot.getValuecxx . . $ QTJSC/PropertySlot#getValue(ccadc8db5e9d2977).(exec, propertyName);
620 JSValuecxx . . $ QTJSC/JSValue# prototype = asObjectcxx . . $ QTJSC/asObject(57571c3d51f0c406).(cell)->prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).();
621 if (!prototype.isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).())
622 return jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).();
623 cell = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(prototype);
624 }
625 }
626
627 inline JSValuecxx . . $ QTJSC/JSValue# JSValuecxx . . $ QTJSC/JSValue#::getcxx . . $ QTJSC/JSValue#get(2d9c2221088d2593).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned propertyName) const
628 {
629 PropertySlotcxx . . $ QTJSC/PropertySlot# slotcxx . . $ QTJSC/PropertySlot#PropertySlot(5c2ac18db087b3e6).(asValuecxx . . $ QTJSC/JSValue#asValue(2b3a0f51c71d9b1b).());
630 return getcxx . . $ QTJSC/JSValue#get(5f1b85e2b25f159b).(exec, propertyName, slot);
631 }
632
633 inline JSValuecxx . . $ QTJSC/JSValue# JSValuecxx . . $ QTJSC/JSValue#::getcxx . . $ QTJSC/JSValue#get(5f1b85e2b25f159b).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#& slot) const
634 {
635 if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!isCell())) {
636 JSObjectcxx . . $ QTJSC/JSObject#* prototype = synthesizePrototypecxx . . $ QTJSC/JSValue#synthesizePrototype(8709ed4849a165ab).(exec);
637 if (!prototype->getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(d57d1c8d4b24d235).(exec, propertyName, slot))
638 return jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).();
639 return slot.getValuecxx . . $ QTJSC/PropertySlot#getValue(2d9c2221088d2593).(exec, propertyName);
640 }
641 JSCellcxx . . $ QTJSC/JSCell#* cell = const_cast<JSCellcxx . . $ QTJSC/JSCell#*>(asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).());
642 while (true) {
643 if (cell->getOwnPropertySlotcxx . . $ QTJSC/JSCell#getOwnPropertySlot(d57d1c8d4b24d235).(exec, propertyName, slot))
644 return slot.getValuecxx . . $ QTJSC/PropertySlot#getValue(2d9c2221088d2593).(exec, propertyName);
645 JSValuecxx . . $ QTJSC/JSValue# prototype = asObjectcxx . . $ QTJSC/asObject(57571c3d51f0c406).(cell)->prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).();
646 if (!prototype.isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).())
647 return jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).();
648 cell = prototype.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).();
649 }
650 }
651
652 inline void JSValuecxx . . $ QTJSC/JSValue#::putcxx . . $ QTJSC/JSValue#put(dfb3133dafbe9ff4).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot)
653 {
654 if (UNLIKELYcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!isCell())) {
655 synthesizeObjectcxx . . $ QTJSC/JSValue#synthesizeObject(8709ed4849a165ab).(exec)->putcxx . . $ QTJSC/JSObject#put(dfb3133dafbe9ff4).(exec, propertyName, value, slot);
656 return;
657 }
658 asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()->putcxx . . $ QTJSC/JSCell#put(dfb3133dafbe9ff4).(exec, propertyName, value, slot);
659 }
660
661 inline void JSValuecxx . . $ QTJSC/JSValue#::putcxx . . $ QTJSC/JSValue#put(b1b60585cf3bb95).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned propertyName, JSValuecxx . . $ QTJSC/JSValue# value)
662 {
663 if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!isCell())) {
664 synthesizeObjectcxx . . $ QTJSC/JSValue#synthesizeObject(8709ed4849a165ab).(exec)->putcxx . . $ QTJSC/JSObject#put(b1b60585cf3bb95).(exec, propertyName, value);
665 return;
666 }
667 asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()->putcxx . . $ QTJSC/JSCell#put(b1b60585cf3bb95).(exec, propertyName, value);
668 }
669
670 ALWAYS_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! void JSObjectcxx . . $ QTJSC/JSObject#::allocatePropertyStorageInlinecxx . . $ QTJSC/JSObject#allocatePropertyStorageInline(6714b5f2551eea49).(size_t oldSize, size_t newSize)
671 {
672 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(newSize > oldSize);
673
674 // It's important that this function not rely on m_structure, since
675 // we might be in the middle of a transition.
676 bool wasInline = (oldSize == JSObjectcxx . . $ QTJSC/JSObject#::inlineStorageCapacitycxx . . $ QTJSC/JSObject#inlineStorageCapacity.);
677
678 PropertyStoragecxx . . $ QTJSC/PropertyStorage# oldPropertyStorage = (wasInline ? m_inlineStoragecxx . . $ QTJSC/JSObject#$anonymous_type_0#m_inlineStorage. : m_externalStoragecxx . . $ QTJSC/JSObject#$anonymous_type_0#m_externalStorage.);
679 PropertyStoragecxx . . $ QTJSC/PropertyStorage# newPropertyStorage = new EncodedJSValuecxx . . $ QTJSC/EncodedJSValue#[newSize];
680
681 for (unsigned i = 0; i < oldSize; ++i)
682 newPropertyStorage[i] = oldPropertyStorage[i];
683
684 if (!wasInline)
685 delete [] oldPropertyStorage;
686
687 m_externalStoragecxx . . $ QTJSC/JSObject#$anonymous_type_0#m_externalStorage. = newPropertyStorage;
688 }
689
690 ALWAYS_INLINEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! void JSObjectcxx . . $ QTJSC/JSObject#::markChildrenDirectcxx . . $ QTJSC/JSObject#markChildrenDirect(bd9cae851d80a865).(MarkStackcxx . . $ QTJSC/MarkStack#& markStack)
691 {
692 JSCellcxx . . $ QTJSC/JSCell#::markChildrencxx . . $ QTJSC/JSCell#markChildren(bd9cae851d80a865).(markStack);
693
694 markStack.appendcxx . . $ QTJSC/MarkStack#append(5c2ac18db087b3e6).(prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).());
695
696 PropertyStoragecxx . . $ QTJSC/PropertyStorage# storage = propertyStoragecxx . . $ QTJSC/JSObject#propertyStorage(60be7a5da8c9361a).();
697 size_t storageSize = m_structure->propertyStorageSize();
698 markStack.appendValuescxx . . $ QTJSC/MarkStack#appendValues(5ce9403f1fe638b8).(reinterpret_cast<JSValuecxx . . $ QTJSC/JSValue#*>(storage), storageSize);
699 }
700
701 } // namespace JSC
702
703 #endif // JSObject_h