| 1 | /* |
| 2 | * Copyright (C) 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 | * Copyright (C) 2008 Cameron Zwarich ([email protected]) |
| 4 | * |
| 5 | * Redistribution and use in source and binary forms, with or without |
| 6 | * modification, are permitted provided that the following conditions |
| 7 | * are met: |
| 8 | * |
| 9 | * 1. Redistributions of source code must retain the above copyright |
| 10 | * notice, this list of conditions and the following disclaimer. |
| 11 | * 2. Redistributions in binary form must reproduce the above copyright |
| 12 | * notice, this list of conditions and the following disclaimer in the |
| 13 | * documentation and/or other materials provided with the distribution. |
| 14 | * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of |
| 15 | * its contributors may be used to endorse or promote products derived |
| 16 | * from this software without specific prior written permission. |
| 17 | * |
| 18 | * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY |
| 19 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 21 | * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
| 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 | */ |
| 29 | |
| 30 | #include "config.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/config.h`/ |
| 31 | #include "JSGlobalObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h`/ |
| 32 | |
| 33 | #include "JSCallbackConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/API/JSCallbackConstructor.h`/ |
| 34 | #include "JSCallbackFunction.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/API/JSCallbackFunction.h`/ |
| 35 | #include "JSCallbackObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/API/JSCallbackObject.h`/ |
| 36 | |
| 37 | #include "Arguments.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Arguments.h`/ |
| 38 | #include "ArrayConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ArrayConstructor.h`/ |
| 39 | #include "ArrayPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ArrayPrototype.h`/ |
| 40 | #include "BooleanConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/BooleanConstructor.h`/ |
| 41 | #include "BooleanPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/BooleanPrototype.h`/ |
| 42 | #include "CodeBlock.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/CodeBlock.h`/ |
| 43 | #include "DateConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/DateConstructor.h`/ |
| 44 | #include "DatePrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/DatePrototype.h`/ |
| 45 | #include "ErrorConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ErrorConstructor.h`/ |
| 46 | #include "ErrorPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ErrorPrototype.h`/ |
| 47 | #include "FunctionConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/FunctionConstructor.h`/ |
| 48 | #include "FunctionPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/FunctionPrototype.h`/ |
| 49 | #include "GlobalEvalFunction.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/GlobalEvalFunction.h`/ |
| 50 | #include "JSFunction.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSFunction.h`/ |
| 51 | #include "JSGlobalObjectFunctions.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObjectFunctions.h`/ |
| 52 | #include "JSLock.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSLock.h`/ |
| 53 | #include "JSONObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSONObject.h`/ |
| 54 | #include "Interpreter.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.h`/ |
| 55 | #include "MathObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/MathObject.h`/ |
| 56 | #include "NativeErrorConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/NativeErrorConstructor.h`/ |
| 57 | #include "NativeErrorPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/NativeErrorPrototype.h`/ |
| 58 | #include "NumberConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/NumberConstructor.h`/ |
| 59 | #include "NumberPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/NumberPrototype.h`/ |
| 60 | #include "ObjectConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ObjectConstructor.h`/ |
| 61 | #include "ObjectPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ObjectPrototype.h`/ |
| 62 | #include "Profiler.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/profiler/Profiler.h`/ |
| 63 | #include "PrototypeFunction.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/PrototypeFunction.h`/ |
| 64 | #include "RegExpConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExpConstructor.h`/ |
| 65 | #include "RegExpMatchesArray.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExpMatchesArray.h`/ |
| 66 | #include "RegExpObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExpObject.h`/ |
| 67 | #include "RegExpPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExpPrototype.h`/ |
| 68 | #include "ScopeChainMark.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ScopeChainMark.h`/ |
| 69 | #include "StringConstructor.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/StringConstructor.h`/ |
| 70 | #include "StringPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/StringPrototype.h`/ |
| 71 | #include "Debugger.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/debugger/Debugger.h`/ |
| 72 | |
| 73 | namespace JSCcxx . . $ `<built-in>:463:9`! { |
| 74 | |
| 75 | ASSERT_CLASS_FITS_IN_CELLcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h:42:9`!(JSGlobalObject); |
| 76 | |
| 77 | // Default number of ticks before a timeout check should be done. |
| 78 | static const int initialTickCountThresholdcxx . . $ QTJSC/initialTickCountThreshold. = 255; |
| 79 | |
| 80 | // Preferred number of milliseconds between each timeout check |
| 81 | static const int preferredScriptCheckTimeIntervalcxx . . $ QTJSC/preferredScriptCheckTimeInterval. = 1000; |
| 82 | |
| 83 | static inline void markIfNeededcxx . . $ QTJSC/markIfNeeded(31da504ebb2dcfc9).(MarkStackcxx . . $ QTJSC/MarkStack#& markStack, JSValuecxx . . $ QTJSC/JSValue# v) |
| 84 | { |
| 85 | if (v) |
| 86 | markStack.appendcxx . . $ QTJSC/MarkStack#append(5c2ac18db087b3e6).(v); |
| 87 | } |
| 88 | |
| 89 | static inline void markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(MarkStackcxx . . $ QTJSC/MarkStack#& markStack, const RefPtrcxx . . $ RefPtr#<Structurecxx . . $ QTJSC/Structure#>& s) |
| 90 | { |
| 91 | if (s) |
| 92 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, s->storedPrototype()); |
| 93 | } |
| 94 | |
| 95 | JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::~cxx . . $ QTJSC/JSGlobalObject#`~JSGlobalObject`(49f6e7a06ebc5aa8).JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#() |
| 96 | { |
| 97 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(JSLock::currentThreadIsHoldingLock()); |
| 98 | |
| 99 | if (dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->debuggercxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#debugger.) |
| 100 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->debuggercxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#debugger.->detachcxx . . $ QTJSC/Debugger#detach(314241c1c980276a).(this); |
| 101 | |
| 102 | Profilercxx . . $ QTJSC/Profiler#** profiler = Profilercxx . . $ QTJSC/Profiler#::enabledProfilerReferencecxx . . $ QTJSC/Profiler#enabledProfilerReference(3c6d24c096f14502).(); |
| 103 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(*profiler != 0)) { |
| 104 | (*profiler)->stopProfilingcxx . . $ QTJSC/Profiler#stopProfiling(61c399322a76e605).(globalExeccxx . . $ QTJSC/JSGlobalObject#globalExec(27c3d7386a195136).(), UStringcxx . . $ QTJSC/UString#UString(49f6e7a06ebc5aa8).()); |
| 105 | } |
| 106 | |
| 107 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->nextcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#next.->dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prevcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#prev. = dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prevcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#prev.; |
| 108 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prevcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#prev.->dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->nextcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#next. = dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->nextcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#next.; |
| 109 | JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#*& headObject = headcxx . . $ QTJSC/JSGlobalObject#head(8779cf17d395caf7).(); |
| 110 | if (headObject == this) |
| 111 | headObject = dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->nextcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#next.; |
| 112 | if (headObject == this) |
| 113 | headObject = 0; |
| 114 | |
| 115 | HashSet<GlobalCodeBlock*>::const_iterator end = codeBlocks().end(); |
| 116 | for (HashSet<GlobalCodeBlock*>::const_iterator it = codeBlocks().begin(); it !=cxx . . $ QTJSC/`operator!=`(8208a731c2dadbc2). end; ++it) |
| 117 | (*it)->clearGlobalObject(); |
| 118 | |
| 119 | RegisterFilecxx . . $ QTJSC/RegisterFile#& registerFile = globalDatacxx . . $ QTJSC/JSGlobalObject#globalData(a2bcd21f8a8ecac2).()->interpretercxx . . $ QTJSC/JSGlobalData#interpreter.->registerFilecxx . . $ QTJSC/Interpreter#registerFile(2b422a0e2f5a1a12).(); |
| 120 | if (registerFile.globalObjectcxx . . $ QTJSC/RegisterFile#globalObject(4418983463e2bc6a).() == this) { |
| 121 | registerFile.setGlobalObjectcxx . . $ QTJSC/RegisterFile#setGlobalObject(314241c1c980276a).(0); |
| 122 | registerFile.setNumGlobalscxx . . $ QTJSC/RegisterFile#setNumGlobals(2c44cd906ae4e829).(0); |
| 123 | } |
| 124 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->destructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#destructor.(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()); |
| 125 | } |
| 126 | |
| 127 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::initcxx . . $ QTJSC/JSGlobalObject#init(aa1c69ebc68b9201).(JSObjectcxx . . $ QTJSC/JSObject#* thisValue) |
| 128 | { |
| 129 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(JSLock::currentThreadIsHoldingLock()); |
| 130 | |
| 131 | structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->disableSpecificFunctionTracking(); |
| 132 | |
| 133 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->globalData = Heapcxx . . $ QTJSC/Heap#::heapcxx . . $ QTJSC/Heap#heap(4163b73911f9bcad).(this)->globalDatacxx . . $ QTJSC/Heap#globalData(44258322f873d6e7).(); |
| 134 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->globalScopeChaincxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#globalScopeChain. =cxx . . $ QTJSC/ScopeChain#`operator=`(8020e468db5c14ae). ScopeChaincxx . . $ QTJSC/ScopeChain#(this, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->globalData.get(), this, thisValue); |
| 135 | |
| 136 | JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::globalExeccxx . . $ QTJSC/JSGlobalObject#globalExec(27c3d7386a195136).()->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(0, 0, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->globalScopeChaincxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#globalScopeChain..nodecxx . . $ QTJSC/ScopeChain#node(7483ce9f56294eec).(), CallFramecxx . . $ QTJSC/CallFrame#::noCallercxx . . $ QTJSC/ExecState#noCaller(27c3d7386a195136).(), 0, 0, 0); |
| 137 | |
| 138 | if (JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#*& headObject = headcxx . . $ QTJSC/JSGlobalObject#head(8779cf17d395caf7).()) { |
| 139 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prevcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#prev. = headObject; |
| 140 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->nextcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#next. = headObject->dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->nextcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#next.; |
| 141 | headObject->dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->nextcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#next.->dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prevcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#prev. = this; |
| 142 | headObject->dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->nextcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#next. = this; |
| 143 | } else |
| 144 | headObject = dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->nextcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#next. = dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prevcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#prev. = this; |
| 145 | |
| 146 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->recursioncxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#recursion. = 0; |
| 147 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->debuggercxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#debugger. = 0; |
| 148 | |
| 149 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->profileGroupcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#profileGroup. = 0; |
| 150 | |
| 151 | resetcxx . . $ QTJSC/JSGlobalObject#reset(5c2ac18db087b3e6).(prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).()); |
| 152 | } |
| 153 | |
| 154 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::putcxx . . $ QTJSC/JSGlobalObject#put(dfb3133dafbe9ff4).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot) |
| 155 | { |
| 156 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this)); |
| 157 | |
| 158 | if (symbolTablePutcxx . . $ QTJSC/JSVariableObject#symbolTablePut(fed57b58e1b3b689).(propertyName, value)) |
| 159 | return; |
| 160 | JSVariableObjectcxx . . $ QTJSC/JSVariableObject#::putcxx . . $ QTJSC/JSGlobalObject#put(dfb3133dafbe9ff4).(exec, propertyName, value, slot); |
| 161 | } |
| 162 | |
| 163 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::putWithAttributescxx . . $ QTJSC/JSGlobalObject#putWithAttributes(3dd2e6313723688d).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# value, unsigned attributes) |
| 164 | { |
| 165 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this)); |
| 166 | |
| 167 | if (symbolTablePutWithAttributescxx . . $ QTJSC/JSVariableObject#symbolTablePutWithAttributes(689229d65cb128e1).(propertyName, value, attributes)) |
| 168 | return; |
| 169 | |
| 170 | JSValuecxx . . $ QTJSC/JSValue# valueBefore = getDirectcxx . . $ QTJSC/JSObject#getDirect(3d7955d927d372a0).(propertyName); |
| 171 | PutPropertySlotcxx . . $ QTJSC/PutPropertySlot# slotcxx . . $ QTJSC/PutPropertySlot#PutPropertySlot(49f6e7a06ebc5aa8).; |
| 172 | JSVariableObjectcxx . . $ QTJSC/JSVariableObject#::putcxx . . $ QTJSC/JSGlobalObject#put(dfb3133dafbe9ff4).(exec, propertyName, value, slot); |
| 173 | if (!valueBefore) { |
| 174 | JSValuecxx . . $ QTJSC/JSValue# valueAfter = getDirectcxx . . $ QTJSC/JSObject#getDirect(3d7955d927d372a0).(propertyName); |
| 175 | if (valueAfter) |
| 176 | JSObjectcxx . . $ QTJSC/JSObject#::putWithAttributescxx . . $ QTJSC/JSGlobalObject#putWithAttributes(3dd2e6313723688d).(exec, propertyName, valueAfter, attributes); |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::defineGettercxx . . $ QTJSC/JSGlobalObject#defineGetter(413481394bc380b4).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSObjectcxx . . $ QTJSC/JSObject#* getterFunc, unsigned attributes) |
| 181 | { |
| 182 | PropertySlotcxx . . $ QTJSC/PropertySlot# slotcxx . . $ QTJSC/PropertySlot#PropertySlot(49f6e7a06ebc5aa8).; |
| 183 | if (!symbolTableGetcxx . . $ QTJSC/JSVariableObject#symbolTableGet(391045bfc0f9285).(propertyName, slot)) |
| 184 | JSVariableObjectcxx . . $ QTJSC/JSVariableObject#::defineGettercxx . . $ QTJSC/JSObject#defineGetter(413481394bc380b4).(exec, propertyName, getterFunc, attributes); |
| 185 | } |
| 186 | |
| 187 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::defineSettercxx . . $ QTJSC/JSGlobalObject#defineSetter(413481394bc380b4).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSObjectcxx . . $ QTJSC/JSObject#* setterFunc, unsigned attributes) |
| 188 | { |
| 189 | PropertySlotcxx . . $ QTJSC/PropertySlot# slotcxx . . $ QTJSC/PropertySlot#PropertySlot(49f6e7a06ebc5aa8).; |
| 190 | if (!symbolTableGetcxx . . $ QTJSC/JSVariableObject#symbolTableGet(391045bfc0f9285).(propertyName, slot)) |
| 191 | JSVariableObjectcxx . . $ QTJSC/JSVariableObject#::defineSettercxx . . $ QTJSC/JSObject#defineSetter(413481394bc380b4).(exec, propertyName, setterFunc, attributes); |
| 192 | } |
| 193 | |
| 194 | static inline JSObjectcxx . . $ QTJSC/JSObject#* lastInPrototypeChaincxx . . $ QTJSC/lastInPrototypeChain(c8d703383fcc4db3).(JSObjectcxx . . $ QTJSC/JSObject#* object) |
| 195 | { |
| 196 | JSObjectcxx . . $ QTJSC/JSObject#* o = object; |
| 197 | while (o->prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).().isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).()) |
| 198 | o = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(o->prototypecxx . . $ QTJSC/JSObject#prototype(888c053acf364da1).()); |
| 199 | return o; |
| 200 | } |
| 201 | |
| 202 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::resetcxx . . $ QTJSC/JSGlobalObject#reset(5c2ac18db087b3e6).(JSValuecxx . . $ QTJSC/JSValue# prototype) |
| 203 | { |
| 204 | ExecStatecxx . . $ QTJSC/ExecState#* exec = JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::globalExeccxx . . $ QTJSC/JSGlobalObject#globalExec(27c3d7386a195136).(); |
| 205 | |
| 206 | // Prototypes |
| 207 | |
| 208 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype. = new (exec) FunctionPrototypecxx . . $ QTJSC/FunctionPrototype#(exec, FunctionPrototype::createStructure(jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).())); // The real prototype will be set once ObjectPrototype is created. |
| 209 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure = PrototypeFunction::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.); |
| 210 | NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#* callFunction = 0; |
| 211 | NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#* applyFunction = 0; |
| 212 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.->addFunctionPropertiescxx . . $ QTJSC/FunctionPrototype#addFunctionProperties(b955a9bf957c827a).(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), &callFunction, &applyFunction); |
| 213 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->callFunctioncxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#callFunction. = callFunction; |
| 214 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->applyFunctioncxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#applyFunction. = applyFunction; |
| 215 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype. = new (exec) ObjectPrototypecxx . . $ QTJSC/ObjectPrototype#(exec, ObjectPrototype::createStructure(jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).()), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get()); |
| 216 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->setPrototypeWithoutTransition(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.); |
| 217 | |
| 218 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->emptyObjectStructure = dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.->inheritorIDcxx . . $ QTJSC/JSObject#inheritorID(4f089b87575e542).(); |
| 219 | |
| 220 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionStructure = JSFunction::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.); |
| 221 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->callbackFunctionStructure = JSCallbackFunction::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.); |
| 222 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->argumentsStructure = Arguments::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.); |
| 223 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->callbackConstructorStructure = JSCallbackConstructor::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.); |
| 224 | d()->callbackObjectStructure = JSCallbackObject<JSObject>::createStructure(d()->objectPrototype); |
| 225 | |
| 226 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->arrayPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#arrayPrototype. = new (exec) ArrayPrototypecxx . . $ QTJSC/ArrayPrototype#(ArrayPrototype::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.)); |
| 227 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->arrayStructure = JSArray::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->arrayPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#arrayPrototype.); |
| 228 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpMatchesArrayStructure = RegExpMatchesArray::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->arrayPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#arrayPrototype.); |
| 229 | |
| 230 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->stringPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#stringPrototype. = new (exec) StringPrototypecxx . . $ QTJSC/StringPrototype#(exec, StringPrototype::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.)); |
| 231 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->stringObjectStructure = StringObject::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->stringPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#stringPrototype.); |
| 232 | |
| 233 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->booleanPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#booleanPrototype. = new (exec) BooleanPrototypecxx . . $ QTJSC/BooleanPrototype#(exec, BooleanPrototype::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get()); |
| 234 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->booleanObjectStructure = BooleanObject::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->booleanPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#booleanPrototype.); |
| 235 | |
| 236 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->numberPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#numberPrototype. = new (exec) NumberPrototypecxx . . $ QTJSC/NumberPrototype#(exec, NumberPrototype::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get()); |
| 237 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->numberObjectStructure = NumberObject::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->numberPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#numberPrototype.); |
| 238 | |
| 239 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->datePrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#datePrototype. = new (exec) DatePrototypecxx . . $ QTJSC/DatePrototype#(exec, DatePrototype::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.)); |
| 240 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->dateStructure = DateInstance::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->datePrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#datePrototype.); |
| 241 | |
| 242 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#regExpPrototype. = new (exec) RegExpPrototypecxx . . $ QTJSC/RegExpPrototype#(exec, RegExpPrototype::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get()); |
| 243 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpStructure = RegExpObject::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#regExpPrototype.); |
| 244 | |
| 245 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->methodCallDummycxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#methodCallDummy. = constructEmptyObjectcxx . . $ QTJSC/constructEmptyObject(dc025d143f56633c).(exec); |
| 246 | |
| 247 | ErrorPrototypecxx . . $ QTJSC/ErrorPrototype#* errorPrototype = new (exec) ErrorPrototypecxx . . $ QTJSC/ErrorPrototype#(exec, ErrorPrototype::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get()); |
| 248 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->errorStructure = ErrorInstance::createStructure(errorPrototype); |
| 249 | |
| 250 | RefPtrcxx . . $ RefPtr#<Structurecxx . . $ QTJSC/Structure#> nativeErrorPrototypeStructure = NativeErrorPrototype::createStructure(errorPrototype); |
| 251 | |
| 252 | NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#* evalErrorPrototype = new (exec) NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#(exec, nativeErrorPrototypeStructure, "EvalError", "EvalError"); |
| 253 | NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#* rangeErrorPrototype = new (exec) NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#(exec, nativeErrorPrototypeStructure, "RangeError", "RangeError"); |
| 254 | NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#* referenceErrorPrototype = new (exec) NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#(exec, nativeErrorPrototypeStructure, "ReferenceError", "ReferenceError"); |
| 255 | NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#* syntaxErrorPrototype = new (exec) NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#(exec, nativeErrorPrototypeStructure, "SyntaxError", "SyntaxError"); |
| 256 | NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#* typeErrorPrototype = new (exec) NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#(exec, nativeErrorPrototypeStructure, "TypeError", "TypeError"); |
| 257 | NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#* URIErrorPrototype = new (exec) NativeErrorPrototypecxx . . $ QTJSC/NativeErrorPrototype#(exec, nativeErrorPrototypeStructure, "URIError", "URIError"); |
| 258 | |
| 259 | // Constructors |
| 260 | |
| 261 | JSCellcxx . . $ QTJSC/JSCell#* objectConstructor = new (exec) ObjectConstructorcxx . . $ QTJSC/ObjectConstructor#(exec, ObjectConstructor::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype., dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get()); |
| 262 | JSCellcxx . . $ QTJSC/JSCell#* functionConstructor = new (exec) FunctionConstructorcxx . . $ QTJSC/FunctionConstructor#(exec, FunctionConstructor::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.); |
| 263 | JSCellcxx . . $ QTJSC/JSCell#* arrayConstructor = new (exec) ArrayConstructorcxx . . $ QTJSC/ArrayConstructor#(exec, ArrayConstructor::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->arrayPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#arrayPrototype., dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get()); |
| 264 | JSCellcxx . . $ QTJSC/JSCell#* stringConstructor = new (exec) StringConstructorcxx . . $ QTJSC/StringConstructor#(exec, StringConstructor::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->stringPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#stringPrototype.); |
| 265 | JSCellcxx . . $ QTJSC/JSCell#* booleanConstructor = new (exec) BooleanConstructorcxx . . $ QTJSC/BooleanConstructor#(exec, BooleanConstructor::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->booleanPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#booleanPrototype.); |
| 266 | JSCellcxx . . $ QTJSC/JSCell#* numberConstructor = new (exec) NumberConstructorcxx . . $ QTJSC/NumberConstructor#(exec, NumberConstructor::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->numberPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#numberPrototype.); |
| 267 | JSCellcxx . . $ QTJSC/JSCell#* dateConstructor = new (exec) DateConstructorcxx . . $ QTJSC/DateConstructor#(exec, DateConstructor::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->datePrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#datePrototype.); |
| 268 | |
| 269 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#regExpConstructor. = new (exec) RegExpConstructorcxx . . $ QTJSC/RegExpConstructor#(exec, RegExpConstructor::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#regExpPrototype.); |
| 270 | |
| 271 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->errorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#errorConstructor. = new (exec) ErrorConstructorcxx . . $ QTJSC/ErrorConstructor#(exec, ErrorConstructor::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.), errorPrototype); |
| 272 | |
| 273 | RefPtrcxx . . $ RefPtr#<Structurecxx . . $ QTJSC/Structure#> nativeErrorStructure = NativeErrorConstructor::createStructure(d()->functionPrototype); |
| 274 | |
| 275 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->evalErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#evalErrorConstructor. = new (exec) NativeErrorConstructorcxx . . $ QTJSC/NativeErrorConstructor#(exec, nativeErrorStructure, evalErrorPrototype); |
| 276 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->rangeErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#rangeErrorConstructor. = new (exec) NativeErrorConstructorcxx . . $ QTJSC/NativeErrorConstructor#(exec, nativeErrorStructure, rangeErrorPrototype); |
| 277 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->referenceErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#referenceErrorConstructor. = new (exec) NativeErrorConstructorcxx . . $ QTJSC/NativeErrorConstructor#(exec, nativeErrorStructure, referenceErrorPrototype); |
| 278 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->syntaxErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#syntaxErrorConstructor. = new (exec) NativeErrorConstructorcxx . . $ QTJSC/NativeErrorConstructor#(exec, nativeErrorStructure, syntaxErrorPrototype); |
| 279 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->typeErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#typeErrorConstructor. = new (exec) NativeErrorConstructorcxx . . $ QTJSC/NativeErrorConstructor#(exec, nativeErrorStructure, typeErrorPrototype); |
| 280 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->URIErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#URIErrorConstructor. = new (exec) NativeErrorConstructorcxx . . $ QTJSC/NativeErrorConstructor#(exec, nativeErrorStructure, URIErrorPrototype); |
| 281 | |
| 282 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.->putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, objectConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 283 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.->putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, functionConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 284 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->arrayPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#arrayPrototype.->putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, arrayConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 285 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->booleanPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#booleanPrototype.->putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, booleanConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 286 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->stringPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#stringPrototype.->putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, stringConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 287 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->numberPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#numberPrototype.->putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, numberConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 288 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->datePrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#datePrototype.->putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, dateConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 289 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#regExpPrototype.->putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#regExpConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 290 | errorPrototype->putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->errorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#errorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 291 | |
| 292 | evalErrorPrototype->putDirectcxx . . $ QTJSC/JSObject#putDirect(10adf5710ac333de).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->evalErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#evalErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 293 | rangeErrorPrototype->putDirectcxx . . $ QTJSC/JSObject#putDirect(10adf5710ac333de).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->rangeErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#rangeErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 294 | referenceErrorPrototype->putDirectcxx . . $ QTJSC/JSObject#putDirect(10adf5710ac333de).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->referenceErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#referenceErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 295 | syntaxErrorPrototype->putDirectcxx . . $ QTJSC/JSObject#putDirect(10adf5710ac333de).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->syntaxErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#syntaxErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 296 | typeErrorPrototype->putDirectcxx . . $ QTJSC/JSObject#putDirect(10adf5710ac333de).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->typeErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#typeErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 297 | URIErrorPrototype->putDirectcxx . . $ QTJSC/JSObject#putDirect(10adf5710ac333de).(exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().constructor, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->URIErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#URIErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 298 | |
| 299 | // Set global constructors |
| 300 | |
| 301 | // FIXME: These properties could be handled by a static hash table. |
| 302 | |
| 303 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "Object"), objectConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 304 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "Function"), functionConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 305 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "Array"), arrayConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 306 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "Boolean"), booleanConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 307 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "String"), stringConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 308 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "Number"), numberConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 309 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "Date"), dateConstructor, DontEnumcxx . . $ QTJSC/DontEnum.); |
| 310 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "RegExp"), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#regExpConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 311 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "Error"), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->errorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#errorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 312 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "EvalError"), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->evalErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#evalErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 313 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "RangeError"), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->rangeErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#rangeErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 314 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "ReferenceError"), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->referenceErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#referenceErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 315 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "SyntaxError"), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->syntaxErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#syntaxErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 316 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "TypeError"), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->typeErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#typeErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 317 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "URIError"), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->URIErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#URIErrorConstructor., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 318 | |
| 319 | // Set global values. |
| 320 | GlobalPropertyInfocxx . . $ QTJSC/JSGlobalObject#GlobalPropertyInfo# staticGlobals[] = { |
| 321 | GlobalPropertyInfo(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "Math"), new (exec) MathObjectcxx . . $ QTJSC/MathObject#(exec, MathObject::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.)), DontEnumcxx . . $ QTJSC/DontEnum. | DontDeletecxx . . $ QTJSC/DontDelete.), |
| 322 | GlobalPropertyInfocxx . . $ QTJSC/JSGlobalObject#GlobalPropertyInfo#GlobalPropertyInfo(10adf5710ac333de).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "NaN"), jsNaNcxx . . $ QTJSC/jsNaN(3fbe51058e39576a).(exec), DontEnumcxx . . $ QTJSC/DontEnum. | DontDeletecxx . . $ QTJSC/DontDelete.), |
| 323 | GlobalPropertyInfocxx . . $ QTJSC/JSGlobalObject#GlobalPropertyInfo#GlobalPropertyInfo(10adf5710ac333de).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "Infinity"), jsNumbercxx . . $ QTJSC/jsNumber(88e66938454912cb).(exec, Infcxx . . $ QTJSC/Inf.), DontEnumcxx . . $ QTJSC/DontEnum. | DontDeletecxx . . $ QTJSC/DontDelete.), |
| 324 | GlobalPropertyInfocxx . . $ QTJSC/JSGlobalObject#GlobalPropertyInfo#GlobalPropertyInfo(10adf5710ac333de).(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "undefined"), jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).(), DontEnumcxx . . $ QTJSC/DontEnum. | DontDeletecxx . . $ QTJSC/DontDelete.), |
| 325 | GlobalPropertyInfo(Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "JSON"), new (exec) JSONObjectcxx . . $ QTJSC/JSONObject#(JSONObject::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.)), DontEnumcxx . . $ QTJSC/DontEnum. | DontDeletecxx . . $ QTJSC/DontDelete.) |
| 326 | }; |
| 327 | |
| 328 | addStaticGlobalscxx . . $ QTJSC/JSGlobalObject#addStaticGlobals(2902b6ee39e381b).(staticGlobals, sizeof(staticGlobals) / sizeof(GlobalPropertyInfocxx . . $ QTJSC/JSGlobalObject#GlobalPropertyInfo#)); |
| 329 | |
| 330 | // Set global functions. |
| 331 | |
| 332 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->evalFunctioncxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#evalFunction. = new (exec) GlobalEvalFunctioncxx . . $ QTJSC/GlobalEvalFunction#(exec, GlobalEvalFunction::createStructure(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.), 1, exec->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().eval, globalFuncEvalcxx . . $ QTJSC/globalFuncEval(cac2aec6ecb9506b)., this); |
| 333 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->evalFunctioncxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#evalFunction., DontEnumcxx . . $ QTJSC/DontEnum.); |
| 334 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, new (exec) NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), 2, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "parseInt"), globalFuncParseIntcxx . . $ QTJSC/globalFuncParseInt(cac2aec6ecb9506b).), DontEnumcxx . . $ QTJSC/DontEnum.); |
| 335 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, new (exec) NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), 1, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "parseFloat"), globalFuncParseFloatcxx . . $ QTJSC/globalFuncParseFloat(cac2aec6ecb9506b).), DontEnumcxx . . $ QTJSC/DontEnum.); |
| 336 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, new (exec) NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), 1, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "isNaN"), globalFuncIsNaNcxx . . $ QTJSC/globalFuncIsNaN(cac2aec6ecb9506b).), DontEnumcxx . . $ QTJSC/DontEnum.); |
| 337 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, new (exec) NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), 1, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "isFinite"), globalFuncIsFinitecxx . . $ QTJSC/globalFuncIsFinite(cac2aec6ecb9506b).), DontEnumcxx . . $ QTJSC/DontEnum.); |
| 338 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, new (exec) NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), 1, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "escape"), globalFuncEscapecxx . . $ QTJSC/globalFuncEscape(cac2aec6ecb9506b).), DontEnumcxx . . $ QTJSC/DontEnum.); |
| 339 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, new (exec) NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), 1, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "unescape"), globalFuncUnescapecxx . . $ QTJSC/globalFuncUnescape(cac2aec6ecb9506b).), DontEnumcxx . . $ QTJSC/DontEnum.); |
| 340 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, new (exec) NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), 1, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "decodeURI"), globalFuncDecodeURIcxx . . $ QTJSC/globalFuncDecodeURI(cac2aec6ecb9506b).), DontEnumcxx . . $ QTJSC/DontEnum.); |
| 341 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, new (exec) NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), 1, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "decodeURIComponent"), globalFuncDecodeURIComponentcxx . . $ QTJSC/globalFuncDecodeURIComponent(cac2aec6ecb9506b).), DontEnumcxx . . $ QTJSC/DontEnum.); |
| 342 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, new (exec) NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), 1, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "encodeURI"), globalFuncEncodeURIcxx . . $ QTJSC/globalFuncEncodeURI(cac2aec6ecb9506b).), DontEnumcxx . . $ QTJSC/DontEnum.); |
| 343 | putDirectFunctionWithoutTransitioncxx . . $ QTJSC/JSObject#putDirectFunctionWithoutTransition(c24ce1583bb64360).(exec, new (exec) NativeFunctionWrappercxx . . $ QTJSC/NativeFunctionWrapper#(exec, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure.get(), 1, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(exec, "encodeURIComponent"), globalFuncEncodeURIComponentcxx . . $ QTJSC/globalFuncEncodeURIComponent(cac2aec6ecb9506b).), DontEnumcxx . . $ QTJSC/DontEnum.); |
| 344 | #ifndef NDEBUGcxx . . $ `<built-in>:472:9`! |
| 345 | #ifndef QT_BUILD_SCRIPT_LIB |
| 346 | putDirectFunctionWithoutTransition(exec, new (exec) NativeFunctionWrapper(exec, d()->prototypeFunctionStructure.get(), 1, Identifier(exec, "jscprint"), globalFuncJSCPrint), DontEnum); |
| 347 | #endif |
| 348 | #endif |
| 349 | |
| 350 | resetPrototypecxx . . $ QTJSC/JSGlobalObject#resetPrototype(5c2ac18db087b3e6).(prototype); |
| 351 | } |
| 352 | |
| 353 | // Set prototype, and also insert the object prototype at the end of the chain. |
| 354 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::resetPrototypecxx . . $ QTJSC/JSGlobalObject#resetPrototype(5c2ac18db087b3e6).(JSValuecxx . . $ QTJSC/JSValue# prototype) |
| 355 | { |
| 356 | setPrototypecxx . . $ QTJSC/JSObject#setPrototype(5c2ac18db087b3e6).(prototype); |
| 357 | |
| 358 | JSObjectcxx . . $ QTJSC/JSObject#* oldLastInPrototypeChain = lastInPrototypeChaincxx . . $ QTJSC/lastInPrototypeChain(c8d703383fcc4db3).(this); |
| 359 | JSObjectcxx . . $ QTJSC/JSObject#* objectPrototype = dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.; |
| 360 | if (oldLastInPrototypeChain != objectPrototype) |
| 361 | oldLastInPrototypeChain->setPrototypecxx . . $ QTJSC/JSObject#setPrototype(5c2ac18db087b3e6).(objectPrototype); |
| 362 | } |
| 363 | |
| 364 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::markChildrencxx . . $ QTJSC/JSGlobalObject#markChildren(bd9cae851d80a865).(MarkStackcxx . . $ QTJSC/MarkStack#& markStack) |
| 365 | { |
| 366 | JSVariableObjectcxx . . $ QTJSC/JSVariableObject#::markChildrencxx . . $ QTJSC/JSObject#markChildren(bd9cae851d80a865).(markStack); |
| 367 | |
| 368 | HashSet<GlobalCodeBlock*>::const_iterator end = codeBlocks().end(); |
| 369 | for (HashSet<GlobalCodeBlock*>::const_iterator it = codeBlocks().begin(); it !=cxx . . $ QTJSC/`operator!=`(8208a731c2dadbc2). end; ++it) |
| 370 | (*it)->markAggregate(markStack); |
| 371 | |
| 372 | RegisterFilecxx . . $ QTJSC/RegisterFile#& registerFile = globalDatacxx . . $ QTJSC/JSGlobalObject#globalData(a2bcd21f8a8ecac2).()->interpretercxx . . $ QTJSC/JSGlobalData#interpreter.->registerFilecxx . . $ QTJSC/Interpreter#registerFile(2b422a0e2f5a1a12).(); |
| 373 | if (registerFile.globalObjectcxx . . $ QTJSC/RegisterFile#globalObject(4418983463e2bc6a).() == this) |
| 374 | registerFile.markGlobalscxx . . $ QTJSC/RegisterFile#markGlobals(6d8fb46bdec6fcd4).(markStack, &globalDatacxx . . $ QTJSC/JSGlobalObject#globalData(a2bcd21f8a8ecac2).()->heap); |
| 375 | |
| 376 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#regExpConstructor.); |
| 377 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->errorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#errorConstructor.); |
| 378 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->evalErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#evalErrorConstructor.); |
| 379 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->rangeErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#rangeErrorConstructor.); |
| 380 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->referenceErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#referenceErrorConstructor.); |
| 381 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->syntaxErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#syntaxErrorConstructor.); |
| 382 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->typeErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#typeErrorConstructor.); |
| 383 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->URIErrorConstructorcxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#URIErrorConstructor.); |
| 384 | |
| 385 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->evalFunctioncxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#evalFunction.); |
| 386 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->callFunctioncxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#callFunction.); |
| 387 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->applyFunctioncxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#applyFunction.); |
| 388 | |
| 389 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->objectPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#objectPrototype.); |
| 390 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#functionPrototype.); |
| 391 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->arrayPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#arrayPrototype.); |
| 392 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->booleanPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#booleanPrototype.); |
| 393 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->stringPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#stringPrototype.); |
| 394 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->numberPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#numberPrototype.); |
| 395 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->datePrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#datePrototype.); |
| 396 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpPrototypecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#regExpPrototype.); |
| 397 | |
| 398 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->methodCallDummycxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#methodCallDummy.); |
| 399 | |
| 400 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->errorStructure); |
| 401 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->argumentsStructure); |
| 402 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->arrayStructure); |
| 403 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->booleanObjectStructure); |
| 404 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->callbackConstructorStructure); |
| 405 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->callbackFunctionStructure); |
| 406 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->callbackObjectStructure); |
| 407 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->dateStructure); |
| 408 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->emptyObjectStructure); |
| 409 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->errorStructure); |
| 410 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->functionStructure); |
| 411 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->numberObjectStructure); |
| 412 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->prototypeFunctionStructure); |
| 413 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpMatchesArrayStructure); |
| 414 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->regExpStructure); |
| 415 | markIfNeededcxx . . $ QTJSC/markIfNeeded(ad40b5dd6e93a109).(markStack, dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->stringObjectStructure); |
| 416 | |
| 417 | // No need to mark the other structures, because their prototypes are all |
| 418 | // guaranteed to be referenced elsewhere. |
| 419 | |
| 420 | Registercxx . . $ QTJSC/Register#* registerArray = dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->registerArray.get(); |
| 421 | if (!registerArray) |
| 422 | return; |
| 423 | |
| 424 | size_t size = dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->registerArraySizecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#registerArraySize.; |
| 425 | markStack.appendValuescxx . . $ QTJSC/MarkStack#appendValues(5ce9403f1fe638b8).(reinterpret_cast<JSValuecxx . . $ QTJSC/JSValue#*>(registerArray), size); |
| 426 | } |
| 427 | |
| 428 | ExecStatecxx . . $ QTJSC/ExecState#* JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::globalExeccxx . . $ QTJSC/JSGlobalObject#globalExec(27c3d7386a195136).() |
| 429 | { |
| 430 | return CallFramecxx . . $ QTJSC/CallFrame#::createcxx . . $ QTJSC/ExecState#create(38d04c2988512828).(dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->globalCallFramecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#globalCallFrame. + RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize.); |
| 431 | } |
| 432 | |
| 433 | bool JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::isDynamicScopecxx . . $ QTJSC/JSGlobalObject#isDynamicScope(50ce9a9e25b4a850).() const |
| 434 | { |
| 435 | return true; |
| 436 | } |
| 437 | |
| 438 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::copyGlobalsFromcxx . . $ QTJSC/JSGlobalObject#copyGlobalsFrom(95adc9a98330715f).(RegisterFilecxx . . $ QTJSC/RegisterFile#& registerFile) |
| 439 | { |
| 440 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!d()->registerArray); |
| 441 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!d()->registerArraySize); |
| 442 | |
| 443 | int numGlobals = registerFile.numGlobalscxx . . $ QTJSC/RegisterFile#numGlobals(455f465bc33b4cdf).(); |
| 444 | if (!numGlobals) { |
| 445 | dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->registers = 0; |
| 446 | return; |
| 447 | } |
| 448 | |
| 449 | Registercxx . . $ QTJSC/Register#* registerArray = copyRegisterArraycxx . . $ QTJSC/JSVariableObject#copyRegisterArray(f138834e99c40dca).(registerFile.lastGlobalcxx . . $ QTJSC/RegisterFile#lastGlobal(a946f3c7dddb0650).(), numGlobals); |
| 450 | setRegisterscxx . . $ QTJSC/JSGlobalObject#setRegisters(3f742f0ef23e53d4).(registerArray + numGlobals, registerArray, numGlobals); |
| 451 | } |
| 452 | |
| 453 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::copyGlobalsTocxx . . $ QTJSC/JSGlobalObject#copyGlobalsTo(95adc9a98330715f).(RegisterFilecxx . . $ QTJSC/RegisterFile#& registerFile) |
| 454 | { |
| 455 | JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#* lastGlobalObject = registerFile.globalObjectcxx . . $ QTJSC/RegisterFile#globalObject(4418983463e2bc6a).(); |
| 456 | if (lastGlobalObject && lastGlobalObject != this) |
| 457 | lastGlobalObject->copyGlobalsFromcxx . . $ QTJSC/JSGlobalObject#copyGlobalsFrom(95adc9a98330715f).(registerFile); |
| 458 | |
| 459 | registerFile.setGlobalObjectcxx . . $ QTJSC/RegisterFile#setGlobalObject(314241c1c980276a).(this); |
| 460 | registerFile.setNumGlobalscxx . . $ QTJSC/RegisterFile#setNumGlobals(2c44cd906ae4e829).(symbolTablecxx . . $ QTJSC/JSVariableObject#symbolTable(322f943048330fa4).().size()); |
| 461 | |
| 462 | if (dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->registerArray) { |
| 463 | memcpy(registerFile.startcxx . . $ QTJSC/RegisterFile#start(a946f3c7dddb0650).() - dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->registerArraySizecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#registerArraySize., dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->registerArray.get(), dcxx . . $ QTJSC/JSGlobalObject#d(52d46a1ce1a66a94).()->registerArraySizecxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#registerArraySize. * sizeof(Registercxx . . $ QTJSC/Register#)); |
| 464 | setRegisterscxx . . $ QTJSC/JSGlobalObject#setRegisters(3f742f0ef23e53d4).(registerFile.startcxx . . $ QTJSC/RegisterFile#start(a946f3c7dddb0650).(), 0, 0); |
| 465 | } |
| 466 | } |
| 467 | |
| 468 | void* JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::operatorcxx . . $ QTJSC/JSGlobalObject#`operator new`(d67e494932e2c596). new(size_t size, JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData) |
| 469 | { |
| 470 | return globalData->heap.allocate(size); |
| 471 | } |
| 472 | |
| 473 | void JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#::destroyJSGlobalObjectDatacxx . . $ QTJSC/JSGlobalObject#destroyJSGlobalObjectData(5d22bdacc48458e8).(void* jsGlobalObjectData) |
| 474 | { |
| 475 | delete static_cast<JSGlobalObjectDatacxx . . $ QTJSC/JSGlobalObject#JSGlobalObjectData#*>(jsGlobalObjectData); |
| 476 | } |
| 477 | |
| 478 | } // namespace JSC |