| 1 | /* |
| 2 | * Copyright (C) 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 "Interpreter.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.h`/ |
| 32 | |
| 33 | #include "Arguments.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Arguments.h`/ |
| 34 | #include "BatchedTransitionOptimizer.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/BatchedTransitionOptimizer.h`/ |
| 35 | #include "CallFrame.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CallFrame.h`/ |
| 36 | #include "CallFrameClosure.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CallFrameClosure.h`/ |
| 37 | #include "CodeBlock.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/CodeBlock.h`/ |
| 38 | #include "Collector.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h`/ |
| 39 | #include "Debugger.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/debugger/Debugger.h`/ |
| 40 | #include "DebuggerCallFrame.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/debugger/DebuggerCallFrame.h`/ |
| 41 | #include "EvalCodeCache.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/EvalCodeCache.h`/ |
| 42 | #include "ExceptionHelpers.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ExceptionHelpers.h`/ |
| 43 | #include "GlobalEvalFunction.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/GlobalEvalFunction.h`/ |
| 44 | #include "JSActivation.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSActivation.h`/ |
| 45 | #include "JSArray.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h`/ |
| 46 | #include "JSByteArray.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSByteArray.h`/ |
| 47 | #include "JSFunction.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSFunction.h`/ |
| 48 | #include "JSNotAnObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSNotAnObject.h`/ |
| 49 | #include "JSPropertyNameIterator.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSPropertyNameIterator.h`/ |
| 50 | #include "LiteralParser.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/LiteralParser.h`/ |
| 51 | #include "JSStaticScopeObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h`/ |
| 52 | #include "JSString.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSString.h`/ |
| 53 | #include "ObjectPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ObjectPrototype.h`/ |
| 54 | #include "Operations.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Operations.h`/ |
| 55 | #include "Parser.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/parser/Parser.h`/ |
| 56 | #include "Profiler.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/profiler/Profiler.h`/ |
| 57 | #include "RegExpObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExpObject.h`/ |
| 58 | #include "RegExpPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExpPrototype.h`/ |
| 59 | #include "Register.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Register.h`/ |
| 60 | #include "SamplingTool.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/SamplingTool.h`/ |
| 61 | #include <limits.h> |
| 62 | #include <stdio.h> |
| 63 | #include <wtf/Threading.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h`/ |
| 64 | |
| 65 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT) |
| 66 | #include "JIT.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.h`/ |
| 67 | #endif |
| 68 | |
| 69 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! |
| 70 | #include "bridge/qscriptobject_p.h"cxx . . $ `<file>/src/script/bridge/qscriptobject_p.h`/ |
| 71 | #endif |
| 72 | |
| 73 | using namespace std; |
| 74 | |
| 75 | namespace JSCcxx . . $ `<built-in>:463:9`! { |
| 76 | |
| 77 | static ALWAYS_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! unsigned bytecodeOffsetForPCcxx . . $ QTJSC/bytecodeOffsetForPC(c12aded42f5e9e26).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, void* pc) |
| 78 | { |
| 79 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT) |
| 80 | return codeBlock->getBytecodeIndexcxx . . $ QTJSC/CodeBlock#getBytecodeIndex(7207fba28b1ed540).(callFrame, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr#(pc)); |
| 81 | #else |
| 82 | UNUSED_PARAM(callFrame); |
| 83 | return static_cast<Instruction*>(pc) - codeBlock->instructions().begin(); |
| 84 | #endif |
| 85 | } |
| 86 | |
| 87 | // Returns the depth of the scope chain within a given call frame. |
| 88 | static int depthcxx . . $ QTJSC/depth(6890c4f81137a50b).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, ScopeChaincxx . . $ QTJSC/ScopeChain#& sc) |
| 89 | { |
| 90 | if (!codeBlock->needsFullScopeChaincxx . . $ QTJSC/CodeBlock#needsFullScopeChain(50ce9a9e25b4a850).()) |
| 91 | return 0; |
| 92 | return sc.localDepthcxx . . $ QTJSC/ScopeChain#localDepth(455f465bc33b4cdf).(); |
| 93 | } |
| 94 | |
| 95 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(INTERPRETER) |
| 96 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! bool Interpretercxx . . $ QTJSC/Interpreter#::resolvecxx . . $ QTJSC/Interpreter#resolve(e9662bd2f3b07389).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, Instructioncxx . . $ QTJSC/Instruction#* vPC, JSValuecxx . . $ QTJSC/JSValue#& exceptionValue) |
| 97 | { |
| 98 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 99 | int property = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 100 | |
| 101 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 102 | ScopeChainIteratorcxx . . $ QTJSC/ScopeChainIterator# iter = scopeChain->begincxx . . $ QTJSC/ScopeChainNode#begin(96529fad815ce745).(); |
| 103 | ScopeChainIteratorcxx . . $ QTJSC/ScopeChainIterator# end = scopeChain->endcxx . . $ QTJSC/ScopeChainNode#end(96529fad815ce745).(); |
| 104 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(iter != end); |
| 105 | |
| 106 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 107 | Identifiercxx . . $ QTJSC/Identifier#& ident = codeBlock->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 108 | do { |
| 109 | JSObjectcxx . . $ QTJSC/JSObject#* o = *cxx . . $ QTJSC/ScopeChainIterator#`operator*`(99d346b5a13496d5).iter; |
| 110 | PropertySlotcxx . . $ QTJSC/PropertySlot# slot(o); |
| 111 | if (o->getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(6f4ef3dbfe7d5ab9).(callFrame, ident, slot)) { |
| 112 | JSValuecxx . . $ QTJSC/JSValue# result = slot.getValuecxx . . $ QTJSC/PropertySlot#getValue(ccadc8db5e9d2977).(callFrame, ident); |
| 113 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). callFrame->globalDatacxx . . $ QTJSC/ExecState#globalData(ae00a65ac2fd4a61).().exceptioncxx . . $ QTJSC/JSGlobalData#exception.; |
| 114 | if (exceptionValue) |
| 115 | return false; |
| 116 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(result); |
| 117 | return true; |
| 118 | } |
| 119 | } while (++cxx . . $ QTJSC/ScopeChainIterator#operator++(fdd019326dfb3ff8).iter !=cxx . . $ QTJSC/ScopeChainIterator#`operator!=`(b99368ddd4a254b). end); |
| 120 | exceptionValue = createUndefinedVariableErrorcxx . . $ QTJSC/createUndefinedVariableError(ad32a0e05e5e1c74).(callFrame, ident, vPC -cxx . . $ std/operator-(a6e85813984128c7). codeBlock->instructions().begin(), codeBlock); |
| 121 | return false; |
| 122 | } |
| 123 | |
| 124 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! bool Interpretercxx . . $ QTJSC/Interpreter#::resolveSkipcxx . . $ QTJSC/Interpreter#resolveSkip(e9662bd2f3b07389).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, Instructioncxx . . $ QTJSC/Instruction#* vPC, JSValuecxx . . $ QTJSC/JSValue#& exceptionValue) |
| 125 | { |
| 126 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 127 | |
| 128 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 129 | int property = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 130 | int skip = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand. + codeBlock->needsFullScopeChaincxx . . $ QTJSC/CodeBlock#needsFullScopeChain(50ce9a9e25b4a850).(); |
| 131 | |
| 132 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 133 | ScopeChainIteratorcxx . . $ QTJSC/ScopeChainIterator# iter = scopeChain->begincxx . . $ QTJSC/ScopeChainNode#begin(96529fad815ce745).(); |
| 134 | ScopeChainIteratorcxx . . $ QTJSC/ScopeChainIterator# end = scopeChain->endcxx . . $ QTJSC/ScopeChainNode#end(96529fad815ce745).(); |
| 135 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(iter != end); |
| 136 | while (skip--) { |
| 137 | ++cxx . . $ QTJSC/ScopeChainIterator#operator++(fdd019326dfb3ff8).iter; |
| 138 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(iter != end); |
| 139 | } |
| 140 | Identifiercxx . . $ QTJSC/Identifier#& ident = codeBlock->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 141 | do { |
| 142 | JSObjectcxx . . $ QTJSC/JSObject#* o = *cxx . . $ QTJSC/ScopeChainIterator#`operator*`(99d346b5a13496d5).iter; |
| 143 | PropertySlotcxx . . $ QTJSC/PropertySlot# slot(o); |
| 144 | if (o->getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(6f4ef3dbfe7d5ab9).(callFrame, ident, slot)) { |
| 145 | JSValuecxx . . $ QTJSC/JSValue# result = slot.getValuecxx . . $ QTJSC/PropertySlot#getValue(ccadc8db5e9d2977).(callFrame, ident); |
| 146 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). callFrame->globalDatacxx . . $ QTJSC/ExecState#globalData(ae00a65ac2fd4a61).().exceptioncxx . . $ QTJSC/JSGlobalData#exception.; |
| 147 | if (exceptionValue) |
| 148 | return false; |
| 149 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(result); |
| 150 | return true; |
| 151 | } |
| 152 | } while (++cxx . . $ QTJSC/ScopeChainIterator#operator++(fdd019326dfb3ff8).iter !=cxx . . $ QTJSC/ScopeChainIterator#`operator!=`(b99368ddd4a254b). end); |
| 153 | exceptionValue = createUndefinedVariableErrorcxx . . $ QTJSC/createUndefinedVariableError(ad32a0e05e5e1c74).(callFrame, ident, vPC -cxx . . $ std/operator-(a6e85813984128c7). codeBlock->instructions().begin(), codeBlock); |
| 154 | return false; |
| 155 | } |
| 156 | |
| 157 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! bool Interpretercxx . . $ QTJSC/Interpreter#::resolveGlobalcxx . . $ QTJSC/Interpreter#resolveGlobal(e9662bd2f3b07389).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, Instructioncxx . . $ QTJSC/Instruction#* vPC, JSValuecxx . . $ QTJSC/JSValue#& exceptionValue) |
| 158 | { |
| 159 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 160 | JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#* globalObject = static_cast<JSGlobalObject*>(vPC[2].u.jsCell); |
| 161 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(globalObject->isGlobalObject()); |
| 162 | int property = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 163 | Structurecxx . . $ QTJSC/Structure#* structure = vPC[4].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.; |
| 164 | int offset = vPC[5].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 165 | |
| 166 | if (structure ==cxx . . $ QTJSC/`operator==`(8208a731c2dadbc2). globalObject->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()) { |
| 167 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(globalObject->getDirectOffsetcxx . . $ QTJSC/JSObject#getDirectOffset(e9dec2041b7a6b55).(offset)); |
| 168 | return true; |
| 169 | } |
| 170 | |
| 171 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 172 | Identifiercxx . . $ QTJSC/Identifier#& ident = codeBlock->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 173 | PropertySlotcxx . . $ QTJSC/PropertySlot# slot(globalObject); |
| 174 | if (globalObject->getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(6f4ef3dbfe7d5ab9).(callFrame, ident, slot)) { |
| 175 | JSValuecxx . . $ QTJSC/JSValue# result = slot.getValuecxx . . $ QTJSC/PropertySlot#getValue(ccadc8db5e9d2977).(callFrame, ident); |
| 176 | if (slot.isCacheablecxx . . $ QTJSC/PropertySlot#isCacheable(50ce9a9e25b4a850).() && !globalObject->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->isUncacheableDictionary() && slot.slotBasecxx . . $ QTJSC/PropertySlot#slotBase(888c053acf364da1).() == globalObject) { |
| 177 | if (vPC[4].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.) |
| 178 | vPC[4].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.->deref(); |
| 179 | globalObject->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->ref(); |
| 180 | vPC[4] = globalObject->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).(); |
| 181 | vPC[5] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). slotcxx . . $ QTJSC/Instruction#Instruction(d4f767463ce0a6b3)..cachedOffsetcxx . . $ QTJSC/PropertySlot#cachedOffset(fe4d2d262d4164a8).(); |
| 182 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(result); |
| 183 | return true; |
| 184 | } |
| 185 | |
| 186 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). callFrame->globalDatacxx . . $ QTJSC/ExecState#globalData(ae00a65ac2fd4a61).().exceptioncxx . . $ QTJSC/JSGlobalData#exception.; |
| 187 | if (exceptionValue) |
| 188 | return false; |
| 189 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(result); |
| 190 | return true; |
| 191 | } |
| 192 | |
| 193 | exceptionValue = createUndefinedVariableErrorcxx . . $ QTJSC/createUndefinedVariableError(ad32a0e05e5e1c74).(callFrame, ident, vPC -cxx . . $ std/operator-(a6e85813984128c7). codeBlock->instructions().begin(), codeBlock); |
| 194 | return false; |
| 195 | } |
| 196 | |
| 197 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! void Interpretercxx . . $ QTJSC/Interpreter#::resolveBasecxx . . $ QTJSC/Interpreter#resolveBase(517deae919ca8335).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, Instructioncxx . . $ QTJSC/Instruction#* vPC) |
| 198 | { |
| 199 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 200 | int property = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 201 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(JSCcxx . . $ `<built-in>:463:9`!::resolveBasecxx . . $ QTJSC/resolveBase(5fc6721f9beb1956).(callFrame, callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property), callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).())); |
| 202 | } |
| 203 | |
| 204 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! bool Interpretercxx . . $ QTJSC/Interpreter#::resolveBaseAndPropertycxx . . $ QTJSC/Interpreter#resolveBaseAndProperty(e9662bd2f3b07389).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, Instructioncxx . . $ QTJSC/Instruction#* vPC, JSValuecxx . . $ QTJSC/JSValue#& exceptionValue) |
| 205 | { |
| 206 | int baseDst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 207 | int propDst = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 208 | int property = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 209 | |
| 210 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 211 | ScopeChainIteratorcxx . . $ QTJSC/ScopeChainIterator# iter = scopeChain->begincxx . . $ QTJSC/ScopeChainNode#begin(96529fad815ce745).(); |
| 212 | ScopeChainIteratorcxx . . $ QTJSC/ScopeChainIterator# end = scopeChain->endcxx . . $ QTJSC/ScopeChainNode#end(96529fad815ce745).(); |
| 213 | |
| 214 | // FIXME: add scopeDepthIsZero optimization |
| 215 | |
| 216 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(iter != end); |
| 217 | |
| 218 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 219 | Identifiercxx . . $ QTJSC/Identifier#& ident = codeBlock->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 220 | JSObjectcxx . . $ QTJSC/JSObject#* base; |
| 221 | do { |
| 222 | base = *cxx . . $ QTJSC/ScopeChainIterator#`operator*`(99d346b5a13496d5).iter; |
| 223 | PropertySlotcxx . . $ QTJSC/PropertySlot# slot(base); |
| 224 | if (base->getPropertySlotcxx . . $ QTJSC/JSObject#getPropertySlot(6f4ef3dbfe7d5ab9).(callFrame, ident, slot)) { |
| 225 | JSValuecxx . . $ QTJSC/JSValue# result = slot.getValuecxx . . $ QTJSC/PropertySlot#getValue(ccadc8db5e9d2977).(callFrame, ident); |
| 226 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). callFrame->globalDatacxx . . $ QTJSC/ExecState#globalData(ae00a65ac2fd4a61).().exceptioncxx . . $ QTJSC/JSGlobalData#exception.; |
| 227 | if (exceptionValue) |
| 228 | return false; |
| 229 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(propDst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(result); |
| 230 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(baseDst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(base); |
| 231 | return true; |
| 232 | } |
| 233 | ++cxx . . $ QTJSC/ScopeChainIterator#operator++(fdd019326dfb3ff8).iter; |
| 234 | } while (iter !=cxx . . $ QTJSC/ScopeChainIterator#`operator!=`(b99368ddd4a254b). end); |
| 235 | |
| 236 | exceptionValue = createUndefinedVariableErrorcxx . . $ QTJSC/createUndefinedVariableError(ad32a0e05e5e1c74).(callFrame, ident, vPC -cxx . . $ std/operator-(a6e85813984128c7). codeBlock->instructions().begin(), codeBlock); |
| 237 | return false; |
| 238 | } |
| 239 | |
| 240 | #endif // USE(INTERPRETER) |
| 241 | |
| 242 | ALWAYS_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! CallFramecxx . . $ QTJSC/CallFrame#* Interpretercxx . . $ QTJSC/Interpreter#::slideRegisterWindowForCallcxx . . $ QTJSC/Interpreter#slideRegisterWindowForCall(c83f7e92863d893d).(CodeBlockcxx . . $ QTJSC/CodeBlock#* newCodeBlock, RegisterFilecxx . . $ QTJSC/RegisterFile#* registerFile, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, size_t registerOffset, int argc) |
| 243 | { |
| 244 | Registercxx . . $ QTJSC/Register#* r = callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).(); |
| 245 | Registercxx . . $ QTJSC/Register#* newEnd = r + registerOffset + newCodeBlock->m_numCalleeRegisterscxx . . $ QTJSC/CodeBlock#m_numCalleeRegisters.; |
| 246 | |
| 247 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(argc == newCodeBlock->m_numParameters)) { // correct number of arguments |
| 248 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!registerFile->grow(newEnd))) |
| 249 | return 0; |
| 250 | r += registerOffset; |
| 251 | } else if (argc < newCodeBlock->m_numParameterscxx . . $ QTJSC/CodeBlock#m_numParameters.) { // too few arguments -- fill in the blanks |
| 252 | size_t omittedArgCount = newCodeBlock->m_numParameterscxx . . $ QTJSC/CodeBlock#m_numParameters. - argc; |
| 253 | registerOffset += omittedArgCount; |
| 254 | newEnd += omittedArgCount; |
| 255 | if (!registerFile->growcxx . . $ QTJSC/RegisterFile#grow(92b425340182f9cb).(newEnd)) |
| 256 | return 0; |
| 257 | r += registerOffset; |
| 258 | |
| 259 | Registercxx . . $ QTJSC/Register#* argv = r - RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize. - omittedArgCount; |
| 260 | for (size_t i = 0; i < omittedArgCount; ++i) |
| 261 | argv[i] =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).(); |
| 262 | } else { // too many arguments -- copy expected arguments, leaving the extra arguments behind |
| 263 | size_t numParameters = newCodeBlock->m_numParameterscxx . . $ QTJSC/CodeBlock#m_numParameters.; |
| 264 | registerOffset += numParameters; |
| 265 | newEnd += numParameters; |
| 266 | |
| 267 | if (!registerFile->growcxx . . $ QTJSC/RegisterFile#grow(92b425340182f9cb).(newEnd)) |
| 268 | return 0; |
| 269 | r += registerOffset; |
| 270 | |
| 271 | Registercxx . . $ QTJSC/Register#* argv = r - RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize. - numParameters - argc; |
| 272 | for (size_t i = 0; i < numParameters; ++i) |
| 273 | argv[i + argc] =cxx . . $ QTJSC/Register#`operator=`(46bd610ee0b85185). argv[i]; |
| 274 | } |
| 275 | |
| 276 | return CallFramecxx . . $ QTJSC/CallFrame#::createcxx . . $ QTJSC/ExecState#create(38d04c2988512828).(r); |
| 277 | } |
| 278 | |
| 279 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(INTERPRETER) |
| 280 | static NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! bool isInvalidParamForIncxx . . $ QTJSC/isInvalidParamForIn(82a620c58632b595).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, const Instructioncxx . . $ QTJSC/Instruction#* vPC, JSValuecxx . . $ QTJSC/JSValue# value, JSValuecxx . . $ QTJSC/JSValue#& exceptionData) |
| 281 | { |
| 282 | if (value.isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).()) |
| 283 | return false; |
| 284 | exceptionData = createInvalidParamErrorcxx . . $ QTJSC/createInvalidParamError(a88900e291ca5a51).(callFrame, "in" , value, vPC -cxx . . $ std/operator-(a6e85813984128c7). codeBlock->instructions().begin(), codeBlock); |
| 285 | return true; |
| 286 | } |
| 287 | |
| 288 | static NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! bool isInvalidParamForInstanceOfcxx . . $ QTJSC/isInvalidParamForInstanceOf(82a620c58632b595).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, const Instructioncxx . . $ QTJSC/Instruction#* vPC, JSValuecxx . . $ QTJSC/JSValue# value, JSValuecxx . . $ QTJSC/JSValue#& exceptionData) |
| 289 | { |
| 290 | if (value.isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).() && asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(value)->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->typeInfo().implementsHasInstance()) |
| 291 | return false; |
| 292 | exceptionData = createInvalidParamErrorcxx . . $ QTJSC/createInvalidParamError(a88900e291ca5a51).(callFrame, "instanceof" , value, vPC -cxx . . $ std/operator-(a6e85813984128c7). codeBlock->instructions().begin(), codeBlock); |
| 293 | return true; |
| 294 | } |
| 295 | #endif |
| 296 | |
| 297 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! JSValuecxx . . $ QTJSC/JSValue# Interpretercxx . . $ QTJSC/Interpreter#::callEvalcxx . . $ QTJSC/Interpreter#callEval(4bdce225fb768eec).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, RegisterFilecxx . . $ QTJSC/RegisterFile#* registerFile, Registercxx . . $ QTJSC/Register#* argv, int argc, int registerOffset, JSValuecxx . . $ QTJSC/JSValue#& exceptionValue) |
| 298 | { |
| 299 | if (argc < 2) |
| 300 | return jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).(); |
| 301 | |
| 302 | JSValuecxx . . $ QTJSC/JSValue# program = argv[1].jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 303 | |
| 304 | if (!program.isStringcxx . . $ QTJSC/JSValue#isString(50ce9a9e25b4a850).()) |
| 305 | return program; |
| 306 | |
| 307 | UStringcxx . . $ QTJSC/UString# programSource = asStringcxx . . $ QTJSC/UString#UString(e6bad6cb9b63b14d).(program)->valuecxx . . $ QTJSC/JSString#value(fc696c135aaf08bd).(callFrame); |
| 308 | |
| 309 | LiteralParsercxx . . $ QTJSC/LiteralParser# preparsercxx . . $ QTJSC/LiteralParser#LiteralParser(6152e55db68c6).(callFrame, programSource, LiteralParsercxx . . $ QTJSC/LiteralParser#::NonStrictJSONcxx . . $ QTJSC/LiteralParser#NonStrictJSON.); |
| 310 | if (JSValuecxx . . $ QTJSC/JSValue# parsedObject = preparser.tryLiteralParsecxx . . $ QTJSC/LiteralParser#tryLiteralParse(ad9afe69d7bf6378).()) |
| 311 | return parsedObject; |
| 312 | |
| 313 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 314 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 315 | RefPtrcxx . . $ RefPtr#<EvalExecutablecxx . . $ QTJSC/EvalExecutable#> eval = codeBlock->evalCodeCache().get(callFrame, programSource, scopeChain, exceptionValue); |
| 316 | |
| 317 | JSValuecxx . . $ QTJSC/JSValue# result = jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).(); |
| 318 | if (eval) |
| 319 | result = callFrame->globalDatacxx . . $ QTJSC/ExecState#globalData(ae00a65ac2fd4a61).().interpretercxx . . $ QTJSC/JSGlobalData#interpreter.->executecxx . . $ QTJSC/Interpreter#execute(c7284d9f486c89c0).(eval.get(), callFrame, callFrame->thisValuecxx . . $ QTJSC/ExecState#thisValue(ad9afe69d7bf6378).().toThisObjectcxx . . $ QTJSC/JSValue#toThisObject(8709ed4849a165ab).(callFrame), callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() - registerFile->startcxx . . $ QTJSC/RegisterFile#start(a946f3c7dddb0650).() + registerOffset, scopeChain, &exceptionValue); |
| 320 | |
| 321 | return result; |
| 322 | } |
| 323 | |
| 324 | Interpretercxx . . $ QTJSC/Interpreter#::Interpretercxx . . $ QTJSC/Interpreter#Interpreter(49f6e7a06ebc5aa8).() |
| 325 | : m_sampleEntryDepthcxx . . $ QTJSC/Interpreter#m_sampleEntryDepth.(0) |
| 326 | , m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth.(0) |
| 327 | { |
| 328 | #if HAVEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:46:9`!(COMPUTED_GOTO) |
| 329 | privateExecute(InitializeAndReturn, 0, 0, 0); |
| 330 | |
| 331 | for (int i = 0; i < numOpcodeIDs; ++i) |
| 332 | m_opcodeIDTable.add(m_opcodeTable[i], static_cast<OpcodeID>(i)); |
| 333 | #endif // HAVE(COMPUTED_GOTO) |
| 334 | |
| 335 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_SAMPLING) |
| 336 | enableSampler(); |
| 337 | #endif |
| 338 | } |
| 339 | |
| 340 | #ifndef NDEBUGcxx . . $ `<built-in>:472:9`! |
| 341 | |
| 342 | void Interpreter::dumpCallFrame(CallFrame* callFrame) |
| 343 | { |
| 344 | callFrame->codeBlock()->dump(callFrame); |
| 345 | dumpRegisters(callFrame); |
| 346 | } |
| 347 | |
| 348 | void Interpreter::dumpRegisters(CallFrame* callFrame) |
| 349 | { |
| 350 | printf("Register frame: \n\n"); |
| 351 | printf("-----------------------------------------------------------------------------\n"); |
| 352 | printf(" use | address | value \n"); |
| 353 | printf("-----------------------------------------------------------------------------\n"); |
| 354 | |
| 355 | CodeBlock* codeBlock = callFrame->codeBlock(); |
| 356 | RegisterFile* registerFile = &callFrame->scopeChain()->globalObject->globalData()->interpreter->registerFile(); |
| 357 | const Register* it; |
| 358 | const Register* end; |
| 359 | JSValue v; |
| 360 | |
| 361 | if (codeBlock->codeType() == GlobalCode) { |
| 362 | it = registerFile->lastGlobal(); |
| 363 | end = it + registerFile->numGlobals(); |
| 364 | while (it != end) { |
| 365 | v = (*it).jsValue(); |
| 366 | #if USE(JSVALUE32_64) |
| 367 | printf("[global var] | %10p | %-16s 0x%llx \n", it, v.description(), JSValue::encode(v)); |
| 368 | #else |
| 369 | printf("[global var] | %10p | %-16s %p \n", it, v.description(), JSValue::encode(v)); |
| 370 | #endif |
| 371 | ++it; |
| 372 | } |
| 373 | printf("-----------------------------------------------------------------------------\n"); |
| 374 | } |
| 375 | |
| 376 | it = callFrame->registers() - RegisterFile::CallFrameHeaderSize - codeBlock->m_numParameters; |
| 377 | v = (*it).jsValue(); |
| 378 | #if USE(JSVALUE32_64) |
| 379 | printf("[this] | %10p | %-16s 0x%llx \n", it, v.description(), JSValue::encode(v)); ++it; |
| 380 | #else |
| 381 | printf("[this] | %10p | %-16s %p \n", it, v.description(), JSValue::encode(v)); ++it; |
| 382 | #endif |
| 383 | end = it + max(codeBlock->m_numParameters - 1, 0); // - 1 to skip "this" |
| 384 | if (it != end) { |
| 385 | do { |
| 386 | v = (*it).jsValue(); |
| 387 | #if USE(JSVALUE32_64) |
| 388 | printf("[param] | %10p | %-16s 0x%llx \n", it, v.description(), JSValue::encode(v)); |
| 389 | #else |
| 390 | printf("[param] | %10p | %-16s %p \n", it, v.description(), JSValue::encode(v)); |
| 391 | #endif |
| 392 | ++it; |
| 393 | } while (it != end); |
| 394 | } |
| 395 | printf("-----------------------------------------------------------------------------\n"); |
| 396 | printf("[CodeBlock] | %10p | %p \n", it, (*it).codeBlock()); ++it; |
| 397 | printf("[ScopeChain] | %10p | %p \n", it, (*it).scopeChain()); ++it; |
| 398 | printf("[CallerRegisters] | %10p | %d \n", it, (*it).i()); ++it; |
| 399 | printf("[ReturnPC] | %10p | %p \n", it, (*it).vPC()); ++it; |
| 400 | printf("[ReturnValueRegister] | %10p | %d \n", it, (*it).i()); ++it; |
| 401 | printf("[ArgumentCount] | %10p | %d \n", it, (*it).i()); ++it; |
| 402 | printf("[Callee] | %10p | %p \n", it, (*it).object()); ++it; |
| 403 | printf("[OptionalCalleeArguments] | %10p | %p \n", it, (*it).arguments()); ++it; |
| 404 | printf("-----------------------------------------------------------------------------\n"); |
| 405 | |
| 406 | int registerCount = 0; |
| 407 | |
| 408 | end = it + codeBlock->m_numVars; |
| 409 | if (it != end) { |
| 410 | do { |
| 411 | v = (*it).jsValue(); |
| 412 | #if USE(JSVALUE32_64) |
| 413 | printf("[r%2d] | %10p | %-16s 0x%llx \n", registerCount, it, v.description(), JSValue::encode(v)); |
| 414 | #else |
| 415 | printf("[r%2d] | %10p | %-16s %p \n", registerCount, it, v.description(), JSValue::encode(v)); |
| 416 | #endif |
| 417 | ++it; |
| 418 | ++registerCount; |
| 419 | } while (it != end); |
| 420 | } |
| 421 | printf("-----------------------------------------------------------------------------\n"); |
| 422 | |
| 423 | end = it + codeBlock->m_numCalleeRegisters - codeBlock->m_numVars; |
| 424 | if (it != end) { |
| 425 | do { |
| 426 | v = (*it).jsValue(); |
| 427 | #if USE(JSVALUE32_64) |
| 428 | printf("[r%2d] | %10p | %-16s 0x%llx \n", registerCount, it, v.description(), JSValue::encode(v)); |
| 429 | #else |
| 430 | printf("[r%2d] | %10p | %-16s %p \n", registerCount, it, v.description(), JSValue::encode(v)); |
| 431 | #endif |
| 432 | ++it; |
| 433 | ++registerCount; |
| 434 | } while (it != end); |
| 435 | } |
| 436 | printf("-----------------------------------------------------------------------------\n"); |
| 437 | } |
| 438 | |
| 439 | #endif |
| 440 | |
| 441 | bool Interpretercxx . . $ QTJSC/Interpreter#::isOpcodecxx . . $ QTJSC/Interpreter#isOpcode(57a48c2bec783e6d).(Opcodecxx . . $ QTJSC/Opcode# opcode) |
| 442 | { |
| 443 | #if HAVEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:46:9`!(COMPUTED_GOTO) |
| 444 | return opcode != HashTraits<Opcode>::emptyValue() |
| 445 | && !HashTraits<Opcode>::isDeletedValue(opcode) |
| 446 | && m_opcodeIDTable.contains(opcode); |
| 447 | #else |
| 448 | return opcode >= 0 && opcode <= op_endcxx . . $ QTJSC/op_end.; |
| 449 | #endif |
| 450 | } |
| 451 | |
| 452 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! bool Interpretercxx . . $ QTJSC/Interpreter#::unwindCallFramecxx . . $ QTJSC/Interpreter#unwindCallFrame(852e8bd52d428ea3).(CallFramecxx . . $ QTJSC/CallFrame#*& callFrame, JSValuecxx . . $ QTJSC/JSValue# exceptionValue, unsigned& bytecodeOffset, CodeBlockcxx . . $ QTJSC/CodeBlock#*& codeBlock) |
| 453 | { |
| 454 | CodeBlockcxx . . $ QTJSC/CodeBlock#* oldCodeBlock = codeBlock; |
| 455 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 456 | |
| 457 | if (Debuggercxx . . $ QTJSC/Debugger#* debugger = callFrame->dynamicGlobalObjectcxx . . $ QTJSC/ExecState#dynamicGlobalObject(4418983463e2bc6a).()->debuggercxx . . $ QTJSC/JSGlobalObject#debugger(1a524ff7b31d81c).()) { |
| 458 | DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame# debuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#DebuggerCallFrame(1aadac95d0a8d6ce).(callFrame, exceptionValue); |
| 459 | if (callFrame->calleecxx . . $ QTJSC/ExecState#callee(8ac23ea934d7a115).()) { |
| 460 | debugger->returnEventcxx . . $ QTJSC/Debugger#returnEvent(c7dddfe28e8e5e6c).(debuggerCallFrame, codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->lastLinecxx . . $ QTJSC/ScriptExecutable#lastLine(455f465bc33b4cdf).()); |
| 461 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! |
| 462 | debugger->functionExitcxx . . $ QTJSC/Debugger#functionExit(661314651358aafa).(exceptionValue, codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).()); |
| 463 | #endif |
| 464 | } else |
| 465 | debugger->didExecuteProgramcxx . . $ QTJSC/Debugger#didExecuteProgram(c7dddfe28e8e5e6c).(debuggerCallFrame, codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->lastLinecxx . . $ QTJSC/ScriptExecutable#lastLine(455f465bc33b4cdf).()); |
| 466 | } |
| 467 | |
| 468 | if (Profilercxx . . $ QTJSC/Profiler#* profiler = *Profilercxx . . $ QTJSC/Profiler#::enabledProfilerReferencecxx . . $ QTJSC/Profiler#enabledProfilerReference(3c6d24c096f14502).()) { |
| 469 | if (callFrame->calleecxx . . $ QTJSC/ExecState#callee(8ac23ea934d7a115).()) |
| 470 | profiler->didExecutecxx . . $ QTJSC/Profiler#didExecute(ac8610a35a2ea244).(callFrame, callFrame->calleecxx . . $ QTJSC/ExecState#callee(8ac23ea934d7a115).()); |
| 471 | else |
| 472 | profiler->didExecutecxx . . $ QTJSC/Profiler#didExecute(ac8610a35a2ea244).(callFrame, codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceURLcxx . . $ QTJSC/ScriptExecutable#sourceURL(de21ee9ecbd506fd).(), codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->lineNocxx . . $ QTJSC/ScriptExecutable#lineNo(455f465bc33b4cdf).()); |
| 473 | } |
| 474 | |
| 475 | // If this call frame created an activation or an 'arguments' object, tear it off. |
| 476 | if (oldCodeBlock->codeTypecxx . . $ QTJSC/CodeBlock#codeType(d2f6fb92a9344f2e).() == FunctionCodecxx . . $ QTJSC/FunctionCode. && oldCodeBlock->needsFullScopeChaincxx . . $ QTJSC/CodeBlock#needsFullScopeChain(50ce9a9e25b4a850).()) { |
| 477 | while (!scopeChain->objectcxx . . $ QTJSC/ScopeChainNode#object.->inheritscxx . . $ QTJSC/JSCell#inherits(7eca403b06d48463).(&JSActivationcxx . . $ QTJSC/JSActivation#::infocxx . . $ QTJSC/JSActivation#info.)) |
| 478 | scopeChain = scopeChain->popcxx . . $ QTJSC/ScopeChainNode#pop(42331f7aadcf3667).(); |
| 479 | static_cast<JSActivation*>(scopeChain->object)->copyRegisters(callFrame->optionalCalleeArguments()); |
| 480 | } else if (Argumentscxx . . $ QTJSC/Arguments#* arguments = callFrame->optionalCalleeArgumentscxx . . $ QTJSC/ExecState#optionalCalleeArguments(66a58788709e4d3d).()) { |
| 481 | if (!arguments->isTornOffcxx . . $ QTJSC/Arguments#isTornOff(50ce9a9e25b4a850).()) |
| 482 | arguments->copyRegisterscxx . . $ QTJSC/Arguments#copyRegisters(49f6e7a06ebc5aa8).(); |
| 483 | } |
| 484 | |
| 485 | if (oldCodeBlock->needsFullScopeChaincxx . . $ QTJSC/CodeBlock#needsFullScopeChain(50ce9a9e25b4a850).()) |
| 486 | scopeChain->derefcxx . . $ QTJSC/ScopeChainNode#deref(49f6e7a06ebc5aa8).(); |
| 487 | |
| 488 | void* returnPC = callFrame->returnPCcxx . . $ QTJSC/ExecState#returnPC(62fbc1600eb00a5f).(); |
| 489 | callFrame = callFrame->callerFramecxx . . $ QTJSC/ExecState#callerFrame(5952b97f5bc87321).(); |
| 490 | if (callFrame->hasHostCallFrameFlagcxx . . $ QTJSC/ExecState#hasHostCallFrameFlag(50ce9a9e25b4a850).()) |
| 491 | return false; |
| 492 | |
| 493 | codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 494 | bytecodeOffset = bytecodeOffsetForPCcxx . . $ QTJSC/bytecodeOffsetForPC(c12aded42f5e9e26).(callFrame, codeBlock, returnPC); |
| 495 | return true; |
| 496 | } |
| 497 | |
| 498 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! HandlerInfocxx . . $ QTJSC/HandlerInfo#* Interpretercxx . . $ QTJSC/Interpreter#::throwExceptioncxx . . $ QTJSC/Interpreter#throwException(972d677959466ec).(CallFramecxx . . $ QTJSC/CallFrame#*& callFrame, JSValuecxx . . $ QTJSC/JSValue#& exceptionValue, unsigned bytecodeOffset, bool explicitThrow) |
| 499 | { |
| 500 | // Set up the exception object |
| 501 | |
| 502 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 503 | if (exceptionValue.isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).()) { |
| 504 | JSObjectcxx . . $ QTJSC/JSObject#* exception = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(exceptionValue); |
| 505 | if (exception->isNotAnObjectErrorStubcxx . . $ QTJSC/JSObject#isNotAnObjectErrorStub(50ce9a9e25b4a850).()) { |
| 506 | exception = createNotAnObjectErrorcxx . . $ QTJSC/createNotAnObjectError(5464a2392d3a703b).(callFrame, static_cast<JSNotAnObjectErrorStub*>(exception), bytecodeOffset, codeBlock); |
| 507 | exceptionValue = exception; |
| 508 | } else { |
| 509 | if (!exception->hasPropertycxx . . $ QTJSC/JSObject#hasProperty(19361922c79e8980).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, JSC_ERROR_LINENUMBER_PROPERTYNAMEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Error.h:66:11`!)) && |
| 510 | !exception->hasPropertycxx . . $ QTJSC/JSObject#hasProperty(19361922c79e8980).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, "sourceId")) && |
| 511 | !exception->hasPropertycxx . . $ QTJSC/JSObject#hasProperty(19361922c79e8980).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, JSC_ERROR_FILENAME_PROPERTYNAMEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Error.h:65:11`!)) && |
| 512 | !exception->hasPropertycxx . . $ QTJSC/JSObject#hasProperty(19361922c79e8980).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, expressionBeginOffsetPropertyNamecxx . . $ QTJSC/expressionBeginOffsetPropertyName.)) && |
| 513 | !exception->hasPropertycxx . . $ QTJSC/JSObject#hasProperty(19361922c79e8980).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, expressionCaretOffsetPropertyNamecxx . . $ QTJSC/expressionCaretOffsetPropertyName.)) && |
| 514 | !exception->hasPropertycxx . . $ QTJSC/JSObject#hasProperty(19361922c79e8980).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, expressionEndOffsetPropertyNamecxx . . $ QTJSC/expressionEndOffsetPropertyName.))) { |
| 515 | if (explicitThrow) { |
| 516 | int startOffset = 0; |
| 517 | int endOffset = 0; |
| 518 | int divotPoint = 0; |
| 519 | int line = codeBlock->expressionRangeForBytecodeOffsetcxx . . $ QTJSC/CodeBlock#expressionRangeForBytecodeOffset(285ee9e975c1f166).(callFrame, bytecodeOffset, divotPoint, startOffset, endOffset); |
| 520 | exception->putWithAttributescxx . . $ QTJSC/JSObject#putWithAttributes(3dd2e6313723688d).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, JSC_ERROR_LINENUMBER_PROPERTYNAMEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Error.h:66:11`!), jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, line), ReadOnlycxx . . $ QTJSC/ReadOnly. | DontDeletecxx . . $ QTJSC/DontDelete.); |
| 521 | |
| 522 | // We only hit this path for error messages and throw statements, which don't have a specific failure position |
| 523 | // So we just give the full range of the error/throw statement. |
| 524 | exception->putWithAttributescxx . . $ QTJSC/JSObject#putWithAttributes(3dd2e6313723688d).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, expressionBeginOffsetPropertyNamecxx . . $ QTJSC/expressionBeginOffsetPropertyName.), jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, divotPoint - startOffset), ReadOnlycxx . . $ QTJSC/ReadOnly. | DontDeletecxx . . $ QTJSC/DontDelete.); |
| 525 | exception->putWithAttributescxx . . $ QTJSC/JSObject#putWithAttributes(3dd2e6313723688d).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, expressionEndOffsetPropertyNamecxx . . $ QTJSC/expressionEndOffsetPropertyName.), jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, divotPoint + endOffset), ReadOnlycxx . . $ QTJSC/ReadOnly. | DontDeletecxx . . $ QTJSC/DontDelete.); |
| 526 | } else |
| 527 | exception->putWithAttributescxx . . $ QTJSC/JSObject#putWithAttributes(3dd2e6313723688d).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, JSC_ERROR_LINENUMBER_PROPERTYNAMEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Error.h:66:11`!), jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, codeBlock->lineNumberForBytecodeOffsetcxx . . $ QTJSC/CodeBlock#lineNumberForBytecodeOffset(c902a1333cc32b28).(callFrame, bytecodeOffset)), ReadOnlycxx . . $ QTJSC/ReadOnly. | DontDeletecxx . . $ QTJSC/DontDelete.); |
| 528 | exception->putWithAttributescxx . . $ QTJSC/JSObject#putWithAttributes(3dd2e6313723688d).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, "sourceId"), jsNumbercxx . . $ QTJSC/jsNumber(14e307958da6fa2c).(callFrame, codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).()), ReadOnlycxx . . $ QTJSC/ReadOnly. | DontDeletecxx . . $ QTJSC/DontDelete.); |
| 529 | exception->putWithAttributescxx . . $ QTJSC/JSObject#putWithAttributes(3dd2e6313723688d).(callFrame, Identifiercxx . . $ QTJSC/Identifier#Identifier(76b09fa744670831).(callFrame, JSC_ERROR_FILENAME_PROPERTYNAMEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Error.h:65:11`!), jsOwnedStringcxx . . $ QTJSC/jsOwnedString(edccc873576bddf5).(callFrame, codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceURLcxx . . $ QTJSC/ScriptExecutable#sourceURL(de21ee9ecbd506fd).()), ReadOnlycxx . . $ QTJSC/ReadOnly. | DontDeletecxx . . $ QTJSC/DontDelete.); |
| 530 | } |
| 531 | |
| 532 | if (exception->isWatchdogExceptioncxx . . $ QTJSC/JSObject#isWatchdogException(50ce9a9e25b4a850).()) { |
| 533 | while (unwindCallFramecxx . . $ QTJSC/Interpreter#unwindCallFrame(852e8bd52d428ea3).(callFrame, exceptionValue, bytecodeOffset, codeBlock)) { |
| 534 | // Don't need handler checks or anything, we just want to unroll all the JS callframes possible. |
| 535 | } |
| 536 | return 0; |
| 537 | } |
| 538 | } |
| 539 | } |
| 540 | |
| 541 | Debuggercxx . . $ QTJSC/Debugger#* debugger = callFrame->dynamicGlobalObjectcxx . . $ QTJSC/ExecState#dynamicGlobalObject(4418983463e2bc6a).()->debuggercxx . . $ QTJSC/JSGlobalObject#debugger(1a524ff7b31d81c).(); |
| 542 | if (debugger) { |
| 543 | DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame# debuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#DebuggerCallFrame(1aadac95d0a8d6ce).(callFrame, exceptionValue); |
| 544 | bool hasHandler = codeBlock->handlerForBytecodeOffsetcxx . . $ QTJSC/CodeBlock#handlerForBytecodeOffset(1443e7533dc458dd).(bytecodeOffset); |
| 545 | debugger->exceptioncxx . . $ QTJSC/Debugger#exception(8d3cb298cf587715).(debuggerCallFrame, codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), codeBlock->lineNumberForBytecodeOffsetcxx . . $ QTJSC/CodeBlock#lineNumberForBytecodeOffset(c902a1333cc32b28).(callFrame, bytecodeOffset), hasHandler); |
| 546 | } |
| 547 | |
| 548 | // If we throw in the middle of a call instruction, we need to notify |
| 549 | // the profiler manually that the call instruction has returned, since |
| 550 | // we'll never reach the relevant op_profile_did_call. |
| 551 | if (Profilercxx . . $ QTJSC/Profiler#* profiler = *Profilercxx . . $ QTJSC/Profiler#::enabledProfilerReferencecxx . . $ QTJSC/Profiler#enabledProfilerReference(3c6d24c096f14502).()) { |
| 552 | #if !ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT) |
| 553 | if (isCallBytecode(codeBlock->instructions()[bytecodeOffset].u.opcode)) |
| 554 | profiler->didExecute(callFrame, callFrame->r(codeBlock->instructions()[bytecodeOffset + 2].u.operand).jsValue()); |
| 555 | else if (codeBlock->instructions().size() > (bytecodeOffset + 8) && codeBlock->instructions()[bytecodeOffset + 8].u.opcode == getOpcode(op_construct)) |
| 556 | profiler->didExecute(callFrame, callFrame->r(codeBlock->instructions()[bytecodeOffset + 10].u.operand).jsValue()); |
| 557 | #else |
| 558 | int functionRegisterIndex; |
| 559 | if (codeBlock->functionRegisterForBytecodeOffsetcxx . . $ QTJSC/CodeBlock#functionRegisterForBytecodeOffset(4a22c59effadac6e).(bytecodeOffset, functionRegisterIndex)) |
| 560 | profiler->didExecutecxx . . $ QTJSC/Profiler#didExecute(1aadac95d0a8d6ce).(callFrame, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(functionRegisterIndex).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 561 | #endif |
| 562 | } |
| 563 | |
| 564 | // Calculate an exception handler vPC, unwinding call frames as necessary. |
| 565 | |
| 566 | HandlerInfocxx . . $ QTJSC/HandlerInfo#* handler = 0; |
| 567 | |
| 568 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! |
| 569 | //try to find handler |
| 570 | bool hasHandler = true; |
| 571 | CallFramecxx . . $ QTJSC/CallFrame# *callFrameTemp = callFrame; |
| 572 | unsigned bytecodeOffsetTemp = bytecodeOffset; |
| 573 | CodeBlockcxx . . $ QTJSC/CodeBlock# *codeBlockTemp = codeBlock; |
| 574 | while (!(handler = codeBlockTemp->handlerForBytecodeOffsetcxx . . $ QTJSC/CodeBlock#handlerForBytecodeOffset(1443e7533dc458dd).(bytecodeOffsetTemp))) { |
| 575 | void* returnPC = callFrameTemp->returnPCcxx . . $ QTJSC/ExecState#returnPC(62fbc1600eb00a5f).(); |
| 576 | callFrameTemp = callFrameTemp->callerFramecxx . . $ QTJSC/ExecState#callerFrame(5952b97f5bc87321).(); |
| 577 | if (callFrameTemp->hasHostCallFrameFlagcxx . . $ QTJSC/ExecState#hasHostCallFrameFlag(50ce9a9e25b4a850).()) { |
| 578 | hasHandler = false; |
| 579 | break; |
| 580 | } else { |
| 581 | codeBlockTemp = callFrameTemp->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 582 | bytecodeOffsetTemp = bytecodeOffsetForPCcxx . . $ QTJSC/bytecodeOffsetForPC(c12aded42f5e9e26).(callFrameTemp, codeBlockTemp, returnPC); |
| 583 | } |
| 584 | } |
| 585 | if (debugger) |
| 586 | debugger->exceptionThrowcxx . . $ QTJSC/Debugger#exceptionThrow(988d3f41b66f3a59).(DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#DebuggerCallFrame(1aadac95d0a8d6ce).(callFrame, exceptionValue), codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), hasHandler); |
| 587 | else if (!hasHandler) |
| 588 | callFrame->globalDatacxx . . $ QTJSC/ExecState#globalData(ae00a65ac2fd4a61).().clientDatacxx . . $ QTJSC/JSGlobalData#clientData.->uncaughtExceptioncxx . . $ QTJSC/JSGlobalData#ClientData#uncaughtException(b1b60585cf3bb95).(callFrame, bytecodeOffset, exceptionValue); |
| 589 | #endif |
| 590 | |
| 591 | while (!(handler = codeBlock->handlerForBytecodeOffsetcxx . . $ QTJSC/CodeBlock#handlerForBytecodeOffset(1443e7533dc458dd).(bytecodeOffset))) { |
| 592 | if (!unwindCallFramecxx . . $ QTJSC/Interpreter#unwindCallFrame(852e8bd52d428ea3).(callFrame, exceptionValue, bytecodeOffset, codeBlock)) { |
| 593 | return 0; |
| 594 | } |
| 595 | } |
| 596 | // Now unwind the scope chain within the exception handler's call frame. |
| 597 | |
| 598 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 599 | ScopeChaincxx . . $ QTJSC/ScopeChain# sccxx . . $ QTJSC/ScopeChain#ScopeChain(fdc7869371484d42).(scopeChain); |
| 600 | int scopeDelta = depthcxx . . $ QTJSC/depth(6890c4f81137a50b).(codeBlock, sc) - handler->scopeDepthcxx . . $ QTJSC/HandlerInfo#scopeDepth.; |
| 601 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(scopeDelta >= 0); |
| 602 | while (scopeDelta--) |
| 603 | scopeChain = scopeChain->popcxx . . $ QTJSC/ScopeChainNode#pop(42331f7aadcf3667).(); |
| 604 | callFrame->setScopeChaincxx . . $ QTJSC/ExecState#setScopeChain(fdc7869371484d42).(scopeChain); |
| 605 | |
| 606 | return handler; |
| 607 | } |
| 608 | |
| 609 | JSValuecxx . . $ QTJSC/JSValue# Interpretercxx . . $ QTJSC/Interpreter#::executecxx . . $ QTJSC/Interpreter#execute(ea0451e50c68f2ec).(ProgramExecutablecxx . . $ QTJSC/ProgramExecutable#* program, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain, JSObjectcxx . . $ QTJSC/JSObject#* thisObj, JSValuecxx . . $ QTJSC/JSValue#* exception) |
| 610 | { |
| 611 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!scopeChain->globalData->exception); |
| 612 | |
| 613 | if (m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth. >= MaxSecondaryThreadReentryDepthcxx . . $ QTJSC/MaxSecondaryThreadReentryDepth.) { |
| 614 | if (!isMainThreadcxx . . $ isMainThread(c9857a73d68e59ba).() || m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth. >= MaxMainThreadReentryDepthcxx . . $ QTJSC/MaxMainThreadReentryDepth.) { |
| 615 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 616 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 617 | } |
| 618 | } |
| 619 | |
| 620 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = &program->bytecodecxx . . $ QTJSC/ProgramExecutable#bytecode(6df5c99e71252eac).(callFrame, scopeChain); |
| 621 | |
| 622 | Registercxx . . $ QTJSC/Register#* oldEnd = m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..endcxx . . $ QTJSC/RegisterFile#end(a946f3c7dddb0650).(); |
| 623 | Registercxx . . $ QTJSC/Register#* newEnd = oldEnd + codeBlock->m_numParameterscxx . . $ QTJSC/CodeBlock#m_numParameters. + RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize. + codeBlock->m_numCalleeRegisterscxx . . $ QTJSC/CodeBlock#m_numCalleeRegisters.; |
| 624 | if (!m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..growcxx . . $ QTJSC/RegisterFile#grow(92b425340182f9cb).(newEnd)) { |
| 625 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 626 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 627 | } |
| 628 | |
| 629 | DynamicGlobalObjectScopecxx . . $ QTJSC/DynamicGlobalObjectScope# globalObjectScopecxx . . $ QTJSC/DynamicGlobalObjectScope#DynamicGlobalObjectScope(9d5795483a2927e0).(callFrame, scopeChain->globalObjectcxx . . $ QTJSC/ScopeChainNode#globalObject.); |
| 630 | |
| 631 | JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#* lastGlobalObject = m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..globalObjectcxx . . $ QTJSC/RegisterFile#globalObject(4418983463e2bc6a).(); |
| 632 | JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#* globalObject = callFrame->dynamicGlobalObjectcxx . . $ QTJSC/ExecState#dynamicGlobalObject(4418983463e2bc6a).(); |
| 633 | globalObject->copyGlobalsTocxx . . $ QTJSC/JSGlobalObject#copyGlobalsTo(95adc9a98330715f).(m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile.); |
| 634 | |
| 635 | CallFramecxx . . $ QTJSC/CallFrame#* newCallFrame = CallFramecxx . . $ QTJSC/CallFrame#::createcxx . . $ QTJSC/ExecState#create(38d04c2988512828).(oldEnd + codeBlock->m_numParameterscxx . . $ QTJSC/CodeBlock#m_numParameters. + RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize.); |
| 636 | newCallFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(codeBlock->thisRegistercxx . . $ QTJSC/CodeBlock#thisRegister(455f465bc33b4cdf).()) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(thisObj); |
| 637 | newCallFrame->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(codeBlock, 0, scopeChain, CallFramecxx . . $ QTJSC/CallFrame#::noCallercxx . . $ QTJSC/ExecState#noCaller(27c3d7386a195136).(), 0, 0, 0); |
| 638 | |
| 639 | if (codeBlock->needsFullScopeChaincxx . . $ QTJSC/CodeBlock#needsFullScopeChain(50ce9a9e25b4a850).()) |
| 640 | scopeChain->refcxx . . $ QTJSC/ScopeChainNode#ref(49f6e7a06ebc5aa8).(); |
| 641 | |
| 642 | Profilercxx . . $ QTJSC/Profiler#** profiler = Profilercxx . . $ QTJSC/Profiler#::enabledProfilerReferencecxx . . $ QTJSC/Profiler#enabledProfilerReference(3c6d24c096f14502).(); |
| 643 | if (*profiler) |
| 644 | (*profiler)->willExecutecxx . . $ QTJSC/Profiler#willExecute(1aadac95d0a8d6ce).(newCallFrame, program->sourceURLcxx . . $ QTJSC/ScriptExecutable#sourceURL(de21ee9ecbd506fd).(), program->lineNocxx . . $ QTJSC/ScriptExecutable#lineNo(455f465bc33b4cdf).()); |
| 645 | |
| 646 | JSValuecxx . . $ QTJSC/JSValue# resultcxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 647 | { |
| 648 | SamplingToolcxx . . $ QTJSC/SamplingTool#::CallRecordcxx . . $ QTJSC/SamplingTool#CallRecord# callRecord(m_sampler.get()); |
| 649 | |
| 650 | m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth.++; |
| 651 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT) |
| 652 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). program->jitCodecxx . . $ QTJSC/ProgramExecutable#jitCode(8f1b409da76bc763).(newCallFrame, scopeChain).executecxx . . $ QTJSC/JITCode#execute(86b00da060aae3ec).(&m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile., newCallFrame, scopeChain->globalDatacxx . . $ QTJSC/ScopeChainNode#globalData., exception); |
| 653 | #else |
| 654 | result = privateExecute(Normal, &m_registerFile, newCallFrame, exception); |
| 655 | #endif |
| 656 | m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth.--; |
| 657 | } |
| 658 | |
| 659 | if (*profiler) |
| 660 | (*profiler)->didExecutecxx . . $ QTJSC/Profiler#didExecute(ac8610a35a2ea244).(callFrame, program->sourceURLcxx . . $ QTJSC/ScriptExecutable#sourceURL(de21ee9ecbd506fd).(), program->lineNocxx . . $ QTJSC/ScriptExecutable#lineNo(455f465bc33b4cdf).()); |
| 661 | |
| 662 | if (m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth. && lastGlobalObject && globalObject != lastGlobalObject) |
| 663 | lastGlobalObject->copyGlobalsTocxx . . $ QTJSC/JSGlobalObject#copyGlobalsTo(95adc9a98330715f).(m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile.); |
| 664 | |
| 665 | m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..shrinkcxx . . $ QTJSC/RegisterFile#shrink(2654b274bd0f5c24).(oldEnd); |
| 666 | |
| 667 | return result; |
| 668 | } |
| 669 | |
| 670 | JSValuecxx . . $ QTJSC/JSValue# Interpretercxx . . $ QTJSC/Interpreter#::executecxx . . $ QTJSC/Interpreter#execute(a0a052767767bb53).(FunctionExecutablecxx . . $ QTJSC/FunctionExecutable#* functionExecutable, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, JSFunctioncxx . . $ QTJSC/JSFunction#* function, JSObjectcxx . . $ QTJSC/JSObject#* thisObj, const ArgListcxx . . $ QTJSC/ArgList#& args, ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain, JSValuecxx . . $ QTJSC/JSValue#* exception) |
| 671 | { |
| 672 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!scopeChain->globalData->exception); |
| 673 | |
| 674 | if (m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth. >= MaxSecondaryThreadReentryDepthcxx . . $ QTJSC/MaxSecondaryThreadReentryDepth.) { |
| 675 | if (!isMainThreadcxx . . $ isMainThread(c9857a73d68e59ba).() || m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth. >= MaxMainThreadReentryDepthcxx . . $ QTJSC/MaxMainThreadReentryDepth.) { |
| 676 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 677 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 678 | } |
| 679 | } |
| 680 | |
| 681 | Registercxx . . $ QTJSC/Register#* oldEnd = m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..endcxx . . $ QTJSC/RegisterFile#end(a946f3c7dddb0650).(); |
| 682 | int argc = 1 + args.sizecxx . . $ QTJSC/ArgList#size(fe4d2d262d4164a8).(); // implicit "this" parameter |
| 683 | |
| 684 | if (!m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..growcxx . . $ QTJSC/RegisterFile#grow(92b425340182f9cb).(oldEnd + argc)) { |
| 685 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 686 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 687 | } |
| 688 | |
| 689 | DynamicGlobalObjectScopecxx . . $ QTJSC/DynamicGlobalObjectScope# globalObjectScopecxx . . $ QTJSC/DynamicGlobalObjectScope#DynamicGlobalObjectScope(9d5795483a2927e0).(callFrame, scopeChain->globalObjectcxx . . $ QTJSC/ScopeChainNode#globalObject.); |
| 690 | |
| 691 | CallFramecxx . . $ QTJSC/CallFrame#* newCallFrame = CallFramecxx . . $ QTJSC/CallFrame#::createcxx . . $ QTJSC/ExecState#create(38d04c2988512828).(oldEnd); |
| 692 | size_t dst = 0; |
| 693 | newCallFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(0) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(thisObj); |
| 694 | ArgListcxx . . $ QTJSC/ArgList#::const_iteratorcxx . . $ QTJSC/ArgList#const_iterator# end = args.endcxx . . $ QTJSC/ArgList#end(6314d561bd93d1d).(); |
| 695 | for (ArgListcxx . . $ QTJSC/ArgList#::const_iteratorcxx . . $ QTJSC/ArgList#const_iterator# it = args.begincxx . . $ QTJSC/ArgList#begin(6314d561bd93d1d).(); it != end; ++it) |
| 696 | newCallFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(++dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). *it; |
| 697 | |
| 698 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = &functionExecutable->bytecodecxx . . $ QTJSC/FunctionExecutable#bytecode(f6188d605a8fbc4b).(callFrame, scopeChain); |
| 699 | newCallFrame = slideRegisterWindowForCallcxx . . $ QTJSC/Interpreter#slideRegisterWindowForCall(c83f7e92863d893d).(codeBlock, &m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile., newCallFrame, argc + RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize., argc); |
| 700 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!newCallFrame)) { |
| 701 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 702 | m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..shrinkcxx . . $ QTJSC/RegisterFile#shrink(2654b274bd0f5c24).(oldEnd); |
| 703 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 704 | } |
| 705 | // a 0 codeBlock indicates a built-in caller |
| 706 | newCallFrame->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(codeBlock, 0, scopeChain, callFrame->addHostCallFrameFlagcxx . . $ QTJSC/ExecState#addHostCallFrameFlag(5952b97f5bc87321).(), 0, argc, function); |
| 707 | |
| 708 | Profilercxx . . $ QTJSC/Profiler#** profiler = Profilercxx . . $ QTJSC/Profiler#::enabledProfilerReferencecxx . . $ QTJSC/Profiler#enabledProfilerReference(3c6d24c096f14502).(); |
| 709 | if (*profiler) |
| 710 | (*profiler)->willExecutecxx . . $ QTJSC/Profiler#willExecute(1aadac95d0a8d6ce).(callFrame, function); |
| 711 | |
| 712 | JSValuecxx . . $ QTJSC/JSValue# resultcxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 713 | { |
| 714 | SamplingToolcxx . . $ QTJSC/SamplingTool#::CallRecordcxx . . $ QTJSC/SamplingTool#CallRecord# callRecord(m_sampler.get()); |
| 715 | |
| 716 | m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth.++; |
| 717 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT) |
| 718 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). functionExecutable->jitCodecxx . . $ QTJSC/FunctionExecutable#jitCode(8f1b409da76bc763).(newCallFrame, scopeChain).executecxx . . $ QTJSC/JITCode#execute(86b00da060aae3ec).(&m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile., newCallFrame, scopeChain->globalDatacxx . . $ QTJSC/ScopeChainNode#globalData., exception); |
| 719 | #else |
| 720 | result = privateExecute(Normal, &m_registerFile, newCallFrame, exception); |
| 721 | #endif |
| 722 | m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth.--; |
| 723 | } |
| 724 | |
| 725 | if (*profiler) |
| 726 | (*profiler)->didExecutecxx . . $ QTJSC/Profiler#didExecute(ac8610a35a2ea244).(callFrame, function); |
| 727 | |
| 728 | m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..shrinkcxx . . $ QTJSC/RegisterFile#shrink(2654b274bd0f5c24).(oldEnd); |
| 729 | return result; |
| 730 | } |
| 731 | |
| 732 | CallFrameClosurecxx . . $ QTJSC/CallFrameClosure# Interpretercxx . . $ QTJSC/Interpreter#::prepareForRepeatCallcxx . . $ QTJSC/Interpreter#prepareForRepeatCall(4e6bc6f4477ad73c).(FunctionExecutablecxx . . $ QTJSC/FunctionExecutable#* FunctionExecutable, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, JSFunctioncxx . . $ QTJSC/JSFunction#* function, int argCount, ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain, JSValuecxx . . $ QTJSC/JSValue#* exception) |
| 733 | { |
| 734 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!scopeChain->globalData->exception); |
| 735 | |
| 736 | if (m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth. >= MaxSecondaryThreadReentryDepthcxx . . $ QTJSC/MaxSecondaryThreadReentryDepth.) { |
| 737 | if (!isMainThreadcxx . . $ isMainThread(c9857a73d68e59ba).() || m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth. >= MaxMainThreadReentryDepthcxx . . $ QTJSC/MaxMainThreadReentryDepth.) { |
| 738 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 739 | return CallFrameClosurecxx . . $ QTJSC/CallFrameClosure#(); |
| 740 | } |
| 741 | } |
| 742 | |
| 743 | Registercxx . . $ QTJSC/Register#* oldEnd = m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..endcxx . . $ QTJSC/RegisterFile#end(a946f3c7dddb0650).(); |
| 744 | int argc = 1 + argCount; // implicit "this" parameter |
| 745 | |
| 746 | if (!m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..growcxx . . $ QTJSC/RegisterFile#grow(92b425340182f9cb).(oldEnd + argc)) { |
| 747 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 748 | return CallFrameClosurecxx . . $ QTJSC/CallFrameClosure#(); |
| 749 | } |
| 750 | |
| 751 | CallFramecxx . . $ QTJSC/CallFrame#* newCallFrame = CallFramecxx . . $ QTJSC/CallFrame#::createcxx . . $ QTJSC/ExecState#create(38d04c2988512828).(oldEnd); |
| 752 | size_t dst = 0; |
| 753 | for (int i = 0; i < argc; ++i) |
| 754 | newCallFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(++dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).(); |
| 755 | |
| 756 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = &FunctionExecutable->bytecodecxx . . $ QTJSC/FunctionExecutable#bytecode(f6188d605a8fbc4b).(callFrame, scopeChain); |
| 757 | newCallFrame = slideRegisterWindowForCallcxx . . $ QTJSC/Interpreter#slideRegisterWindowForCall(c83f7e92863d893d).(codeBlock, &m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile., newCallFrame, argc + RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize., argc); |
| 758 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!newCallFrame)) { |
| 759 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 760 | m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..shrinkcxx . . $ QTJSC/RegisterFile#shrink(2654b274bd0f5c24).(oldEnd); |
| 761 | return CallFrameClosurecxx . . $ QTJSC/CallFrameClosure#(); |
| 762 | } |
| 763 | // a 0 codeBlock indicates a built-in caller |
| 764 | newCallFrame->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(codeBlock, 0, scopeChain, callFrame->addHostCallFrameFlagcxx . . $ QTJSC/ExecState#addHostCallFrameFlag(5952b97f5bc87321).(), 0, argc, function); |
| 765 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT) |
| 766 | FunctionExecutable->jitCodecxx . . $ QTJSC/FunctionExecutable#jitCode(8f1b409da76bc763).(newCallFrame, scopeChain); |
| 767 | #endif |
| 768 | |
| 769 | CallFrameClosurecxx . . $ QTJSC/CallFrameClosure# result = { callFrame, newCallFrame, function, FunctionExecutable, scopeChain->globalDatacxx . . $ QTJSC/ScopeChainNode#globalData., oldEnd, scopeChain, codeBlock->m_numParameterscxx . . $ QTJSC/CodeBlock#m_numParameters., argc }; |
| 770 | return result; |
| 771 | } |
| 772 | |
| 773 | JSValuecxx . . $ QTJSC/JSValue# Interpretercxx . . $ QTJSC/Interpreter#::executecxx . . $ QTJSC/Interpreter#execute(c7284d9f486c89c0).(CallFrameClosurecxx . . $ QTJSC/CallFrameClosure#& closure, JSValuecxx . . $ QTJSC/JSValue#* exception) |
| 774 | { |
| 775 | closure.resetCallFramecxx . . $ QTJSC/CallFrameClosure#resetCallFrame(49f6e7a06ebc5aa8).(); |
| 776 | Profilercxx . . $ QTJSC/Profiler#** profiler = Profilercxx . . $ QTJSC/Profiler#::enabledProfilerReferencecxx . . $ QTJSC/Profiler#enabledProfilerReference(3c6d24c096f14502).(); |
| 777 | if (*profiler) |
| 778 | (*profiler)->willExecutecxx . . $ QTJSC/Profiler#willExecute(1aadac95d0a8d6ce).(closure.oldCallFramecxx . . $ QTJSC/CallFrameClosure#oldCallFrame., closure.functioncxx . . $ QTJSC/CallFrameClosure#function.); |
| 779 | |
| 780 | JSValuecxx . . $ QTJSC/JSValue# resultcxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 781 | { |
| 782 | SamplingToolcxx . . $ QTJSC/SamplingTool#::CallRecordcxx . . $ QTJSC/SamplingTool#CallRecord# callRecord(m_sampler.get()); |
| 783 | |
| 784 | m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth.++; |
| 785 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT) |
| 786 | result = closure.functionExecutablecxx . . $ QTJSC/CallFrameClosure#functionExecutable.->generatedJITCodecxx . . $ QTJSC/ExecutableBase#generatedJITCode(6fad7ba5423f99e7).().execute(&m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile., closure.newCallFramecxx . . $ QTJSC/CallFrameClosure#newCallFrame., closure.globalDatacxx . . $ QTJSC/CallFrameClosure#globalData., exception); |
| 787 | #else |
| 788 | result = privateExecute(Normal, &m_registerFile, closure.newCallFrame, exception); |
| 789 | #endif |
| 790 | m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth.--; |
| 791 | } |
| 792 | |
| 793 | if (*profiler) |
| 794 | (*profiler)->didExecutecxx . . $ QTJSC/Profiler#didExecute(ac8610a35a2ea244).(closure.oldCallFramecxx . . $ QTJSC/CallFrameClosure#oldCallFrame., closure.functioncxx . . $ QTJSC/CallFrameClosure#function.); |
| 795 | return result; |
| 796 | } |
| 797 | |
| 798 | void Interpretercxx . . $ QTJSC/Interpreter#::endRepeatCallcxx . . $ QTJSC/Interpreter#endRepeatCall(e91d858123f36bc2).(CallFrameClosurecxx . . $ QTJSC/CallFrameClosure#& closure) |
| 799 | { |
| 800 | m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..shrinkcxx . . $ QTJSC/RegisterFile#shrink(2654b274bd0f5c24).(closure.oldEndcxx . . $ QTJSC/CallFrameClosure#oldEnd.); |
| 801 | } |
| 802 | |
| 803 | JSValuecxx . . $ QTJSC/JSValue# Interpretercxx . . $ QTJSC/Interpreter#::executecxx . . $ QTJSC/Interpreter#execute(e434fcb808a05019).(EvalExecutablecxx . . $ QTJSC/EvalExecutable#* eval, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, JSObjectcxx . . $ QTJSC/JSObject#* thisObj, ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain, JSValuecxx . . $ QTJSC/JSValue#* exception) |
| 804 | { |
| 805 | return executecxx . . $ QTJSC/Interpreter#execute(c7284d9f486c89c0).(eval, callFrame, thisObj, m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..sizecxx . . $ QTJSC/RegisterFile#size(fe4d2d262d4164a8).() +cxx . . $ operator+(f3789794639247d3). eval->bytecodecxx . . $ QTJSC/EvalExecutable#bytecode(6ed5b0bf59e6bf03).(callFrame, scopeChain).m_numParameters +cxx . . $ operator+(f3789794639247d3). RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize., scopeChain, exception); |
| 806 | } |
| 807 | |
| 808 | JSValuecxx . . $ QTJSC/JSValue# Interpretercxx . . $ QTJSC/Interpreter#::executecxx . . $ QTJSC/Interpreter#execute(7ce193c050309b77).(EvalExecutablecxx . . $ QTJSC/EvalExecutable#* eval, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, JSObjectcxx . . $ QTJSC/JSObject#* thisObj, int globalRegisterOffset, ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain, JSValuecxx . . $ QTJSC/JSValue#* exception) |
| 809 | { |
| 810 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!scopeChain->globalData->exception); |
| 811 | |
| 812 | if (m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth. >= MaxSecondaryThreadReentryDepthcxx . . $ QTJSC/MaxSecondaryThreadReentryDepth.) { |
| 813 | if (!isMainThreadcxx . . $ isMainThread(c9857a73d68e59ba).() || m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth. >= MaxMainThreadReentryDepthcxx . . $ QTJSC/MaxMainThreadReentryDepth.) { |
| 814 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 815 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 816 | } |
| 817 | } |
| 818 | |
| 819 | DynamicGlobalObjectScopecxx . . $ QTJSC/DynamicGlobalObjectScope# globalObjectScopecxx . . $ QTJSC/DynamicGlobalObjectScope#DynamicGlobalObjectScope(9d5795483a2927e0).(callFrame, scopeChain->globalObjectcxx . . $ QTJSC/ScopeChainNode#globalObject.); |
| 820 | |
| 821 | EvalCodeBlockcxx . . $ QTJSC/EvalCodeBlock#* codeBlock = &eval->bytecodecxx . . $ QTJSC/EvalExecutable#bytecode(6ed5b0bf59e6bf03).(callFrame, scopeChain); |
| 822 | |
| 823 | JSVariableObjectcxx . . $ QTJSC/JSVariableObject#* variableObject; |
| 824 | for (ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* node = scopeChain; ; node = node->nextcxx . . $ QTJSC/ScopeChainNode#next.) { |
| 825 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(node); |
| 826 | if (node->objectcxx . . $ QTJSC/ScopeChainNode#object.->isVariableObjectcxx . . $ QTJSC/JSObject#isVariableObject(50ce9a9e25b4a850).()) { |
| 827 | variableObject = static_cast<JSVariableObject*>(node->object); |
| 828 | break; |
| 829 | } |
| 830 | } |
| 831 | |
| 832 | { // Scope for BatchedTransitionOptimizer |
| 833 | |
| 834 | BatchedTransitionOptimizercxx . . $ QTJSC/BatchedTransitionOptimizer# optimizer(variableObject); |
| 835 | |
| 836 | unsigned numVariables = codeBlock->numVariablescxx . . $ QTJSC/EvalCodeBlock#numVariables(db52760e79bf9054).(); |
| 837 | for (unsigned i = 0; i < numVariables; ++i) { |
| 838 | const Identifiercxx . . $ QTJSC/Identifier#& ident = codeBlock->variablecxx . . $ QTJSC/EvalCodeBlock#variable(350f51dd5657a4d6).(i); |
| 839 | if (!variableObject->hasPropertycxx . . $ QTJSC/JSObject#hasProperty(19361922c79e8980).(callFrame, ident)) { |
| 840 | PutPropertySlotcxx . . $ QTJSC/PutPropertySlot# slotcxx . . $ QTJSC/PutPropertySlot#PutPropertySlot(49f6e7a06ebc5aa8).; |
| 841 | variableObject->putcxx . . $ QTJSC/JSObject#put(dfb3133dafbe9ff4).(callFrame, ident, jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).(), slot); |
| 842 | } |
| 843 | } |
| 844 | |
| 845 | int numFunctions = codeBlock->numberOfFunctionDeclscxx . . $ QTJSC/CodeBlock#numberOfFunctionDecls(b126dc7c1de90089).(); |
| 846 | for (int i = 0; i < numFunctions; ++i) { |
| 847 | FunctionExecutablecxx . . $ QTJSC/FunctionExecutable#* function = codeBlock->functionDeclcxx . . $ QTJSC/CodeBlock#functionDecl(a57ecca163d6c59).(i); |
| 848 | PutPropertySlotcxx . . $ QTJSC/PutPropertySlot# slotcxx . . $ QTJSC/PutPropertySlot#PutPropertySlot(49f6e7a06ebc5aa8).; |
| 849 | variableObject->putcxx . . $ QTJSC/JSObject#put(dfb3133dafbe9ff4).(callFrame, function->namecxx . . $ QTJSC/FunctionExecutable#name(d09261135e261cb4).(), function->makecxx . . $ QTJSC/FunctionExecutable#make(e776e03fd848bcd9).(callFrame, scopeChain), slot); |
| 850 | } |
| 851 | |
| 852 | } |
| 853 | |
| 854 | Registercxx . . $ QTJSC/Register#* oldEnd = m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..endcxx . . $ QTJSC/RegisterFile#end(a946f3c7dddb0650).(); |
| 855 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! //with Qt Script, we do not necesserly start from scratch |
| 856 | Registercxx . . $ QTJSC/Register#* newEnd = oldEnd + globalRegisterOffset +cxx . . $ operator+(f3789794639247d3). codeBlock->m_numCalleeRegisters; |
| 857 | #else |
| 858 | Register* newEnd = m_registerFile.start() + globalRegisterOffset + codeBlock->m_numCalleeRegisters; |
| 859 | #endif |
| 860 | if (!m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..growcxx . . $ QTJSC/RegisterFile#grow(92b425340182f9cb).(newEnd)) { |
| 861 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 862 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 863 | } |
| 864 | |
| 865 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! //with Qt Script, we do not necesserly start from scratch |
| 866 | CallFramecxx . . $ QTJSC/CallFrame#* newCallFrame = CallFramecxx . . $ QTJSC/CallFrame#::createcxx . . $ QTJSC/ExecState#create(38d04c2988512828).(oldEnd + globalRegisterOffset); |
| 867 | #else |
| 868 | CallFrame* newCallFrame = CallFrame::create(m_registerFile.start() + globalRegisterOffset); |
| 869 | #endif |
| 870 | |
| 871 | // a 0 codeBlock indicates a built-in caller |
| 872 | newCallFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(codeBlock->thisRegistercxx . . $ QTJSC/CodeBlock#thisRegister(455f465bc33b4cdf).()) = JSValue(thisObj); |
| 873 | newCallFrame->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(codeBlock, 0, scopeChain, callFrame->addHostCallFrameFlagcxx . . $ QTJSC/ExecState#addHostCallFrameFlag(5952b97f5bc87321).(), 0, 0, 0); |
| 874 | |
| 875 | if (codeBlock->needsFullScopeChaincxx . . $ QTJSC/CodeBlock#needsFullScopeChain(50ce9a9e25b4a850).()) |
| 876 | scopeChain->refcxx . . $ QTJSC/ScopeChainNode#ref(49f6e7a06ebc5aa8).(); |
| 877 | |
| 878 | Profilercxx . . $ QTJSC/Profiler#** profiler = Profilercxx . . $ QTJSC/Profiler#::enabledProfilerReferencecxx . . $ QTJSC/Profiler#enabledProfilerReference(3c6d24c096f14502).(); |
| 879 | if (*profiler) |
| 880 | (*profiler)->willExecutecxx . . $ QTJSC/Profiler#willExecute(1aadac95d0a8d6ce).(newCallFrame, eval->sourceURLcxx . . $ QTJSC/ScriptExecutable#sourceURL(de21ee9ecbd506fd).(), eval->lineNocxx . . $ QTJSC/ScriptExecutable#lineNo(455f465bc33b4cdf).()); |
| 881 | |
| 882 | JSValuecxx . . $ QTJSC/JSValue# resultcxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 883 | { |
| 884 | SamplingToolcxx . . $ QTJSC/SamplingTool#::CallRecordcxx . . $ QTJSC/SamplingTool#CallRecord# callRecord(m_sampler.get()); |
| 885 | |
| 886 | m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth.++; |
| 887 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT) |
| 888 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). eval->jitCodecxx . . $ QTJSC/EvalExecutable#jitCode(8f1b409da76bc763).(newCallFrame, scopeChain).executecxx . . $ QTJSC/JITCode#execute(86b00da060aae3ec).(&m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile., newCallFrame, scopeChain->globalDatacxx . . $ QTJSC/ScopeChainNode#globalData., exception); |
| 889 | #else |
| 890 | result = privateExecute(Normal, &m_registerFile, newCallFrame, exception); |
| 891 | #endif |
| 892 | m_reentryDepthcxx . . $ QTJSC/Interpreter#m_reentryDepth.--; |
| 893 | } |
| 894 | |
| 895 | if (*profiler) |
| 896 | (*profiler)->didExecutecxx . . $ QTJSC/Profiler#didExecute(ac8610a35a2ea244).(callFrame, eval->sourceURLcxx . . $ QTJSC/ScriptExecutable#sourceURL(de21ee9ecbd506fd).(), eval->lineNocxx . . $ QTJSC/ScriptExecutable#lineNo(455f465bc33b4cdf).()); |
| 897 | |
| 898 | m_registerFilecxx . . $ QTJSC/Interpreter#m_registerFile..shrinkcxx . . $ QTJSC/RegisterFile#shrink(2654b274bd0f5c24).(oldEnd); |
| 899 | return result; |
| 900 | } |
| 901 | |
| 902 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! void Interpretercxx . . $ QTJSC/Interpreter#::debugcxx . . $ QTJSC/Interpreter#debug(c71a0da09f7d1644).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, DebugHookIDcxx . . $ QTJSC/DebugHookID# debugHookID, int firstLine, int lastLine) |
| 903 | { |
| 904 | Debuggercxx . . $ QTJSC/Debugger#* debugger = callFrame->dynamicGlobalObjectcxx . . $ QTJSC/ExecState#dynamicGlobalObject(4418983463e2bc6a).()->debuggercxx . . $ QTJSC/JSGlobalObject#debugger(1a524ff7b31d81c).(); |
| 905 | if (!debugger) |
| 906 | return; |
| 907 | |
| 908 | switch (debugHookID) { |
| 909 | case DidEnterCallFramecxx . . $ QTJSC/DidEnterCallFrame.: |
| 910 | debugger->callEventcxx . . $ QTJSC/Debugger#callEvent(c7dddfe28e8e5e6c).(callFramecxx . . $ QTJSC/DebuggerCallFrame#DebuggerCallFrame(d2cb180e190a9680)., callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), firstLine); |
| 911 | return; |
| 912 | case WillLeaveCallFramecxx . . $ QTJSC/WillLeaveCallFrame.: |
| 913 | debugger->returnEventcxx . . $ QTJSC/Debugger#returnEvent(c7dddfe28e8e5e6c).(callFramecxx . . $ QTJSC/DebuggerCallFrame#DebuggerCallFrame(d2cb180e190a9680)., callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), lastLine); |
| 914 | return; |
| 915 | case WillExecuteStatementcxx . . $ QTJSC/WillExecuteStatement.: |
| 916 | debugger->atStatementcxx . . $ QTJSC/Debugger#atStatement(c7dddfe28e8e5e6c).(callFramecxx . . $ QTJSC/DebuggerCallFrame#DebuggerCallFrame(d2cb180e190a9680)., callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), firstLine); |
| 917 | return; |
| 918 | case WillExecuteProgramcxx . . $ QTJSC/WillExecuteProgram.: |
| 919 | debugger->willExecuteProgramcxx . . $ QTJSC/Debugger#willExecuteProgram(c7dddfe28e8e5e6c).(callFramecxx . . $ QTJSC/DebuggerCallFrame#DebuggerCallFrame(d2cb180e190a9680)., callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), firstLine); |
| 920 | return; |
| 921 | case DidExecuteProgramcxx . . $ QTJSC/DidExecuteProgram.: |
| 922 | debugger->didExecuteProgramcxx . . $ QTJSC/Debugger#didExecuteProgram(c7dddfe28e8e5e6c).(callFramecxx . . $ QTJSC/DebuggerCallFrame#DebuggerCallFrame(d2cb180e190a9680)., callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), lastLine); |
| 923 | return; |
| 924 | case DidReachBreakpointcxx . . $ QTJSC/DidReachBreakpoint.: |
| 925 | debugger->didReachBreakpointcxx . . $ QTJSC/Debugger#didReachBreakpoint(c7dddfe28e8e5e6c).(callFramecxx . . $ QTJSC/DebuggerCallFrame#DebuggerCallFrame(d2cb180e190a9680)., callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), lastLine); |
| 926 | return; |
| 927 | } |
| 928 | } |
| 929 | |
| 930 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(INTERPRETER) |
| 931 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* Interpretercxx . . $ QTJSC/Interpreter#::createExceptionScopecxx . . $ QTJSC/Interpreter#createExceptionScope(3bac64aecf298d70).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, const Instructioncxx . . $ QTJSC/Instruction#* vPC) |
| 932 | { |
| 933 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 934 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 935 | Identifiercxx . . $ QTJSC/Identifier#& property = codeBlock->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.); |
| 936 | JSValuecxx . . $ QTJSC/JSValue# value = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 937 | JSObjectcxx . . $ QTJSC/JSObject#* scope = new (callFrame) JSStaticScopeObjectcxx . . $ QTJSC/JSStaticScopeObject#(callFrame, property, value, DontDeletecxx . . $ QTJSC/DontDelete.); |
| 938 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(scope); |
| 939 | |
| 940 | return callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).()->pushcxx . . $ QTJSC/ScopeChainNode#push(e196140052074d96).(scope); |
| 941 | } |
| 942 | |
| 943 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! void Interpretercxx . . $ QTJSC/Interpreter#::tryCachePutByIDcxx . . $ QTJSC/Interpreter#tryCachePutByID(36a58bce16894de9).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, Instructioncxx . . $ QTJSC/Instruction#* vPC, JSValuecxx . . $ QTJSC/JSValue# baseValue, const PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot) |
| 944 | { |
| 945 | // Recursive invocation may already have specialized this instruction. |
| 946 | if (vPC[0].ucxx . . $ QTJSC/Instruction#u..opcodecxx . . $ QTJSC/Instruction#$anonymous_type_1#opcode. != getOpcodecxx . . $ QTJSC/Interpreter#getOpcode(720968b0507a9cd2).(op_put_by_idcxx . . $ QTJSC/op_put_by_id.)) |
| 947 | return; |
| 948 | |
| 949 | if (!baseValue.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).()) |
| 950 | return; |
| 951 | |
| 952 | // Uncacheable: give up. |
| 953 | if (!slot.isCacheablecxx . . $ QTJSC/PutPropertySlot#isCacheable(50ce9a9e25b4a850).()) { |
| 954 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_put_by_id_genericcxx . . $ QTJSC/op_put_by_id_generic.); |
| 955 | return; |
| 956 | } |
| 957 | |
| 958 | JSCellcxx . . $ QTJSC/JSCell#* baseCell = asCellcxx . . $ QTJSC/asCell(31485abf284d9c5).(baseValue); |
| 959 | Structurecxx . . $ QTJSC/Structure#* structure = baseCell->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).(); |
| 960 | |
| 961 | if (structure->isUncacheableDictionarycxx . . $ QTJSC/Structure#isUncacheableDictionary(50ce9a9e25b4a850).()) { |
| 962 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_put_by_id_genericcxx . . $ QTJSC/op_put_by_id_generic.); |
| 963 | return; |
| 964 | } |
| 965 | |
| 966 | // Cache miss: record Structure to compare against next time. |
| 967 | Structurecxx . . $ QTJSC/Structure#* lastStructure = vPC[4].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.; |
| 968 | if (structure != lastStructure) { |
| 969 | // First miss: record Structure to compare against next time. |
| 970 | if (!lastStructure) { |
| 971 | vPC[4] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). structurecxx . . $ QTJSC/Instruction#Instruction(32e4947f9059a24a).; |
| 972 | return; |
| 973 | } |
| 974 | |
| 975 | // Second miss: give up. |
| 976 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_put_by_id_genericcxx . . $ QTJSC/op_put_by_id_generic.); |
| 977 | return; |
| 978 | } |
| 979 | |
| 980 | // Cache hit: Specialize instruction and ref Structures. |
| 981 | |
| 982 | // If baseCell != slot.base(), then baseCell must be a proxy for another object. |
| 983 | if (baseCell != slot.basecxx . . $ QTJSC/PutPropertySlot#base(8ac23ea934d7a115).()) { |
| 984 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_put_by_id_genericcxx . . $ QTJSC/op_put_by_id_generic.); |
| 985 | return; |
| 986 | } |
| 987 | |
| 988 | // Structure transition, cache transition info |
| 989 | if (slot.typecxx . . $ QTJSC/PutPropertySlot#type(80881eb9ae1a951c).() == PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#::NewPropertycxx . . $ QTJSC/PutPropertySlot#NewProperty.) { |
| 990 | if (structure->isDictionarycxx . . $ QTJSC/Structure#isDictionary(50ce9a9e25b4a850).()) { |
| 991 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_put_by_id_genericcxx . . $ QTJSC/op_put_by_id_generic.); |
| 992 | return; |
| 993 | } |
| 994 | |
| 995 | // put_by_id_transition checks the prototype chain for setters. |
| 996 | normalizePrototypeChaincxx . . $ QTJSC/normalizePrototypeChain(6e99572094d87a3e).(callFrame, baseCell); |
| 997 | |
| 998 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_put_by_id_transitioncxx . . $ QTJSC/op_put_by_id_transition.); |
| 999 | vPC[4] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). structurecxx . . $ QTJSC/Instruction#Instruction(32e4947f9059a24a).->previousIDcxx . . $ QTJSC/Structure#previousID(a25848528202c7a).(); |
| 1000 | vPC[5] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). structurecxx . . $ QTJSC/Instruction#Instruction(32e4947f9059a24a).; |
| 1001 | vPC[6] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). structurecxx . . $ QTJSC/Instruction#Instruction(7c0226cede3bf439).->prototypeChaincxx . . $ QTJSC/Structure#prototypeChain(92d47f80ba87ca5).(callFrame); |
| 1002 | vPC[7] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). slotcxx . . $ QTJSC/Instruction#Instruction(d4f767463ce0a6b3)..cachedOffsetcxx . . $ QTJSC/PutPropertySlot#cachedOffset(fe4d2d262d4164a8).(); |
| 1003 | codeBlock->refStructurescxx . . $ QTJSC/CodeBlock#refStructures(7b80bb93a80353a0).(vPC); |
| 1004 | return; |
| 1005 | } |
| 1006 | |
| 1007 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_put_by_id_replacecxx . . $ QTJSC/op_put_by_id_replace.); |
| 1008 | vPC[5] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). slotcxx . . $ QTJSC/Instruction#Instruction(d4f767463ce0a6b3)..cachedOffsetcxx . . $ QTJSC/PutPropertySlot#cachedOffset(fe4d2d262d4164a8).(); |
| 1009 | codeBlock->refStructurescxx . . $ QTJSC/CodeBlock#refStructures(7b80bb93a80353a0).(vPC); |
| 1010 | } |
| 1011 | |
| 1012 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! void Interpretercxx . . $ QTJSC/Interpreter#::uncachePutByIDcxx . . $ QTJSC/Interpreter#uncachePutByID(dd36cf60fd3c15f9).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, Instructioncxx . . $ QTJSC/Instruction#* vPC) |
| 1013 | { |
| 1014 | codeBlock->derefStructurescxx . . $ QTJSC/CodeBlock#derefStructures(7b80bb93a80353a0).(vPC); |
| 1015 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_put_by_idcxx . . $ QTJSC/op_put_by_id.); |
| 1016 | vPC[4] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). 0cxx . . $ QTJSC/Instruction#Instruction(d4f767463ce0a6b3).; |
| 1017 | } |
| 1018 | |
| 1019 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! void Interpretercxx . . $ QTJSC/Interpreter#::tryCacheGetByIDcxx . . $ QTJSC/Interpreter#tryCacheGetByID(23395d0f6397311).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, Instructioncxx . . $ QTJSC/Instruction#* vPC, JSValuecxx . . $ QTJSC/JSValue# baseValue, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, const PropertySlotcxx . . $ QTJSC/PropertySlot#& slot) |
| 1020 | { |
| 1021 | // Recursive invocation may already have specialized this instruction. |
| 1022 | if (vPC[0].ucxx . . $ QTJSC/Instruction#u..opcodecxx . . $ QTJSC/Instruction#$anonymous_type_1#opcode. != getOpcodecxx . . $ QTJSC/Interpreter#getOpcode(720968b0507a9cd2).(op_get_by_idcxx . . $ QTJSC/op_get_by_id.)) |
| 1023 | return; |
| 1024 | |
| 1025 | // FIXME: Cache property access for immediates. |
| 1026 | if (!baseValue.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).()) { |
| 1027 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_by_id_genericcxx . . $ QTJSC/op_get_by_id_generic.); |
| 1028 | return; |
| 1029 | } |
| 1030 | |
| 1031 | JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData = &callFrame->globalDatacxx . . $ QTJSC/ExecState#globalData(ae00a65ac2fd4a61).(); |
| 1032 | if (isJSArraycxx . . $ QTJSC/isJSArray(b468e0305807c4ec).(globalData, baseValue) && propertyName ==cxx . . $ QTJSC/`operator==`(8208a731c2dadbc2). callFrame->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().length) { |
| 1033 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_array_lengthcxx . . $ QTJSC/op_get_array_length.); |
| 1034 | return; |
| 1035 | } |
| 1036 | |
| 1037 | if (isJSStringcxx . . $ QTJSC/isJSString(b468e0305807c4ec).(globalData, baseValue) && propertyName ==cxx . . $ QTJSC/`operator==`(8208a731c2dadbc2). callFrame->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().length) { |
| 1038 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_string_lengthcxx . . $ QTJSC/op_get_string_length.); |
| 1039 | return; |
| 1040 | } |
| 1041 | |
| 1042 | // Uncacheable: give up. |
| 1043 | if (!slot.isCacheablecxx . . $ QTJSC/PropertySlot#isCacheable(50ce9a9e25b4a850).()) { |
| 1044 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_by_id_genericcxx . . $ QTJSC/op_get_by_id_generic.); |
| 1045 | return; |
| 1046 | } |
| 1047 | |
| 1048 | Structurecxx . . $ QTJSC/Structure#* structure = asCellcxx . . $ QTJSC/asCell(31485abf284d9c5).(baseValue)->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).(); |
| 1049 | |
| 1050 | if (structure->isUncacheableDictionarycxx . . $ QTJSC/Structure#isUncacheableDictionary(50ce9a9e25b4a850).()) { |
| 1051 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_by_id_genericcxx . . $ QTJSC/op_get_by_id_generic.); |
| 1052 | return; |
| 1053 | } |
| 1054 | |
| 1055 | // Cache miss |
| 1056 | Structurecxx . . $ QTJSC/Structure#* lastStructure = vPC[4].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.; |
| 1057 | if (structure != lastStructure) { |
| 1058 | // First miss: record Structure to compare against next time. |
| 1059 | if (!lastStructure) { |
| 1060 | vPC[4] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). structurecxx . . $ QTJSC/Instruction#Instruction(32e4947f9059a24a).; |
| 1061 | return; |
| 1062 | } |
| 1063 | |
| 1064 | // Second miss: give up. |
| 1065 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_by_id_genericcxx . . $ QTJSC/op_get_by_id_generic.); |
| 1066 | return; |
| 1067 | } |
| 1068 | |
| 1069 | // Cache hit: Specialize instruction and ref Structures. |
| 1070 | |
| 1071 | if (slot.slotBasecxx . . $ QTJSC/PropertySlot#slotBase(888c053acf364da1).() ==cxx . . $ QTJSC/JSValue#`operator==`(b7c0ea8ebb120a64). baseValue) { |
| 1072 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_by_id_selfcxx . . $ QTJSC/op_get_by_id_self.); |
| 1073 | vPC[5] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). slotcxx . . $ QTJSC/Instruction#Instruction(d4f767463ce0a6b3)..cachedOffsetcxx . . $ QTJSC/PropertySlot#cachedOffset(fe4d2d262d4164a8).(); |
| 1074 | |
| 1075 | codeBlock->refStructurescxx . . $ QTJSC/CodeBlock#refStructures(7b80bb93a80353a0).(vPC); |
| 1076 | return; |
| 1077 | } |
| 1078 | |
| 1079 | if (structure->isDictionarycxx . . $ QTJSC/Structure#isDictionary(50ce9a9e25b4a850).()) { |
| 1080 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_by_id_genericcxx . . $ QTJSC/op_get_by_id_generic.); |
| 1081 | return; |
| 1082 | } |
| 1083 | |
| 1084 | if (slot.slotBasecxx . . $ QTJSC/PropertySlot#slotBase(888c053acf364da1).() ==cxx . . $ QTJSC/JSValue#`operator==`(b7c0ea8ebb120a64). structure->prototypeForLookupcxx . . $ QTJSC/Structure#prototypeForLookup(3edd4bd77d4e7240).(callFrame)) { |
| 1085 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(slot.slotBase().isObject()); |
| 1086 | |
| 1087 | JSObjectcxx . . $ QTJSC/JSObject#* baseObject = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(slot.slotBasecxx . . $ QTJSC/PropertySlot#slotBase(888c053acf364da1).()); |
| 1088 | size_t offset = slot.cachedOffsetcxx . . $ QTJSC/PropertySlot#cachedOffset(fe4d2d262d4164a8).(); |
| 1089 | |
| 1090 | // Since we're accessing a prototype in a loop, it's a good bet that it |
| 1091 | // should not be treated as a dictionary. |
| 1092 | if (baseObject->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->isDictionary()) { |
| 1093 | baseObject->flattenDictionaryObjectcxx . . $ QTJSC/JSObject#flattenDictionaryObject(49f6e7a06ebc5aa8).(); |
| 1094 | offset = baseObject->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->get(propertyName); |
| 1095 | } |
| 1096 | |
| 1097 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!baseObject->structure()->isUncacheableDictionary()); |
| 1098 | |
| 1099 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_by_id_protocxx . . $ QTJSC/op_get_by_id_proto.); |
| 1100 | vPC[5] = baseObject->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).(); |
| 1101 | vPC[6] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). offsetcxx . . $ QTJSC/Instruction#Instruction(d4f767463ce0a6b3).; |
| 1102 | |
| 1103 | codeBlock->refStructurescxx . . $ QTJSC/CodeBlock#refStructures(7b80bb93a80353a0).(vPC); |
| 1104 | return; |
| 1105 | } |
| 1106 | |
| 1107 | size_t offset = slot.cachedOffsetcxx . . $ QTJSC/PropertySlot#cachedOffset(fe4d2d262d4164a8).(); |
| 1108 | size_t count = normalizePrototypeChaincxx . . $ QTJSC/normalizePrototypeChain(946acb67c406852c).(callFrame, baseValue, slot.slotBasecxx . . $ QTJSC/PropertySlot#slotBase(888c053acf364da1).(), propertyName, offset); |
| 1109 | if (!count) { |
| 1110 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_by_id_genericcxx . . $ QTJSC/op_get_by_id_generic.); |
| 1111 | return; |
| 1112 | } |
| 1113 | |
| 1114 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_by_id_chaincxx . . $ QTJSC/op_get_by_id_chain.); |
| 1115 | vPC[4] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). structurecxx . . $ QTJSC/Instruction#Instruction(32e4947f9059a24a).; |
| 1116 | vPC[5] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). structurecxx . . $ QTJSC/Instruction#Instruction(7c0226cede3bf439).->prototypeChaincxx . . $ QTJSC/Structure#prototypeChain(92d47f80ba87ca5).(callFrame); |
| 1117 | vPC[6] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). countcxx . . $ QTJSC/Instruction#Instruction(d4f767463ce0a6b3).; |
| 1118 | vPC[7] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). offsetcxx . . $ QTJSC/Instruction#Instruction(d4f767463ce0a6b3).; |
| 1119 | codeBlock->refStructurescxx . . $ QTJSC/CodeBlock#refStructures(7b80bb93a80353a0).(vPC); |
| 1120 | } |
| 1121 | |
| 1122 | NEVER_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:35:9`! void Interpretercxx . . $ QTJSC/Interpreter#::uncacheGetByIDcxx . . $ QTJSC/Interpreter#uncacheGetByID(dd36cf60fd3c15f9).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, Instructioncxx . . $ QTJSC/Instruction#* vPC) |
| 1123 | { |
| 1124 | codeBlock->derefStructurescxx . . $ QTJSC/CodeBlock#derefStructures(7b80bb93a80353a0).(vPC); |
| 1125 | vPC[0] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). getOpcodecxx . . $ QTJSC/Instruction#Instruction(a81355e90ec84b8c).(op_get_by_idcxx . . $ QTJSC/op_get_by_id.); |
| 1126 | vPC[4] =cxx . . $ QTJSC/Instruction#`operator=`(670f04876c891200). 0cxx . . $ QTJSC/Instruction#Instruction(d4f767463ce0a6b3).; |
| 1127 | } |
| 1128 | |
| 1129 | #endif // USE(INTERPRETER) |
| 1130 | |
| 1131 | JSValuecxx . . $ QTJSC/JSValue# Interpretercxx . . $ QTJSC/Interpreter#::privateExecutecxx . . $ QTJSC/Interpreter#privateExecute(32954e9b28fd0918).(ExecutionFlagcxx . . $ QTJSC/Interpreter#ExecutionFlag# flag, RegisterFilecxx . . $ QTJSC/RegisterFile#* registerFile, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, JSValuecxx . . $ QTJSC/JSValue#* exception) |
| 1132 | { |
| 1133 | // One-time initialization of our address tables. We have to put this code |
| 1134 | // here because our labels are only in scope inside this function. |
| 1135 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(flag == InitializeAndReturn)) { |
| 1136 | #if HAVEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:46:9`!(COMPUTED_GOTO) |
| 1137 | #define LIST_OPCODE_LABEL(id, length) &&id, |
| 1138 | static Opcode labels[] = { FOR_EACH_OPCODE_ID(LIST_OPCODE_LABEL) }; |
| 1139 | for (size_t i = 0; i < sizeof(labels) / sizeof(Opcode); ++i) |
| 1140 | m_opcodeTable[i] = labels[i]; |
| 1141 | #undef LIST_OPCODE_LABEL |
| 1142 | #endif // HAVE(COMPUTED_GOTO) |
| 1143 | return JSValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).(); |
| 1144 | } |
| 1145 | |
| 1146 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT) |
| 1147 | // Mixing Interpreter + JIT is not supported. |
| 1148 | ASSERT_NOT_REACHEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:185:9`!(); |
| 1149 | #endif |
| 1150 | #if !USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(INTERPRETER) |
| 1151 | UNUSED_PARAM(registerFile); |
| 1152 | UNUSED_PARAM(callFrame); |
| 1153 | UNUSED_PARAM(exception); |
| 1154 | return JSValue(); |
| 1155 | #else |
| 1156 | |
| 1157 | JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData = &callFrame->globalDatacxx . . $ QTJSC/ExecState#globalData(ae00a65ac2fd4a61).(); |
| 1158 | JSValuecxx . . $ QTJSC/JSValue# exceptionValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 1159 | HandlerInfocxx . . $ QTJSC/HandlerInfo#* handler = 0; |
| 1160 | |
| 1161 | Instructioncxx . . $ QTJSC/Instruction#* vPC = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->instructions().begin(); |
| 1162 | Profilercxx . . $ QTJSC/Profiler#** enabledProfilerReference = Profilercxx . . $ QTJSC/Profiler#::enabledProfilerReferencecxx . . $ QTJSC/Profiler#enabledProfilerReference(3c6d24c096f14502).(); |
| 1163 | unsigned tickCount = globalData->timeoutCheckercxx . . $ QTJSC/JSGlobalData#timeoutChecker.->ticksUntilNextCheckcxx . . $ QTJSC/TimeoutChecker#ticksUntilNextCheck(db52760e79bf9054).(); |
| 1164 | |
| 1165 | #define CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!() \ |
| 1166 | do { \ |
| 1167 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(globalData->exception != JSValue())) { \ |
| 1168 | exceptionValue = globalData->exception; \ |
| 1169 | goto vm_throw; \ |
| 1170 | } \ |
| 1171 | } while (0) |
| 1172 | |
| 1173 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_STATS) |
| 1174 | OpcodeStats::resetLastInstruction(); |
| 1175 | #endif |
| 1176 | |
| 1177 | #define CHECK_FOR_TIMEOUTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1177:9`!() \ |
| 1178 | if (!--tickCount) { \ |
| 1179 | if (globalData->timeoutChecker->didTimeOut(callFrame)) { \ |
| 1180 | exceptionValue = jsNull(); \ |
| 1181 | goto vm_throw; \ |
| 1182 | } \ |
| 1183 | tickCount = globalData->timeoutChecker->ticksUntilNextCheck(); \ |
| 1184 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); \ |
| 1185 | } |
| 1186 | |
| 1187 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_SAMPLING) |
| 1188 | #define SAMPLE(codeBlock, vPC) m_sampler->sample(codeBlock, vPC) |
| 1189 | #else |
| 1190 | #define SAMPLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1190:13`!(codeBlock, vPC) |
| 1191 | #endif |
| 1192 | |
| 1193 | #if HAVEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:46:9`!(COMPUTED_GOTO) |
| 1194 | #define NEXT_INSTRUCTION() SAMPLE(callFrame->codeBlock(), vPC); goto *vPC->u.opcode |
| 1195 | #if ENABLE(OPCODE_STATS) |
| 1196 | #define DEFINE_OPCODE(opcode) opcode: OpcodeStats::recordInstruction(opcode); |
| 1197 | #else |
| 1198 | #define DEFINE_OPCODE(opcode) opcode: |
| 1199 | #endif |
| 1200 | NEXT_INSTRUCTION(); |
| 1201 | #else |
| 1202 | #define NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!() SAMPLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1190:13`!(callFrame->codeBlock(), vPC); goto interpreterLoopStart |
| 1203 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_STATS) |
| 1204 | #define DEFINE_OPCODE(opcode) case opcode: OpcodeStats::recordInstruction(opcode); |
| 1205 | #else |
| 1206 | #define DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(opcode) case opcode: |
| 1207 | #endif |
| 1208 | while (1) { // iterator loop begins |
| 1209 | interpreterLoopStart:; |
| 1210 | switch (vPC->ucxx . . $ QTJSC/Instruction#u..opcodecxx . . $ QTJSC/Instruction#$anonymous_type_1#opcode.) |
| 1211 | #endif |
| 1212 | { |
| 1213 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_new_object) { |
| 1214 | /* new_object dst(r) |
| 1215 | |
| 1216 | Constructs a new empty Object instance using the original |
| 1217 | constructor, and puts the result in register dst. |
| 1218 | */ |
| 1219 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1220 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(constructEmptyObjectcxx . . $ QTJSC/constructEmptyObject(dc025d143f56633c).(callFrame)); |
| 1221 | |
| 1222 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_new_object); |
| 1223 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1224 | } |
| 1225 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_new_array) { |
| 1226 | /* new_array dst(r) firstArg(r) argCount(n) |
| 1227 | |
| 1228 | Constructs a new Array instance using the original |
| 1229 | constructor, and puts the result in register dst. |
| 1230 | The array will contain argCount elements with values |
| 1231 | taken from registers starting at register firstArg. |
| 1232 | */ |
| 1233 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1234 | int firstArg = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1235 | int argCount = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1236 | ArgListcxx . . $ QTJSC/ArgList# argscxx . . $ QTJSC/ArgList#ArgList(c5e463275a0682fd).(callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + firstArg, argCount); |
| 1237 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(constructArraycxx . . $ QTJSC/constructArray(9e370d15c7fde85d).(callFrame, args)); |
| 1238 | |
| 1239 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_new_array); |
| 1240 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1241 | } |
| 1242 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_new_regexp) { |
| 1243 | /* new_regexp dst(r) regExp(re) |
| 1244 | |
| 1245 | Constructs a new RegExp instance using the original |
| 1246 | constructor from regexp regExp, and puts the result in |
| 1247 | register dst. |
| 1248 | */ |
| 1249 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1250 | int regExp = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1251 | callFrame->r(dst) = JSValue(new (globalData) RegExpObject(callFrame->scopeChain()->globalObject->regExpStructure(), callFrame->codeBlock()->regexp(regExp))); |
| 1252 | |
| 1253 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_new_regexp); |
| 1254 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1255 | } |
| 1256 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_mov) { |
| 1257 | /* mov dst(r) src(r) |
| 1258 | |
| 1259 | Copies register src to register dst. |
| 1260 | */ |
| 1261 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1262 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1263 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(46bd610ee0b85185). callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src); |
| 1264 | |
| 1265 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_mov); |
| 1266 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1267 | } |
| 1268 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_eq) { |
| 1269 | /* eq dst(r) src1(r) src2(r) |
| 1270 | |
| 1271 | Checks whether register src1 and register src2 are equal, |
| 1272 | as with the ECMAScript '==' operator, and puts the result |
| 1273 | as a boolean in register dst. |
| 1274 | */ |
| 1275 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1276 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1277 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1278 | if (src1.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && src2.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 1279 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() == src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1280 | else { |
| 1281 | JSValuecxx . . $ QTJSC/JSValue# result = jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(JSValuecxx . . $ QTJSC/JSValue#::equalSlowCasecxx . . $ QTJSC/JSValue#equalSlowCase(658e1865c47113e6).(callFrame, src1, src2)); |
| 1282 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1283 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1284 | } |
| 1285 | |
| 1286 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_eq); |
| 1287 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1288 | } |
| 1289 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_eq_null) { |
| 1290 | /* eq_null dst(r) src(r) |
| 1291 | |
| 1292 | Checks whether register src is null, as with the ECMAScript '!=' |
| 1293 | operator, and puts the result as a boolean in register dst. |
| 1294 | */ |
| 1295 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1296 | JSValuecxx . . $ QTJSC/JSValue# src = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1297 | |
| 1298 | if (src.isUndefinedOrNullcxx . . $ QTJSC/JSValue#isUndefinedOrNull(50ce9a9e25b4a850).()) { |
| 1299 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(true); |
| 1300 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_eq_null); |
| 1301 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1302 | } |
| 1303 | |
| 1304 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(src.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).() && src.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->typeInfocxx . . $ QTJSC/Structure#typeInfo(2e356ef879c79f0c).().masqueradesAsUndefinedcxx . . $ QTJSC/TypeInfo#masqueradesAsUndefined(50ce9a9e25b4a850).()); |
| 1305 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_eq_null); |
| 1306 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1307 | } |
| 1308 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_neq) { |
| 1309 | /* neq dst(r) src1(r) src2(r) |
| 1310 | |
| 1311 | Checks whether register src1 and register src2 are not |
| 1312 | equal, as with the ECMAScript '!=' operator, and puts the |
| 1313 | result as a boolean in register dst. |
| 1314 | */ |
| 1315 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1316 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1317 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1318 | if (src1.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && src2.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 1319 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() != src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1320 | else { |
| 1321 | JSValuecxx . . $ QTJSC/JSValue# result = jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(!JSValuecxx . . $ QTJSC/JSValue#::equalSlowCasecxx . . $ QTJSC/JSValue#equalSlowCase(658e1865c47113e6).(callFrame, src1, src2)); |
| 1322 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1323 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1324 | } |
| 1325 | |
| 1326 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_neq); |
| 1327 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1328 | } |
| 1329 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_neq_null) { |
| 1330 | /* neq_null dst(r) src(r) |
| 1331 | |
| 1332 | Checks whether register src is not null, as with the ECMAScript '!=' |
| 1333 | operator, and puts the result as a boolean in register dst. |
| 1334 | */ |
| 1335 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1336 | JSValuecxx . . $ QTJSC/JSValue# src = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1337 | |
| 1338 | if (src.isUndefinedOrNullcxx . . $ QTJSC/JSValue#isUndefinedOrNull(50ce9a9e25b4a850).()) { |
| 1339 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(false); |
| 1340 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_neq_null); |
| 1341 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1342 | } |
| 1343 | |
| 1344 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(!src.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).() || !asCellcxx . . $ QTJSC/asCell(31485abf284d9c5).(src)->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->typeInfocxx . . $ QTJSC/Structure#typeInfo(2e356ef879c79f0c).().masqueradesAsUndefinedcxx . . $ QTJSC/TypeInfo#masqueradesAsUndefined(50ce9a9e25b4a850).()); |
| 1345 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_neq_null); |
| 1346 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1347 | } |
| 1348 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_stricteq) { |
| 1349 | /* stricteq dst(r) src1(r) src2(r) |
| 1350 | |
| 1351 | Checks whether register src1 and register src2 are strictly |
| 1352 | equal, as with the ECMAScript '===' operator, and puts the |
| 1353 | result as a boolean in register dst. |
| 1354 | */ |
| 1355 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1356 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1357 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1358 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(JSValuecxx . . $ QTJSC/JSValue#::strictEqualcxx . . $ QTJSC/JSValue#strictEqual(658e1865c47113e6).(callFrame, src1, src2)); |
| 1359 | |
| 1360 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_stricteq); |
| 1361 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1362 | } |
| 1363 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_nstricteq) { |
| 1364 | /* nstricteq dst(r) src1(r) src2(r) |
| 1365 | |
| 1366 | Checks whether register src1 and register src2 are not |
| 1367 | strictly equal, as with the ECMAScript '!==' operator, and |
| 1368 | puts the result as a boolean in register dst. |
| 1369 | */ |
| 1370 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1371 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1372 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1373 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(!JSValuecxx . . $ QTJSC/JSValue#::strictEqualcxx . . $ QTJSC/JSValue#strictEqual(658e1865c47113e6).(callFrame, src1, src2)); |
| 1374 | |
| 1375 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_nstricteq); |
| 1376 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1377 | } |
| 1378 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_less) { |
| 1379 | /* less dst(r) src1(r) src2(r) |
| 1380 | |
| 1381 | Checks whether register src1 is less than register src2, as |
| 1382 | with the ECMAScript '<' operator, and puts the result as |
| 1383 | a boolean in register dst. |
| 1384 | */ |
| 1385 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1386 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1387 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1388 | JSValuecxx . . $ QTJSC/JSValue# result = jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(jsLesscxx . . $ QTJSC/jsLess(658e1865c47113e6).(callFrame, src1, src2)); |
| 1389 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1390 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1391 | |
| 1392 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_less); |
| 1393 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1394 | } |
| 1395 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_lesseq) { |
| 1396 | /* lesseq dst(r) src1(r) src2(r) |
| 1397 | |
| 1398 | Checks whether register src1 is less than or equal to |
| 1399 | register src2, as with the ECMAScript '<=' operator, and |
| 1400 | puts the result as a boolean in register dst. |
| 1401 | */ |
| 1402 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1403 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1404 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1405 | JSValuecxx . . $ QTJSC/JSValue# result = jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(jsLessEqcxx . . $ QTJSC/jsLessEq(658e1865c47113e6).(callFrame, src1, src2)); |
| 1406 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1407 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1408 | |
| 1409 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_lesseq); |
| 1410 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1411 | } |
| 1412 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_pre_inc) { |
| 1413 | /* pre_inc srcDst(r) |
| 1414 | |
| 1415 | Converts register srcDst to number, adds one, and puts the result |
| 1416 | back in register srcDst. |
| 1417 | */ |
| 1418 | int srcDst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1419 | JSValuecxx . . $ QTJSC/JSValue# v = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1420 | if (v.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && v.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() < INT_MAXcxx . . $ `<external>/67164224788392828/limits.h:120:9`!) |
| 1421 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, v.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() + 1); |
| 1422 | else { |
| 1423 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(88e66938454912cb).(callFrame, v.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame) + 1); |
| 1424 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1425 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1426 | } |
| 1427 | |
| 1428 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_pre_inc); |
| 1429 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1430 | } |
| 1431 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_pre_dec) { |
| 1432 | /* pre_dec srcDst(r) |
| 1433 | |
| 1434 | Converts register srcDst to number, subtracts one, and puts the result |
| 1435 | back in register srcDst. |
| 1436 | */ |
| 1437 | int srcDst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1438 | JSValuecxx . . $ QTJSC/JSValue# v = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1439 | if (v.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && v.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() > INT_MINcxx . . $ `<external>/67164224788392828/limits.h:118:9`!) |
| 1440 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, v.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() - 1); |
| 1441 | else { |
| 1442 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(88e66938454912cb).(callFrame, v.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame) - 1); |
| 1443 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1444 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1445 | } |
| 1446 | |
| 1447 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_pre_dec); |
| 1448 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1449 | } |
| 1450 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_post_inc) { |
| 1451 | /* post_inc dst(r) srcDst(r) |
| 1452 | |
| 1453 | Converts register srcDst to number. The number itself is |
| 1454 | written to register dst, and the number plus one is written |
| 1455 | back to register srcDst. |
| 1456 | */ |
| 1457 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1458 | int srcDst = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1459 | JSValuecxx . . $ QTJSC/JSValue# v = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1460 | if (v.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && v.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() < INT_MAXcxx . . $ `<external>/67164224788392828/limits.h:120:9`!) { |
| 1461 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, v.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() + 1); |
| 1462 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). v; |
| 1463 | } else { |
| 1464 | JSValuecxx . . $ QTJSC/JSValue# number = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toJSNumbercxx . . $ QTJSC/JSValue#toJSNumber(3edd4bd77d4e7240).(callFrame); |
| 1465 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1466 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(88e66938454912cb).(callFrame, number.uncheckedGetNumbercxx . . $ QTJSC/JSValue#uncheckedGetNumber(21b6c25e127938e2).() + 1); |
| 1467 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). number; |
| 1468 | } |
| 1469 | |
| 1470 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_post_inc); |
| 1471 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1472 | } |
| 1473 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_post_dec) { |
| 1474 | /* post_dec dst(r) srcDst(r) |
| 1475 | |
| 1476 | Converts register srcDst to number. The number itself is |
| 1477 | written to register dst, and the number minus one is written |
| 1478 | back to register srcDst. |
| 1479 | */ |
| 1480 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1481 | int srcDst = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1482 | JSValuecxx . . $ QTJSC/JSValue# v = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1483 | if (v.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && v.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() > INT_MINcxx . . $ `<external>/67164224788392828/limits.h:118:9`!) { |
| 1484 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, v.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() - 1); |
| 1485 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). v; |
| 1486 | } else { |
| 1487 | JSValuecxx . . $ QTJSC/JSValue# number = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toJSNumbercxx . . $ QTJSC/JSValue#toJSNumber(3edd4bd77d4e7240).(callFrame); |
| 1488 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1489 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(srcDst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(88e66938454912cb).(callFrame, number.uncheckedGetNumbercxx . . $ QTJSC/JSValue#uncheckedGetNumber(21b6c25e127938e2).() - 1); |
| 1490 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). number; |
| 1491 | } |
| 1492 | |
| 1493 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_post_dec); |
| 1494 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1495 | } |
| 1496 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_to_jsnumber) { |
| 1497 | /* to_jsnumber dst(r) src(r) |
| 1498 | |
| 1499 | Converts register src to number, and puts the result |
| 1500 | in register dst. |
| 1501 | */ |
| 1502 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1503 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1504 | |
| 1505 | JSValuecxx . . $ QTJSC/JSValue# srcVal = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1506 | |
| 1507 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(srcVal.isNumber())) |
| 1508 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(46bd610ee0b85185). callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src); |
| 1509 | else { |
| 1510 | JSValuecxx . . $ QTJSC/JSValue# result = srcVal.toJSNumbercxx . . $ QTJSC/JSValue#toJSNumber(3edd4bd77d4e7240).(callFrame); |
| 1511 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1512 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1513 | } |
| 1514 | |
| 1515 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_to_jsnumber); |
| 1516 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1517 | } |
| 1518 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_negate) { |
| 1519 | /* negate dst(r) src(r) |
| 1520 | |
| 1521 | Converts register src to number, negates it, and puts the |
| 1522 | result in register dst. |
| 1523 | */ |
| 1524 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1525 | JSValuecxx . . $ QTJSC/JSValue# src = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1526 | if (src.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && src.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()) |
| 1527 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, -src.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1528 | else { |
| 1529 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(88e66938454912cb).(callFrame, -src.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame)); |
| 1530 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1531 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1532 | } |
| 1533 | |
| 1534 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_negate); |
| 1535 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1536 | } |
| 1537 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_add) { |
| 1538 | /* add dst(r) src1(r) src2(r) |
| 1539 | |
| 1540 | Adds register src1 and register src2, and puts the result |
| 1541 | in register dst. (JS add may be string concatenation or |
| 1542 | numeric add, depending on the types of the operands.) |
| 1543 | */ |
| 1544 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1545 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1546 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1547 | if (src1.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && src2.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && !(src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() | (src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() & 0xc0000000))) // no overflow |
| 1548 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() + src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1549 | else { |
| 1550 | JSValuecxx . . $ QTJSC/JSValue# result = jsAddcxx . . $ QTJSC/jsAdd(b8fa476a5be1c821).(callFrame, src1, src2); |
| 1551 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1552 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1553 | } |
| 1554 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_add); |
| 1555 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1556 | } |
| 1557 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_mul) { |
| 1558 | /* mul dst(r) src1(r) src2(r) |
| 1559 | |
| 1560 | Multiplies register src1 and register src2 (converted to |
| 1561 | numbers), and puts the product in register dst. |
| 1562 | */ |
| 1563 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1564 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1565 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1566 | if (src1.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && src2.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && !(src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() | src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() >> 15)) // no overflow |
| 1567 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() * src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1568 | else { |
| 1569 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(88e66938454912cb).(callFrame, src1.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame) * src2.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame)); |
| 1570 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1571 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1572 | } |
| 1573 | |
| 1574 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_mul); |
| 1575 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1576 | } |
| 1577 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_div) { |
| 1578 | /* div dst(r) dividend(r) divisor(r) |
| 1579 | |
| 1580 | Divides register dividend (converted to number) by the |
| 1581 | register divisor (converted to number), and puts the |
| 1582 | quotient in register dst. |
| 1583 | */ |
| 1584 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1585 | JSValuecxx . . $ QTJSC/JSValue# dividend = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1586 | JSValuecxx . . $ QTJSC/JSValue# divisor = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1587 | |
| 1588 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(88e66938454912cb).(callFrame, dividend.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame) / divisor.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame)); |
| 1589 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1590 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1591 | |
| 1592 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_div); |
| 1593 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1594 | } |
| 1595 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_mod) { |
| 1596 | /* mod dst(r) dividend(r) divisor(r) |
| 1597 | |
| 1598 | Divides register dividend (converted to number) by |
| 1599 | register divisor (converted to number), and puts the |
| 1600 | remainder in register dst. |
| 1601 | */ |
| 1602 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1603 | JSValuecxx . . $ QTJSC/JSValue# dividend = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1604 | JSValuecxx . . $ QTJSC/JSValue# divisor = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1605 | |
| 1606 | if (dividend.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && divisor.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && divisor.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() != 0) { |
| 1607 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, dividend.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() % divisor.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1608 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(result); |
| 1609 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1610 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_mod); |
| 1611 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1612 | } |
| 1613 | |
| 1614 | // Conversion to double must happen outside the call to fmod since the |
| 1615 | // order of argument evaluation is not guaranteed. |
| 1616 | double d1 = dividend.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame); |
| 1617 | double d2 = divisor.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame); |
| 1618 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(88e66938454912cb).(callFrame, fmodcxx . . $ fmod(d8e7e0733fa41c87).(d1, d2)); |
| 1619 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1620 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1621 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_mod); |
| 1622 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1623 | } |
| 1624 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_sub) { |
| 1625 | /* sub dst(r) src1(r) src2(r) |
| 1626 | |
| 1627 | Subtracts register src2 (converted to number) from register |
| 1628 | src1 (converted to number), and puts the difference in |
| 1629 | register dst. |
| 1630 | */ |
| 1631 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1632 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1633 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1634 | if (src1.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && src2.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && !(src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() | (src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() & 0xc0000000))) // no overflow |
| 1635 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() - src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1636 | else { |
| 1637 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(88e66938454912cb).(callFrame, src1.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame) - src2.toNumbercxx . . $ QTJSC/JSValue#toNumber(1fd034e372fd1279).(callFrame)); |
| 1638 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1639 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1640 | } |
| 1641 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_sub); |
| 1642 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1643 | } |
| 1644 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_lshift) { |
| 1645 | /* lshift dst(r) val(r) shift(r) |
| 1646 | |
| 1647 | Performs left shift of register val (converted to int32) by |
| 1648 | register shift (converted to uint32), and puts the result |
| 1649 | in register dst. |
| 1650 | */ |
| 1651 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1652 | JSValuecxx . . $ QTJSC/JSValue# val = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1653 | JSValuecxx . . $ QTJSC/JSValue# shift = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1654 | |
| 1655 | if (val.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && shift.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 1656 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, val.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() << (shift.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() & 0x1f)); |
| 1657 | else { |
| 1658 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, (val.toInt32cxx . . $ QTJSC/JSValue#toInt32(895d7d37bda6b54c).(callFrame)) << (shift.toUInt32cxx . . $ QTJSC/JSValue#toUInt32(fedcfd78cee4cc89).(callFrame) & 0x1f)); |
| 1659 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1660 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1661 | } |
| 1662 | |
| 1663 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_lshift); |
| 1664 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1665 | } |
| 1666 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_rshift) { |
| 1667 | /* rshift dst(r) val(r) shift(r) |
| 1668 | |
| 1669 | Performs arithmetic right shift of register val (converted |
| 1670 | to int32) by register shift (converted to |
| 1671 | uint32), and puts the result in register dst. |
| 1672 | */ |
| 1673 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1674 | JSValuecxx . . $ QTJSC/JSValue# val = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1675 | JSValuecxx . . $ QTJSC/JSValue# shift = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1676 | |
| 1677 | if (val.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && shift.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 1678 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, val.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() >> (shift.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() & 0x1f)); |
| 1679 | else { |
| 1680 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, (val.toInt32cxx . . $ QTJSC/JSValue#toInt32(895d7d37bda6b54c).(callFrame)) >> (shift.toUInt32cxx . . $ QTJSC/JSValue#toUInt32(fedcfd78cee4cc89).(callFrame) & 0x1f)); |
| 1681 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1682 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1683 | } |
| 1684 | |
| 1685 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_rshift); |
| 1686 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1687 | } |
| 1688 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_urshift) { |
| 1689 | /* rshift dst(r) val(r) shift(r) |
| 1690 | |
| 1691 | Performs logical right shift of register val (converted |
| 1692 | to uint32) by register shift (converted to |
| 1693 | uint32), and puts the result in register dst. |
| 1694 | */ |
| 1695 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1696 | JSValuecxx . . $ QTJSC/JSValue# val = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1697 | JSValuecxx . . $ QTJSC/JSValue# shift = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1698 | if (val.isUInt32cxx . . $ QTJSC/JSValue#isUInt32(50ce9a9e25b4a850).() && shift.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 1699 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, val.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() >> (shift.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() & 0x1f)); |
| 1700 | else { |
| 1701 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(bf7e02f8c8245e31).(callFrame, (val.toUInt32cxx . . $ QTJSC/JSValue#toUInt32(fedcfd78cee4cc89).(callFrame)) >> (shift.toUInt32cxx . . $ QTJSC/JSValue#toUInt32(fedcfd78cee4cc89).(callFrame) & 0x1f)); |
| 1702 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1703 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1704 | } |
| 1705 | |
| 1706 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_urshift); |
| 1707 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1708 | } |
| 1709 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_bitand) { |
| 1710 | /* bitand dst(r) src1(r) src2(r) |
| 1711 | |
| 1712 | Computes bitwise AND of register src1 (converted to int32) |
| 1713 | and register src2 (converted to int32), and puts the result |
| 1714 | in register dst. |
| 1715 | */ |
| 1716 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1717 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1718 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1719 | if (src1.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && src2.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 1720 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() & src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1721 | else { |
| 1722 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, src1.toInt32cxx . . $ QTJSC/JSValue#toInt32(895d7d37bda6b54c).(callFrame) & src2.toInt32cxx . . $ QTJSC/JSValue#toInt32(895d7d37bda6b54c).(callFrame)); |
| 1723 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1724 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1725 | } |
| 1726 | |
| 1727 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_bitand); |
| 1728 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1729 | } |
| 1730 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_bitxor) { |
| 1731 | /* bitxor dst(r) src1(r) src2(r) |
| 1732 | |
| 1733 | Computes bitwise XOR of register src1 (converted to int32) |
| 1734 | and register src2 (converted to int32), and puts the result |
| 1735 | in register dst. |
| 1736 | */ |
| 1737 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1738 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1739 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1740 | if (src1.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && src2.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 1741 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() ^ src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1742 | else { |
| 1743 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, src1.toInt32cxx . . $ QTJSC/JSValue#toInt32(895d7d37bda6b54c).(callFrame) ^ src2.toInt32cxx . . $ QTJSC/JSValue#toInt32(895d7d37bda6b54c).(callFrame)); |
| 1744 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1745 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1746 | } |
| 1747 | |
| 1748 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_bitxor); |
| 1749 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1750 | } |
| 1751 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_bitor) { |
| 1752 | /* bitor dst(r) src1(r) src2(r) |
| 1753 | |
| 1754 | Computes bitwise OR of register src1 (converted to int32) |
| 1755 | and register src2 (converted to int32), and puts the |
| 1756 | result in register dst. |
| 1757 | */ |
| 1758 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1759 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1760 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1761 | if (src1.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).() && src2.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 1762 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, src1.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).() | src2.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1763 | else { |
| 1764 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, src1.toInt32cxx . . $ QTJSC/JSValue#toInt32(895d7d37bda6b54c).(callFrame) | src2.toInt32cxx . . $ QTJSC/JSValue#toInt32(895d7d37bda6b54c).(callFrame)); |
| 1765 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1766 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1767 | } |
| 1768 | |
| 1769 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_bitor); |
| 1770 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1771 | } |
| 1772 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_bitnot) { |
| 1773 | /* bitnot dst(r) src(r) |
| 1774 | |
| 1775 | Computes bitwise NOT of register src1 (converted to int32), |
| 1776 | and puts the result in register dst. |
| 1777 | */ |
| 1778 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1779 | JSValuecxx . . $ QTJSC/JSValue# src = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1780 | if (src.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 1781 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, ~src.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 1782 | else { |
| 1783 | JSValuecxx . . $ QTJSC/JSValue# result = jsNumbercxx . . $ QTJSC/jsNumber(1201607e1a2ad33d).(callFrame, ~src.toInt32cxx . . $ QTJSC/JSValue#toInt32(895d7d37bda6b54c).(callFrame)); |
| 1784 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1785 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1786 | } |
| 1787 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_bitnot); |
| 1788 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1789 | } |
| 1790 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_not) { |
| 1791 | /* not dst(r) src(r) |
| 1792 | |
| 1793 | Computes logical NOT of register src (converted to |
| 1794 | boolean), and puts the result in register dst. |
| 1795 | */ |
| 1796 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1797 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1798 | JSValuecxx . . $ QTJSC/JSValue# result = jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(!callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toBooleancxx . . $ QTJSC/JSValue#toBoolean(9608304f86fd7dc).(callFrame)); |
| 1799 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1800 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 1801 | |
| 1802 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_not); |
| 1803 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1804 | } |
| 1805 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_instanceof) { |
| 1806 | /* instanceof dst(r) value(r) constructor(r) constructorProto(r) |
| 1807 | |
| 1808 | Tests whether register value is an instance of register |
| 1809 | constructor, and puts the boolean result in register |
| 1810 | dst. Register constructorProto must contain the "prototype" |
| 1811 | property (not the actual prototype) of the object in |
| 1812 | register constructor. This lookup is separated so that |
| 1813 | polymorphic inline caching can apply. |
| 1814 | |
| 1815 | Raises an exception if register constructor is not an |
| 1816 | object. |
| 1817 | */ |
| 1818 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1819 | int value = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1820 | int base = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1821 | int baseProto = vPC[4].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1822 | |
| 1823 | JSValuecxx . . $ QTJSC/JSValue# baseVal = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1824 | |
| 1825 | if (isInvalidParamForInstanceOfcxx . . $ QTJSC/isInvalidParamForInstanceOf(82a620c58632b595).(callFrame, callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(), vPC, baseVal, exceptionValue)) |
| 1826 | goto vm_throw; |
| 1827 | |
| 1828 | bool result = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(baseVal)->hasInstancecxx . . $ QTJSC/JSObject#hasInstance(658e1865c47113e6).(callFrame, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(), callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(baseProto).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 1829 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1830 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(result); |
| 1831 | |
| 1832 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_instanceof); |
| 1833 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1834 | } |
| 1835 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_typeof) { |
| 1836 | /* typeof dst(r) src(r) |
| 1837 | |
| 1838 | Determines the type string for src according to ECMAScript |
| 1839 | rules, and puts the result in register dst. |
| 1840 | */ |
| 1841 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1842 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1843 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(jsTypeStringForValuecxx . . $ QTJSC/jsTypeStringForValue(3f1194ef29991aa4).(callFrame, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).())); |
| 1844 | |
| 1845 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_typeof); |
| 1846 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1847 | } |
| 1848 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_is_undefined) { |
| 1849 | /* is_undefined dst(r) src(r) |
| 1850 | |
| 1851 | Determines whether the type string for src according to |
| 1852 | the ECMAScript rules is "undefined", and puts the result |
| 1853 | in register dst. |
| 1854 | */ |
| 1855 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1856 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1857 | JSValuecxx . . $ QTJSC/JSValue# v = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1858 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(v.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).() ? v.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->typeInfocxx . . $ QTJSC/Structure#typeInfo(2e356ef879c79f0c).().masqueradesAsUndefinedcxx . . $ QTJSC/TypeInfo#masqueradesAsUndefined(50ce9a9e25b4a850).() : v.isUndefinedcxx . . $ QTJSC/JSValue#isUndefined(50ce9a9e25b4a850).()); |
| 1859 | |
| 1860 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_is_undefined); |
| 1861 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1862 | } |
| 1863 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_is_boolean) { |
| 1864 | /* is_boolean dst(r) src(r) |
| 1865 | |
| 1866 | Determines whether the type string for src according to |
| 1867 | the ECMAScript rules is "boolean", and puts the result |
| 1868 | in register dst. |
| 1869 | */ |
| 1870 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1871 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1872 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().isBooleancxx . . $ QTJSC/JSValue#isBoolean(50ce9a9e25b4a850).()); |
| 1873 | |
| 1874 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_is_boolean); |
| 1875 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1876 | } |
| 1877 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_is_number) { |
| 1878 | /* is_number dst(r) src(r) |
| 1879 | |
| 1880 | Determines whether the type string for src according to |
| 1881 | the ECMAScript rules is "number", and puts the result |
| 1882 | in register dst. |
| 1883 | */ |
| 1884 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1885 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1886 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().isNumbercxx . . $ QTJSC/JSValue#isNumber(50ce9a9e25b4a850).()); |
| 1887 | |
| 1888 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_is_number); |
| 1889 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1890 | } |
| 1891 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_is_string) { |
| 1892 | /* is_string dst(r) src(r) |
| 1893 | |
| 1894 | Determines whether the type string for src according to |
| 1895 | the ECMAScript rules is "string", and puts the result |
| 1896 | in register dst. |
| 1897 | */ |
| 1898 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1899 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1900 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().isStringcxx . . $ QTJSC/JSValue#isString(50ce9a9e25b4a850).()); |
| 1901 | |
| 1902 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_is_string); |
| 1903 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1904 | } |
| 1905 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_is_object) { |
| 1906 | /* is_object dst(r) src(r) |
| 1907 | |
| 1908 | Determines whether the type string for src according to |
| 1909 | the ECMAScript rules is "object", and puts the result |
| 1910 | in register dst. |
| 1911 | */ |
| 1912 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1913 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1914 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(jsIsObjectTypecxx . . $ QTJSC/jsIsObjectType(a6f765323ba532ee).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).())); |
| 1915 | |
| 1916 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_is_object); |
| 1917 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1918 | } |
| 1919 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_is_function) { |
| 1920 | /* is_function dst(r) src(r) |
| 1921 | |
| 1922 | Determines whether the type string for src according to |
| 1923 | the ECMAScript rules is "function", and puts the result |
| 1924 | in register dst. |
| 1925 | */ |
| 1926 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1927 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1928 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(jsIsFunctionTypecxx . . $ QTJSC/jsIsFunctionType(a6f765323ba532ee).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).())); |
| 1929 | |
| 1930 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_is_function); |
| 1931 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1932 | } |
| 1933 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_in) { |
| 1934 | /* in dst(r) property(r) base(r) |
| 1935 | |
| 1936 | Tests whether register base has a property named register |
| 1937 | property, and puts the boolean result in register dst. |
| 1938 | |
| 1939 | Raises an exception if register constructor is not an |
| 1940 | object. |
| 1941 | */ |
| 1942 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1943 | int property = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1944 | int base = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 1945 | |
| 1946 | JSValuecxx . . $ QTJSC/JSValue# baseVal = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1947 | if (isInvalidParamForIncxx . . $ QTJSC/isInvalidParamForIn(82a620c58632b595).(callFrame, callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(), vPC, baseVal, exceptionValue)) |
| 1948 | goto vm_throw; |
| 1949 | |
| 1950 | JSObjectcxx . . $ QTJSC/JSObject#* baseObj = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(baseVal); |
| 1951 | |
| 1952 | JSValuecxx . . $ QTJSC/JSValue# propName = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(property).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 1953 | |
| 1954 | uint32_tcxx . . $ uint32_t# i; |
| 1955 | if (propName.getUInt32cxx . . $ QTJSC/JSValue#getUInt32(186fade19594183d).(i)) |
| 1956 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(baseObj->hasPropertycxx . . $ QTJSC/JSObject#hasProperty(7acd47e03afc206f).(callFrame, i)); |
| 1957 | else { |
| 1958 | Identifiercxx . . $ QTJSC/Identifier# propertycxx . . $ QTJSC/Identifier#Identifier(7710b6c66c0f9b39).(callFrame, propName.toStringcxx . . $ QTJSC/JSValue#toString(9c94f5abb1995042).(callFrame)); |
| 1959 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 1960 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(baseObj->hasPropertycxx . . $ QTJSC/JSObject#hasProperty(19361922c79e8980).(callFrame, property)); |
| 1961 | } |
| 1962 | |
| 1963 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_in); |
| 1964 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1965 | } |
| 1966 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_resolve) { |
| 1967 | /* resolve dst(r) property(id) |
| 1968 | |
| 1969 | Looks up the property named by identifier property in the |
| 1970 | scope chain, and writes the resulting value to register |
| 1971 | dst. If the property is not found, raises an exception. |
| 1972 | */ |
| 1973 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!resolve(callFrame, vPC, exceptionValue))) |
| 1974 | goto vm_throw; |
| 1975 | |
| 1976 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_resolve); |
| 1977 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1978 | } |
| 1979 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_resolve_skip) { |
| 1980 | /* resolve_skip dst(r) property(id) skip(n) |
| 1981 | |
| 1982 | Looks up the property named by identifier property in the |
| 1983 | scope chain skipping the top 'skip' levels, and writes the resulting |
| 1984 | value to register dst. If the property is not found, raises an exception. |
| 1985 | */ |
| 1986 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!resolveSkip(callFrame, vPC, exceptionValue))) |
| 1987 | goto vm_throw; |
| 1988 | |
| 1989 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_resolve_skip); |
| 1990 | |
| 1991 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 1992 | } |
| 1993 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_resolve_global) { |
| 1994 | /* resolve_skip dst(r) globalObject(c) property(id) structure(sID) offset(n) |
| 1995 | |
| 1996 | Performs a dynamic property lookup for the given property, on the provided |
| 1997 | global object. If structure matches the Structure of the global then perform |
| 1998 | a fast lookup using the case offset, otherwise fall back to a full resolve and |
| 1999 | cache the new structure and offset |
| 2000 | */ |
| 2001 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!resolveGlobal(callFrame, vPC, exceptionValue))) |
| 2002 | goto vm_throw; |
| 2003 | |
| 2004 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_resolve_global); |
| 2005 | |
| 2006 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2007 | } |
| 2008 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_global_var) { |
| 2009 | /* get_global_var dst(r) globalObject(c) index(n) |
| 2010 | |
| 2011 | Gets the global var at global slot index and places it in register dst. |
| 2012 | */ |
| 2013 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2014 | JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#* scope = static_cast<JSGlobalObject*>(vPC[2].u.jsCell); |
| 2015 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(scope->isGlobalObject()); |
| 2016 | int index = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2017 | |
| 2018 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) = scope->registerAtcxx . . $ QTJSC/JSVariableObject#registerAt(a26ae29072816692).(index); |
| 2019 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_global_var); |
| 2020 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2021 | } |
| 2022 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_put_global_var) { |
| 2023 | /* put_global_var globalObject(c) index(n) value(r) |
| 2024 | |
| 2025 | Puts value into global slot index. |
| 2026 | */ |
| 2027 | JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#* scope = static_cast<JSGlobalObject*>(vPC[1].u.jsCell); |
| 2028 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(scope->isGlobalObject()); |
| 2029 | int index = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2030 | int value = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2031 | |
| 2032 | scope->registerAtcxx . . $ QTJSC/JSVariableObject#registerAt(a26ae29072816692).(index) = JSValuecxx . . $ QTJSC/JSValue#(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 2033 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_put_global_var); |
| 2034 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2035 | } |
| 2036 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_scoped_var) { |
| 2037 | /* get_scoped_var dst(r) index(n) skip(n) |
| 2038 | |
| 2039 | Loads the contents of the index-th local from the scope skip nodes from |
| 2040 | the top of the scope chain, and places it in register dst |
| 2041 | */ |
| 2042 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2043 | int index = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2044 | int skip = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand. + callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->needsFullScopeChaincxx . . $ QTJSC/CodeBlock#needsFullScopeChain(50ce9a9e25b4a850).(); |
| 2045 | |
| 2046 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 2047 | ScopeChainIteratorcxx . . $ QTJSC/ScopeChainIterator# iter = scopeChain->begincxx . . $ QTJSC/ScopeChainNode#begin(96529fad815ce745).(); |
| 2048 | ScopeChainIteratorcxx . . $ QTJSC/ScopeChainIterator# end = scopeChain->endcxx . . $ QTJSC/ScopeChainNode#end(96529fad815ce745).(); |
| 2049 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(iter != end); |
| 2050 | while (skip--) { |
| 2051 | ++cxx . . $ QTJSC/ScopeChainIterator#operator++(fdd019326dfb3ff8).iter; |
| 2052 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(iter != end); |
| 2053 | } |
| 2054 | |
| 2055 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!((*iter)->isVariableObject()); |
| 2056 | JSVariableObjectcxx . . $ QTJSC/JSVariableObject#* scope = static_cast<JSVariableObject*>(*iter); |
| 2057 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(46bd610ee0b85185). scope->registerAtcxx . . $ QTJSC/JSVariableObject#registerAt(a26ae29072816692).(index); |
| 2058 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_scoped_var); |
| 2059 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2060 | } |
| 2061 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_put_scoped_var) { |
| 2062 | /* put_scoped_var index(n) skip(n) value(r) |
| 2063 | |
| 2064 | */ |
| 2065 | int index = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2066 | int skip = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand. + callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->needsFullScopeChaincxx . . $ QTJSC/CodeBlock#needsFullScopeChain(50ce9a9e25b4a850).(); |
| 2067 | int value = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2068 | |
| 2069 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 2070 | ScopeChainIteratorcxx . . $ QTJSC/ScopeChainIterator# iter = scopeChain->begincxx . . $ QTJSC/ScopeChainNode#begin(96529fad815ce745).(); |
| 2071 | ScopeChainIteratorcxx . . $ QTJSC/ScopeChainIterator# end = scopeChain->endcxx . . $ QTJSC/ScopeChainNode#end(96529fad815ce745).(); |
| 2072 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(iter != end); |
| 2073 | while (skip--) { |
| 2074 | ++cxx . . $ QTJSC/ScopeChainIterator#operator++(fdd019326dfb3ff8).iter; |
| 2075 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(iter != end); |
| 2076 | } |
| 2077 | |
| 2078 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!((*iter)->isVariableObject()); |
| 2079 | JSVariableObjectcxx . . $ QTJSC/JSVariableObject#* scope = static_cast<JSVariableObject*>(*iter); |
| 2080 | scope->registerAtcxx . . $ QTJSC/JSVariableObject#registerAt(a26ae29072816692).(index) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 2081 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_put_scoped_var); |
| 2082 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2083 | } |
| 2084 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_resolve_base) { |
| 2085 | /* resolve_base dst(r) property(id) |
| 2086 | |
| 2087 | Searches the scope chain for an object containing |
| 2088 | identifier property, and if one is found, writes it to |
| 2089 | register dst. If none is found, the outermost scope (which |
| 2090 | will be the global object) is stored in register dst. |
| 2091 | */ |
| 2092 | resolveBasecxx . . $ QTJSC/Interpreter#resolveBase(517deae919ca8335).(callFrame, vPC); |
| 2093 | |
| 2094 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_resolve_base); |
| 2095 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2096 | } |
| 2097 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_resolve_with_base) { |
| 2098 | /* resolve_with_base baseDst(r) propDst(r) property(id) |
| 2099 | |
| 2100 | Searches the scope chain for an object containing |
| 2101 | identifier property, and if one is found, writes it to |
| 2102 | register srcDst, and the retrieved property value to register |
| 2103 | propDst. If the property is not found, raises an exception. |
| 2104 | |
| 2105 | This is more efficient than doing resolve_base followed by |
| 2106 | resolve, or resolve_base followed by get_by_id, as it |
| 2107 | avoids duplicate hash lookups. |
| 2108 | */ |
| 2109 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!resolveBaseAndProperty(callFrame, vPC, exceptionValue))) |
| 2110 | goto vm_throw; |
| 2111 | |
| 2112 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_resolve_with_base); |
| 2113 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2114 | } |
| 2115 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_by_id) { |
| 2116 | /* get_by_id dst(r) base(r) property(id) structure(sID) nop(n) nop(n) nop(n) |
| 2117 | |
| 2118 | Generic property access: Gets the property named by identifier |
| 2119 | property from the value base, and puts the result in register dst. |
| 2120 | */ |
| 2121 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2122 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2123 | int property = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2124 | |
| 2125 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 2126 | Identifiercxx . . $ QTJSC/Identifier#& ident = codeBlock->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 2127 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2128 | PropertySlotcxx . . $ QTJSC/PropertySlot# slotcxx . . $ QTJSC/PropertySlot#PropertySlot(5c2ac18db087b3e6).(baseValue); |
| 2129 | JSValuecxx . . $ QTJSC/JSValue# result = baseValue.getcxx . . $ QTJSC/JSValue#get(28aeb44443172ea7).(callFrame, ident, slot); |
| 2130 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2131 | |
| 2132 | tryCacheGetByIDcxx . . $ QTJSC/Interpreter#tryCacheGetByID(23395d0f6397311).(callFrame, codeBlock, vPC, baseValue, ident, slot); |
| 2133 | |
| 2134 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 2135 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_by_id); |
| 2136 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2137 | } |
| 2138 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_by_id_self) { |
| 2139 | /* op_get_by_id_self dst(r) base(r) property(id) structure(sID) offset(n) nop(n) nop(n) |
| 2140 | |
| 2141 | Cached property access: Attempts to get a cached property from the |
| 2142 | value base. If the cache misses, op_get_by_id_self reverts to |
| 2143 | op_get_by_id. |
| 2144 | */ |
| 2145 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2146 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2147 | |
| 2148 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(baseValue.isCell())) { |
| 2149 | JSCellcxx . . $ QTJSC/JSCell#* baseCell = asCellcxx . . $ QTJSC/asCell(31485abf284d9c5).(baseValue); |
| 2150 | Structurecxx . . $ QTJSC/Structure#* structure = vPC[4].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.; |
| 2151 | |
| 2152 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(baseCell->structure() == structure)) { |
| 2153 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(baseCell->isObject()); |
| 2154 | JSObjectcxx . . $ QTJSC/JSObject#* baseObject = asObjectcxx . . $ QTJSC/asObject(57571c3d51f0c406).(baseCell); |
| 2155 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2156 | int offset = vPC[5].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2157 | |
| 2158 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(baseObject->get(callFrame, callFrame->codeBlock()->identifier(vPC[3].u.operand)) == baseObject->getDirectOffset(offset)); |
| 2159 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(baseObject->getDirectOffsetcxx . . $ QTJSC/JSObject#getDirectOffset(e9dec2041b7a6b55).(offset)); |
| 2160 | |
| 2161 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_by_id_self); |
| 2162 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2163 | } |
| 2164 | } |
| 2165 | |
| 2166 | uncacheGetByIDcxx . . $ QTJSC/Interpreter#uncacheGetByID(dd36cf60fd3c15f9).(callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(), vPC); |
| 2167 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2168 | } |
| 2169 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_by_id_proto) { |
| 2170 | /* op_get_by_id_proto dst(r) base(r) property(id) structure(sID) prototypeStructure(sID) offset(n) nop(n) |
| 2171 | |
| 2172 | Cached property access: Attempts to get a cached property from the |
| 2173 | value base's prototype. If the cache misses, op_get_by_id_proto |
| 2174 | reverts to op_get_by_id. |
| 2175 | */ |
| 2176 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2177 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2178 | |
| 2179 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(baseValue.isCell())) { |
| 2180 | JSCellcxx . . $ QTJSC/JSCell#* baseCell = asCellcxx . . $ QTJSC/asCell(31485abf284d9c5).(baseValue); |
| 2181 | Structurecxx . . $ QTJSC/Structure#* structure = vPC[4].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.; |
| 2182 | |
| 2183 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(baseCell->structure() == structure)) { |
| 2184 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(structure->prototypeForLookup(callFrame).isObject()); |
| 2185 | JSObjectcxx . . $ QTJSC/JSObject#* protoObject = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(structure->prototypeForLookupcxx . . $ QTJSC/Structure#prototypeForLookup(3edd4bd77d4e7240).(callFrame)); |
| 2186 | Structurecxx . . $ QTJSC/Structure#* prototypeStructure = vPC[5].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.; |
| 2187 | |
| 2188 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(protoObject->structure() == prototypeStructure)) { |
| 2189 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2190 | int offset = vPC[6].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2191 | |
| 2192 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(protoObject->get(callFrame, callFrame->codeBlock()->identifier(vPC[3].u.operand)) == protoObject->getDirectOffset(offset)); |
| 2193 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(baseValue.get(callFrame, callFrame->codeBlock()->identifier(vPC[3].u.operand)) == protoObject->getDirectOffset(offset)); |
| 2194 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(protoObject->getDirectOffsetcxx . . $ QTJSC/JSObject#getDirectOffset(e9dec2041b7a6b55).(offset)); |
| 2195 | |
| 2196 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_by_id_proto); |
| 2197 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2198 | } |
| 2199 | } |
| 2200 | } |
| 2201 | |
| 2202 | uncacheGetByIDcxx . . $ QTJSC/Interpreter#uncacheGetByID(dd36cf60fd3c15f9).(callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(), vPC); |
| 2203 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2204 | } |
| 2205 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_by_id_self_list) { |
| 2206 | // Polymorphic self access caching currently only supported when JITting. |
| 2207 | ASSERT_NOT_REACHEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:185:9`!(); |
| 2208 | // This case of the switch must not be empty, else (op_get_by_id_self_list == op_get_by_id_chain)! |
| 2209 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_by_id_self_list); |
| 2210 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2211 | } |
| 2212 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_by_id_proto_list) { |
| 2213 | // Polymorphic prototype access caching currently only supported when JITting. |
| 2214 | ASSERT_NOT_REACHEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:185:9`!(); |
| 2215 | // This case of the switch must not be empty, else (op_get_by_id_proto_list == op_get_by_id_chain)! |
| 2216 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_by_id_proto_list); |
| 2217 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2218 | } |
| 2219 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_by_id_chain) { |
| 2220 | /* op_get_by_id_chain dst(r) base(r) property(id) structure(sID) structureChain(chain) count(n) offset(n) |
| 2221 | |
| 2222 | Cached property access: Attempts to get a cached property from the |
| 2223 | value base's prototype chain. If the cache misses, op_get_by_id_chain |
| 2224 | reverts to op_get_by_id. |
| 2225 | */ |
| 2226 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2227 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2228 | |
| 2229 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(baseValue.isCell())) { |
| 2230 | JSCellcxx . . $ QTJSC/JSCell#* baseCell = asCellcxx . . $ QTJSC/asCell(31485abf284d9c5).(baseValue); |
| 2231 | Structurecxx . . $ QTJSC/Structure#* structure = vPC[4].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.; |
| 2232 | |
| 2233 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(baseCell->structure() == structure)) { |
| 2234 | RefPtrcxx . . $ RefPtr#<Structurecxx . . $ QTJSC/Structure#>* it = vPC[5].ucxx . . $ QTJSC/Instruction#u..structureChaincxx . . $ QTJSC/Instruction#$anonymous_type_1#structureChain.->headcxx . . $ QTJSC/StructureChain#head(f47b224c09a68d3a).(); |
| 2235 | size_t count = vPC[6].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2236 | RefPtrcxx . . $ RefPtr#<Structurecxx . . $ QTJSC/Structure#>* end = it + count; |
| 2237 | |
| 2238 | while (true) { |
| 2239 | JSObjectcxx . . $ QTJSC/JSObject#* baseObject = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(baseCell->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->prototypeForLookupcxx . . $ QTJSC/Structure#prototypeForLookup(3edd4bd77d4e7240).(callFrame)); |
| 2240 | |
| 2241 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(baseObject->structure() != (*it).get())) |
| 2242 | break; |
| 2243 | |
| 2244 | if (++it ==cxx . . $ QTJSC/`operator==`(8208a731c2dadbc2). end) { |
| 2245 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2246 | int offset = vPC[7].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2247 | |
| 2248 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(baseObject->get(callFrame, callFrame->codeBlock()->identifier(vPC[3].u.operand)) == baseObject->getDirectOffset(offset)); |
| 2249 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(baseValue.get(callFrame, callFrame->codeBlock()->identifier(vPC[3].u.operand)) == baseObject->getDirectOffset(offset)); |
| 2250 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(baseObject->getDirectOffsetcxx . . $ QTJSC/JSObject#getDirectOffset(e9dec2041b7a6b55).(offset)); |
| 2251 | |
| 2252 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_by_id_chain); |
| 2253 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2254 | } |
| 2255 | |
| 2256 | // Update baseCell, so that next time around the loop we'll pick up the prototype's prototype. |
| 2257 | baseCell = baseObject; |
| 2258 | } |
| 2259 | } |
| 2260 | } |
| 2261 | |
| 2262 | uncacheGetByIDcxx . . $ QTJSC/Interpreter#uncacheGetByID(dd36cf60fd3c15f9).(callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(), vPC); |
| 2263 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2264 | } |
| 2265 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_by_id_generic) { |
| 2266 | /* op_get_by_id_generic dst(r) base(r) property(id) nop(sID) nop(n) nop(n) nop(n) |
| 2267 | |
| 2268 | Generic property access: Gets the property named by identifier |
| 2269 | property from the value base, and puts the result in register dst. |
| 2270 | */ |
| 2271 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2272 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2273 | int property = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2274 | |
| 2275 | Identifiercxx . . $ QTJSC/Identifier#& ident = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 2276 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2277 | PropertySlotcxx . . $ QTJSC/PropertySlot# slotcxx . . $ QTJSC/PropertySlot#PropertySlot(5c2ac18db087b3e6).(baseValue); |
| 2278 | JSValuecxx . . $ QTJSC/JSValue# result = baseValue.getcxx . . $ QTJSC/JSValue#get(28aeb44443172ea7).(callFrame, ident, slot); |
| 2279 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2280 | |
| 2281 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 2282 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_by_id_generic); |
| 2283 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2284 | } |
| 2285 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_array_length) { |
| 2286 | /* op_get_array_length dst(r) base(r) property(id) nop(sID) nop(n) nop(n) nop(n) |
| 2287 | |
| 2288 | Cached property access: Gets the length of the array in register base, |
| 2289 | and puts the result in register dst. If register base does not hold |
| 2290 | an array, op_get_array_length reverts to op_get_by_id. |
| 2291 | */ |
| 2292 | |
| 2293 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2294 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2295 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(isJSArray(globalData, baseValue))) { |
| 2296 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2297 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(bf7e02f8c8245e31).(callFrame, asArraycxx . . $ QTJSC/asArray(20d153178ba9b269).(baseValue)->lengthcxx . . $ QTJSC/JSArray#length(ddd8539a2fcdd4ce).()); |
| 2298 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_array_length); |
| 2299 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2300 | } |
| 2301 | |
| 2302 | uncacheGetByIDcxx . . $ QTJSC/Interpreter#uncacheGetByID(dd36cf60fd3c15f9).(callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(), vPC); |
| 2303 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2304 | } |
| 2305 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_string_length) { |
| 2306 | /* op_get_string_length dst(r) base(r) property(id) nop(sID) nop(n) nop(n) nop(n) |
| 2307 | |
| 2308 | Cached property access: Gets the length of the string in register base, |
| 2309 | and puts the result in register dst. If register base does not hold |
| 2310 | a string, op_get_string_length reverts to op_get_by_id. |
| 2311 | */ |
| 2312 | |
| 2313 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2314 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2315 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(isJSString(globalData, baseValue))) { |
| 2316 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2317 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsNumbercxx . . $ QTJSC/jsNumber(bf7e02f8c8245e31).(callFrame, asStringcxx . . $ QTJSC/asString(3a349c2233e4a703).(baseValue)->lengthcxx . . $ QTJSC/JSString#length(db52760e79bf9054).()); |
| 2318 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_string_length); |
| 2319 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2320 | } |
| 2321 | |
| 2322 | uncacheGetByIDcxx . . $ QTJSC/Interpreter#uncacheGetByID(dd36cf60fd3c15f9).(callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(), vPC); |
| 2323 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2324 | } |
| 2325 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_put_by_id) { |
| 2326 | /* put_by_id base(r) property(id) value(r) nop(n) nop(n) nop(n) nop(n) |
| 2327 | |
| 2328 | Generic property access: Sets the property named by identifier |
| 2329 | property, belonging to register base, to register value. |
| 2330 | |
| 2331 | Unlike many opcodes, this one does not write any output to |
| 2332 | the register file. |
| 2333 | */ |
| 2334 | |
| 2335 | int base = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2336 | int property = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2337 | int value = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2338 | |
| 2339 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 2340 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2341 | Identifiercxx . . $ QTJSC/Identifier#& ident = codeBlock->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 2342 | PutPropertySlotcxx . . $ QTJSC/PutPropertySlot# slotcxx . . $ QTJSC/PutPropertySlot#PutPropertySlot(49f6e7a06ebc5aa8).; |
| 2343 | baseValue.putcxx . . $ QTJSC/JSValue#put(dfb3133dafbe9ff4).(callFrame, ident, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(), slot); |
| 2344 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2345 | |
| 2346 | tryCachePutByIDcxx . . $ QTJSC/Interpreter#tryCachePutByID(36a58bce16894de9).(callFrame, codeBlock, vPC, baseValue, slot); |
| 2347 | |
| 2348 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_put_by_id); |
| 2349 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2350 | } |
| 2351 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_put_by_id_transition) { |
| 2352 | /* op_put_by_id_transition base(r) property(id) value(r) oldStructure(sID) newStructure(sID) structureChain(chain) offset(n) |
| 2353 | |
| 2354 | Cached property access: Attempts to set a new property with a cached transition |
| 2355 | property named by identifier property, belonging to register base, |
| 2356 | to register value. If the cache misses, op_put_by_id_transition |
| 2357 | reverts to op_put_by_id_generic. |
| 2358 | |
| 2359 | Unlike many opcodes, this one does not write any output to |
| 2360 | the register file. |
| 2361 | */ |
| 2362 | int base = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2363 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2364 | |
| 2365 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(baseValue.isCell())) { |
| 2366 | JSCellcxx . . $ QTJSC/JSCell#* baseCell = asCellcxx . . $ QTJSC/asCell(31485abf284d9c5).(baseValue); |
| 2367 | Structurecxx . . $ QTJSC/Structure#* oldStructure = vPC[4].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.; |
| 2368 | Structurecxx . . $ QTJSC/Structure#* newStructure = vPC[5].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.; |
| 2369 | |
| 2370 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(baseCell->structure() == oldStructure)) { |
| 2371 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(baseCell->isObject()); |
| 2372 | JSObjectcxx . . $ QTJSC/JSObject#* baseObject = asObjectcxx . . $ QTJSC/asObject(57571c3d51f0c406).(baseCell); |
| 2373 | |
| 2374 | RefPtrcxx . . $ RefPtr#<Structurecxx . . $ QTJSC/Structure#>* it = vPC[6].ucxx . . $ QTJSC/Instruction#u..structureChaincxx . . $ QTJSC/Instruction#$anonymous_type_1#structureChain.->headcxx . . $ QTJSC/StructureChain#head(f47b224c09a68d3a).(); |
| 2375 | |
| 2376 | JSValuecxx . . $ QTJSC/JSValue# proto = baseObject->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->prototypeForLookup(callFrame); |
| 2377 | while (!proto.isNullcxx . . $ QTJSC/JSValue#isNull(50ce9a9e25b4a850).()) { |
| 2378 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(asObject(proto)->structure() != (*it).get())) { |
| 2379 | uncachePutByIDcxx . . $ QTJSC/Interpreter#uncachePutByID(dd36cf60fd3c15f9).(callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(), vPC); |
| 2380 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2381 | } |
| 2382 | ++it; |
| 2383 | proto = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(proto)->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->prototypeForLookup(callFrame); |
| 2384 | } |
| 2385 | |
| 2386 | baseObject->transitionTocxx . . $ QTJSC/JSObject#transitionTo(32e4947f9059a24a).(newStructure); |
| 2387 | |
| 2388 | int value = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2389 | unsigned offset = vPC[7].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2390 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(baseObject->offsetForLocation(baseObject->getDirectLocation(callFrame->codeBlock()->identifier(vPC[2].u.operand))) == offset); |
| 2391 | baseObject->putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(offset, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 2392 | |
| 2393 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_put_by_id_transition); |
| 2394 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2395 | } |
| 2396 | } |
| 2397 | |
| 2398 | uncachePutByIDcxx . . $ QTJSC/Interpreter#uncachePutByID(dd36cf60fd3c15f9).(callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(), vPC); |
| 2399 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2400 | } |
| 2401 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_put_by_id_replace) { |
| 2402 | /* op_put_by_id_replace base(r) property(id) value(r) structure(sID) offset(n) nop(n) nop(n) |
| 2403 | |
| 2404 | Cached property access: Attempts to set a pre-existing, cached |
| 2405 | property named by identifier property, belonging to register base, |
| 2406 | to register value. If the cache misses, op_put_by_id_replace |
| 2407 | reverts to op_put_by_id. |
| 2408 | |
| 2409 | Unlike many opcodes, this one does not write any output to |
| 2410 | the register file. |
| 2411 | */ |
| 2412 | int base = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2413 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2414 | |
| 2415 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(baseValue.isCell())) { |
| 2416 | JSCellcxx . . $ QTJSC/JSCell#* baseCell = asCellcxx . . $ QTJSC/asCell(31485abf284d9c5).(baseValue); |
| 2417 | Structurecxx . . $ QTJSC/Structure#* structure = vPC[4].ucxx . . $ QTJSC/Instruction#u..structurecxx . . $ QTJSC/Instruction#$anonymous_type_1#structure.; |
| 2418 | |
| 2419 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(baseCell->structure() == structure)) { |
| 2420 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(baseCell->isObject()); |
| 2421 | JSObjectcxx . . $ QTJSC/JSObject#* baseObject = asObjectcxx . . $ QTJSC/asObject(57571c3d51f0c406).(baseCell); |
| 2422 | int value = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2423 | unsigned offset = vPC[5].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2424 | |
| 2425 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(baseObject->offsetForLocation(baseObject->getDirectLocation(callFrame->codeBlock()->identifier(vPC[2].u.operand))) == offset); |
| 2426 | baseObject->putDirectOffsetcxx . . $ QTJSC/JSObject#putDirectOffset(3158aa3e980d8b6b).(offset, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 2427 | |
| 2428 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_put_by_id_replace); |
| 2429 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2430 | } |
| 2431 | } |
| 2432 | |
| 2433 | uncachePutByIDcxx . . $ QTJSC/Interpreter#uncachePutByID(dd36cf60fd3c15f9).(callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(), vPC); |
| 2434 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2435 | } |
| 2436 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_put_by_id_generic) { |
| 2437 | /* op_put_by_id_generic base(r) property(id) value(r) nop(n) nop(n) nop(n) nop(n) |
| 2438 | |
| 2439 | Generic property access: Sets the property named by identifier |
| 2440 | property, belonging to register base, to register value. |
| 2441 | |
| 2442 | Unlike many opcodes, this one does not write any output to |
| 2443 | the register file. |
| 2444 | */ |
| 2445 | int base = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2446 | int property = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2447 | int value = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2448 | |
| 2449 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2450 | Identifiercxx . . $ QTJSC/Identifier#& ident = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 2451 | PutPropertySlotcxx . . $ QTJSC/PutPropertySlot# slotcxx . . $ QTJSC/PutPropertySlot#PutPropertySlot(49f6e7a06ebc5aa8).; |
| 2452 | baseValue.putcxx . . $ QTJSC/JSValue#put(dfb3133dafbe9ff4).(callFrame, ident, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(), slot); |
| 2453 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2454 | |
| 2455 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_put_by_id_generic); |
| 2456 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2457 | } |
| 2458 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_del_by_id) { |
| 2459 | /* del_by_id dst(r) base(r) property(id) |
| 2460 | |
| 2461 | Converts register base to Object, deletes the property |
| 2462 | named by identifier property from the object, and writes a |
| 2463 | boolean indicating success (if true) or failure (if false) |
| 2464 | to register dst. |
| 2465 | */ |
| 2466 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2467 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2468 | int property = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2469 | |
| 2470 | JSObjectcxx . . $ QTJSC/JSObject#* baseObj = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toObjectcxx . . $ QTJSC/JSValue#toObject(8709ed4849a165ab).(callFrame); |
| 2471 | Identifiercxx . . $ QTJSC/Identifier#& ident = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 2472 | JSValuecxx . . $ QTJSC/JSValue# result = jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(baseObj->deletePropertycxx . . $ QTJSC/JSObject#deleteProperty(13154ef9bddc9416).(callFrame, ident)); |
| 2473 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2474 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 2475 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_del_by_id); |
| 2476 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2477 | } |
| 2478 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_by_pname) { |
| 2479 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2480 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2481 | int property = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2482 | int expected = vPC[4].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2483 | int iter = vPC[5].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2484 | int i = vPC[6].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2485 | |
| 2486 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2487 | JSPropertyNameIteratorcxx . . $ QTJSC/JSPropertyNameIterator#* it = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(iter).propertyNameIteratorcxx . . $ QTJSC/Register#propertyNameIterator(e49c90d2977900c6).(); |
| 2488 | JSValuecxx . . $ QTJSC/JSValue# subscript = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(property).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2489 | JSValuecxx . . $ QTJSC/JSValue# expectedSubscript = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(expected).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2490 | int index = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(i).icxx . . $ QTJSC/Register#i(455f465bc33b4cdf).() - 1; |
| 2491 | JSValuecxx . . $ QTJSC/JSValue# resultcxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 2492 | int offset = 0; |
| 2493 | if (subscript ==cxx . . $ QTJSC/JSValue#`operator==`(b7c0ea8ebb120a64). expectedSubscript && baseValue.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).() && (baseValue.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).() == it->cachedStructurecxx . . $ QTJSC/JSPropertyNameIterator#cachedStructure(4f089b87575e542).()) && it->getOffsetcxx . . $ QTJSC/JSPropertyNameIterator#getOffset(fbc27c81beafd266).(index, offset)) { |
| 2494 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(baseValue)->getDirectOffsetcxx . . $ QTJSC/JSObject#getDirectOffset(e9dec2041b7a6b55).(offset); |
| 2495 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_by_pname); |
| 2496 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2497 | } |
| 2498 | { |
| 2499 | Identifiercxx . . $ QTJSC/Identifier# propertyNamecxx . . $ QTJSC/Identifier#Identifier(7710b6c66c0f9b39).(callFrame, subscript.toStringcxx . . $ QTJSC/JSValue#toString(9c94f5abb1995042).(callFrame)); |
| 2500 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). baseValue.getcxx . . $ QTJSC/JSValue#get(ccadc8db5e9d2977).(callFrame, propertyName); |
| 2501 | } |
| 2502 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2503 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 2504 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_by_pname); |
| 2505 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2506 | } |
| 2507 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_by_val) { |
| 2508 | /* get_by_val dst(r) base(r) property(r) |
| 2509 | |
| 2510 | Converts register base to Object, gets the property named |
| 2511 | by register property from the object, and puts the result |
| 2512 | in register dst. property is nominally converted to string |
| 2513 | but numbers are treated more efficiently. |
| 2514 | */ |
| 2515 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2516 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2517 | int property = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2518 | |
| 2519 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2520 | JSValuecxx . . $ QTJSC/JSValue# subscript = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(property).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2521 | |
| 2522 | JSValuecxx . . $ QTJSC/JSValue# resultcxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 2523 | |
| 2524 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(subscript.isUInt32())) { |
| 2525 | uint32_tcxx . . $ uint32_t# i = subscript.asUInt32cxx . . $ QTJSC/JSValue#asUInt32(ddd8539a2fcdd4ce).(); |
| 2526 | if (isJSArraycxx . . $ QTJSC/isJSArray(b468e0305807c4ec).(globalData, baseValue)) { |
| 2527 | JSArraycxx . . $ QTJSC/JSArray#* jsArray = asArraycxx . . $ QTJSC/asArray(20d153178ba9b269).(baseValue); |
| 2528 | if (jsArray->canGetIndexcxx . . $ QTJSC/JSArray#canGetIndex(dfa6e707f7696010).(i)) |
| 2529 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). jsArray->getIndexcxx . . $ QTJSC/JSArray#getIndex(65de979777e37a3b).(i); |
| 2530 | else |
| 2531 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). jsArray->JSArraycxx . . $ QTJSC/JSArray#::getcxx . . $ QTJSC/JSObject#get(2d9c2221088d2593).(callFrame, i); |
| 2532 | } else if (isJSStringcxx . . $ QTJSC/isJSString(b468e0305807c4ec).(globalData, baseValue) && asStringcxx . . $ QTJSC/asString(3a349c2233e4a703).(baseValue)->canGetIndexcxx . . $ QTJSC/JSString#canGetIndex(dfa6e707f7696010).(i)) |
| 2533 | result = asStringcxx . . $ QTJSC/asString(3a349c2233e4a703).(baseValue)->getIndexcxx . . $ QTJSC/JSString#getIndex(6705f9a2060d978c).(callFrame, i); |
| 2534 | else if (isJSByteArraycxx . . $ QTJSC/isJSByteArray(b468e0305807c4ec).(globalData, baseValue) && asByteArraycxx . . $ QTJSC/asByteArray(2ee06460bf5cb4a6).(baseValue)->canAccessIndexcxx . . $ QTJSC/JSByteArray#canAccessIndex(dfa6e707f7696010).(i)) |
| 2535 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). asByteArraycxx . . $ QTJSC/asByteArray(2ee06460bf5cb4a6).(baseValue)->getIndexcxx . . $ QTJSC/JSByteArray#getIndex(bf7e02f8c8245e31).(callFrame, i); |
| 2536 | else |
| 2537 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). baseValue.getcxx . . $ QTJSC/JSValue#get(2d9c2221088d2593).(callFrame, i); |
| 2538 | } else { |
| 2539 | Identifiercxx . . $ QTJSC/Identifier# propertycxx . . $ QTJSC/Identifier#Identifier(7710b6c66c0f9b39).(callFrame, subscript.toStringcxx . . $ QTJSC/JSValue#toString(9c94f5abb1995042).(callFrame)); |
| 2540 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). baseValue.getcxx . . $ QTJSC/JSValue#get(ccadc8db5e9d2977).(callFrame, property); |
| 2541 | } |
| 2542 | |
| 2543 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2544 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 2545 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_by_val); |
| 2546 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2547 | } |
| 2548 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_put_by_val) { |
| 2549 | /* put_by_val base(r) property(r) value(r) |
| 2550 | |
| 2551 | Sets register value on register base as the property named |
| 2552 | by register property. Base is converted to object |
| 2553 | first. register property is nominally converted to string |
| 2554 | but numbers are treated more efficiently. |
| 2555 | |
| 2556 | Unlike many opcodes, this one does not write any output to |
| 2557 | the register file. |
| 2558 | */ |
| 2559 | int base = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2560 | int property = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2561 | int value = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2562 | |
| 2563 | JSValuecxx . . $ QTJSC/JSValue# baseValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2564 | JSValuecxx . . $ QTJSC/JSValue# subscript = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(property).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2565 | |
| 2566 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(subscript.isUInt32())) { |
| 2567 | uint32_tcxx . . $ uint32_t# i = subscript.asUInt32cxx . . $ QTJSC/JSValue#asUInt32(ddd8539a2fcdd4ce).(); |
| 2568 | if (isJSArraycxx . . $ QTJSC/isJSArray(b468e0305807c4ec).(globalData, baseValue)) { |
| 2569 | JSArraycxx . . $ QTJSC/JSArray#* jsArray = asArraycxx . . $ QTJSC/asArray(20d153178ba9b269).(baseValue); |
| 2570 | if (jsArray->canSetIndexcxx . . $ QTJSC/JSArray#canSetIndex(dfa6e707f7696010).(i)) |
| 2571 | jsArray->setIndexcxx . . $ QTJSC/JSArray#setIndex(862010b52dad24bc).(i, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 2572 | else |
| 2573 | jsArray->JSArraycxx . . $ QTJSC/JSArray#::putcxx . . $ QTJSC/JSArray#put(b1b60585cf3bb95).(callFrame, i, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 2574 | } else if (isJSByteArraycxx . . $ QTJSC/isJSByteArray(b468e0305807c4ec).(globalData, baseValue) && asByteArraycxx . . $ QTJSC/asByteArray(2ee06460bf5cb4a6).(baseValue)->canAccessIndexcxx . . $ QTJSC/JSByteArray#canAccessIndex(dfa6e707f7696010).(i)) { |
| 2575 | JSByteArraycxx . . $ QTJSC/JSByteArray#* jsByteArray = asByteArraycxx . . $ QTJSC/asByteArray(2ee06460bf5cb4a6).(baseValue); |
| 2576 | double dValue = 0; |
| 2577 | JSValuecxx . . $ QTJSC/JSValue# jsValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2578 | if (jsValue.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 2579 | jsByteArray->setIndexcxx . . $ QTJSC/JSByteArray#setIndex(3d89109e85ced1be).(i, jsValue.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).()); |
| 2580 | else if (jsValue.getNumbercxx . . $ QTJSC/JSValue#getNumber(c49d02341edf1b7e).(dValue)) |
| 2581 | jsByteArray->setIndexcxx . . $ QTJSC/JSByteArray#setIndex(ff807c9ed962492e).(i, dValue); |
| 2582 | else |
| 2583 | baseValue.putcxx . . $ QTJSC/JSValue#put(b1b60585cf3bb95).(callFrame, i, jsValue); |
| 2584 | } else |
| 2585 | baseValue.putcxx . . $ QTJSC/JSValue#put(b1b60585cf3bb95).(callFrame, i, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 2586 | } else { |
| 2587 | Identifiercxx . . $ QTJSC/Identifier# propertycxx . . $ QTJSC/Identifier#Identifier(7710b6c66c0f9b39).(callFrame, subscript.toStringcxx . . $ QTJSC/JSValue#toString(9c94f5abb1995042).(callFrame)); |
| 2588 | if (!globalData->exceptioncxx . . $ QTJSC/JSGlobalData#exception.) { // Don't put to an object if toString threw an exception. |
| 2589 | PutPropertySlotcxx . . $ QTJSC/PutPropertySlot# slotcxx . . $ QTJSC/PutPropertySlot#PutPropertySlot(49f6e7a06ebc5aa8).; |
| 2590 | baseValue.putcxx . . $ QTJSC/JSValue#put(dfb3133dafbe9ff4).(callFrame, property, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(), slot); |
| 2591 | } |
| 2592 | } |
| 2593 | |
| 2594 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2595 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_put_by_val); |
| 2596 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2597 | } |
| 2598 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_del_by_val) { |
| 2599 | /* del_by_val dst(r) base(r) property(r) |
| 2600 | |
| 2601 | Converts register base to Object, deletes the property |
| 2602 | named by register property from the object, and writes a |
| 2603 | boolean indicating success (if true) or failure (if false) |
| 2604 | to register dst. |
| 2605 | */ |
| 2606 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2607 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2608 | int property = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2609 | |
| 2610 | JSObjectcxx . . $ QTJSC/JSObject#* baseObj = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toObjectcxx . . $ QTJSC/JSValue#toObject(8709ed4849a165ab).(callFrame); // may throw |
| 2611 | |
| 2612 | JSValuecxx . . $ QTJSC/JSValue# subscript = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(property).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2613 | JSValuecxx . . $ QTJSC/JSValue# resultcxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 2614 | uint32_tcxx . . $ uint32_t# i; |
| 2615 | if (subscript.getUInt32cxx . . $ QTJSC/JSValue#getUInt32(186fade19594183d).(i)) |
| 2616 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(baseObj->deletePropertycxx . . $ QTJSC/JSObject#deleteProperty(2f8cbeb04562a47b).(callFrame, i)); |
| 2617 | else { |
| 2618 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2619 | Identifiercxx . . $ QTJSC/Identifier# propertycxx . . $ QTJSC/Identifier#Identifier(7710b6c66c0f9b39).(callFrame, subscript.toStringcxx . . $ QTJSC/JSValue#toString(9c94f5abb1995042).(callFrame)); |
| 2620 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2621 | result =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). jsBooleancxx . . $ QTJSC/jsBoolean(b805946c4147dfe1).(baseObj->deletePropertycxx . . $ QTJSC/JSObject#deleteProperty(13154ef9bddc9416).(callFrame, property)); |
| 2622 | } |
| 2623 | |
| 2624 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2625 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 2626 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_del_by_val); |
| 2627 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2628 | } |
| 2629 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_put_by_index) { |
| 2630 | /* put_by_index base(r) property(n) value(r) |
| 2631 | |
| 2632 | Sets register value on register base as the property named |
| 2633 | by the immediate number property. Base is converted to |
| 2634 | object first. |
| 2635 | |
| 2636 | Unlike many opcodes, this one does not write any output to |
| 2637 | the register file. |
| 2638 | |
| 2639 | This opcode is mainly used to initialize array literals. |
| 2640 | */ |
| 2641 | int base = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2642 | unsigned property = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2643 | int value = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2644 | |
| 2645 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().putcxx . . $ QTJSC/JSValue#put(b1b60585cf3bb95).(callFrame, property, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(value).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 2646 | |
| 2647 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_put_by_index); |
| 2648 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2649 | } |
| 2650 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_loop) { |
| 2651 | /* loop target(offset) |
| 2652 | |
| 2653 | Jumps unconditionally to offset target from the current |
| 2654 | instruction. |
| 2655 | |
| 2656 | Additionally this loop instruction may terminate JS execution is |
| 2657 | the JS timeout is reached. |
| 2658 | */ |
| 2659 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_STATS) |
| 2660 | OpcodeStats::resetLastInstruction(); |
| 2661 | #endif |
| 2662 | int target = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2663 | CHECK_FOR_TIMEOUTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1177:9`!(); |
| 2664 | vPC += target; |
| 2665 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2666 | } |
| 2667 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jmp) { |
| 2668 | /* jmp target(offset) |
| 2669 | |
| 2670 | Jumps unconditionally to offset target from the current |
| 2671 | instruction. |
| 2672 | */ |
| 2673 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_STATS) |
| 2674 | OpcodeStats::resetLastInstruction(); |
| 2675 | #endif |
| 2676 | int target = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2677 | |
| 2678 | vPC += target; |
| 2679 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2680 | } |
| 2681 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_loop_if_true) { |
| 2682 | /* loop_if_true cond(r) target(offset) |
| 2683 | |
| 2684 | Jumps to offset target from the current instruction, if and |
| 2685 | only if register cond converts to boolean as true. |
| 2686 | |
| 2687 | Additionally this loop instruction may terminate JS execution is |
| 2688 | the JS timeout is reached. |
| 2689 | */ |
| 2690 | int cond = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2691 | int target = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2692 | if (callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(cond).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toBooleancxx . . $ QTJSC/JSValue#toBoolean(9608304f86fd7dc).(callFrame)) { |
| 2693 | vPC += target; |
| 2694 | CHECK_FOR_TIMEOUTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1177:9`!(); |
| 2695 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2696 | } |
| 2697 | |
| 2698 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_loop_if_true); |
| 2699 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2700 | } |
| 2701 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_loop_if_false) { |
| 2702 | /* loop_if_true cond(r) target(offset) |
| 2703 | |
| 2704 | Jumps to offset target from the current instruction, if and |
| 2705 | only if register cond converts to boolean as false. |
| 2706 | |
| 2707 | Additionally this loop instruction may terminate JS execution is |
| 2708 | the JS timeout is reached. |
| 2709 | */ |
| 2710 | int cond = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2711 | int target = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2712 | if (!callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(cond).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toBooleancxx . . $ QTJSC/JSValue#toBoolean(9608304f86fd7dc).(callFrame)) { |
| 2713 | vPC += target; |
| 2714 | CHECK_FOR_TIMEOUTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1177:9`!(); |
| 2715 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2716 | } |
| 2717 | |
| 2718 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_loop_if_true); |
| 2719 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2720 | } |
| 2721 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jtrue) { |
| 2722 | /* jtrue cond(r) target(offset) |
| 2723 | |
| 2724 | Jumps to offset target from the current instruction, if and |
| 2725 | only if register cond converts to boolean as true. |
| 2726 | */ |
| 2727 | int cond = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2728 | int target = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2729 | if (callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(cond).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toBooleancxx . . $ QTJSC/JSValue#toBoolean(9608304f86fd7dc).(callFrame)) { |
| 2730 | vPC += target; |
| 2731 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2732 | } |
| 2733 | |
| 2734 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_jtrue); |
| 2735 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2736 | } |
| 2737 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jfalse) { |
| 2738 | /* jfalse cond(r) target(offset) |
| 2739 | |
| 2740 | Jumps to offset target from the current instruction, if and |
| 2741 | only if register cond converts to boolean as false. |
| 2742 | */ |
| 2743 | int cond = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2744 | int target = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2745 | if (!callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(cond).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toBooleancxx . . $ QTJSC/JSValue#toBoolean(9608304f86fd7dc).(callFrame)) { |
| 2746 | vPC += target; |
| 2747 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2748 | } |
| 2749 | |
| 2750 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_jfalse); |
| 2751 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2752 | } |
| 2753 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jeq_null) { |
| 2754 | /* jeq_null src(r) target(offset) |
| 2755 | |
| 2756 | Jumps to offset target from the current instruction, if and |
| 2757 | only if register src is null. |
| 2758 | */ |
| 2759 | int src = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2760 | int target = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2761 | JSValuecxx . . $ QTJSC/JSValue# srcValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2762 | |
| 2763 | if (srcValue.isUndefinedOrNullcxx . . $ QTJSC/JSValue#isUndefinedOrNull(50ce9a9e25b4a850).() || (srcValue.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).() && srcValue.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->typeInfocxx . . $ QTJSC/Structure#typeInfo(2e356ef879c79f0c).().masqueradesAsUndefinedcxx . . $ QTJSC/TypeInfo#masqueradesAsUndefined(50ce9a9e25b4a850).())) { |
| 2764 | vPC += target; |
| 2765 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2766 | } |
| 2767 | |
| 2768 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_jeq_null); |
| 2769 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2770 | } |
| 2771 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jneq_null) { |
| 2772 | /* jneq_null src(r) target(offset) |
| 2773 | |
| 2774 | Jumps to offset target from the current instruction, if and |
| 2775 | only if register src is not null. |
| 2776 | */ |
| 2777 | int src = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2778 | int target = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2779 | JSValuecxx . . $ QTJSC/JSValue# srcValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2780 | |
| 2781 | if (!srcValue.isUndefinedOrNullcxx . . $ QTJSC/JSValue#isUndefinedOrNull(50ce9a9e25b4a850).() && (!srcValue.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).() || !srcValue.asCellcxx . . $ QTJSC/JSValue#asCell(60510463d9a84528).()->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).()->typeInfocxx . . $ QTJSC/Structure#typeInfo(2e356ef879c79f0c).().masqueradesAsUndefinedcxx . . $ QTJSC/TypeInfo#masqueradesAsUndefined(50ce9a9e25b4a850).())) { |
| 2782 | vPC += target; |
| 2783 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2784 | } |
| 2785 | |
| 2786 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_jneq_null); |
| 2787 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2788 | } |
| 2789 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jneq_ptr) { |
| 2790 | /* jneq_ptr src(r) ptr(jsCell) target(offset) |
| 2791 | |
| 2792 | Jumps to offset target from the current instruction, if the value r is equal |
| 2793 | to ptr, using pointer equality. |
| 2794 | */ |
| 2795 | int src = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2796 | JSValuecxx . . $ QTJSC/JSValue# ptr = JSValuecxx . . $ QTJSC/JSValue#JSValue(c6d88d3bdacccd64).(vPC[2].ucxx . . $ QTJSC/Instruction#u..jsCellcxx . . $ QTJSC/Instruction#$anonymous_type_1#jsCell.); |
| 2797 | int target = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2798 | JSValuecxx . . $ QTJSC/JSValue# srcValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2799 | if (srcValue !=cxx . . $ QTJSC/JSValue#`operator!=`(b7c0ea8ebb120a64). ptr) { |
| 2800 | vPC += target; |
| 2801 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2802 | } |
| 2803 | |
| 2804 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_jneq_ptr); |
| 2805 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2806 | } |
| 2807 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_loop_if_less) { |
| 2808 | /* loop_if_less src1(r) src2(r) target(offset) |
| 2809 | |
| 2810 | Checks whether register src1 is less than register src2, as |
| 2811 | with the ECMAScript '<' operator, and then jumps to offset |
| 2812 | target from the current instruction, if and only if the |
| 2813 | result of the comparison is true. |
| 2814 | |
| 2815 | Additionally this loop instruction may terminate JS execution is |
| 2816 | the JS timeout is reached. |
| 2817 | */ |
| 2818 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2819 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2820 | int target = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2821 | |
| 2822 | bool result = jsLesscxx . . $ QTJSC/jsLess(658e1865c47113e6).(callFrame, src1, src2); |
| 2823 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2824 | |
| 2825 | if (result) { |
| 2826 | vPC += target; |
| 2827 | CHECK_FOR_TIMEOUTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1177:9`!(); |
| 2828 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2829 | } |
| 2830 | |
| 2831 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_loop_if_less); |
| 2832 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2833 | } |
| 2834 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_loop_if_lesseq) { |
| 2835 | /* loop_if_lesseq src1(r) src2(r) target(offset) |
| 2836 | |
| 2837 | Checks whether register src1 is less than or equal to register |
| 2838 | src2, as with the ECMAScript '<=' operator, and then jumps to |
| 2839 | offset target from the current instruction, if and only if the |
| 2840 | result of the comparison is true. |
| 2841 | |
| 2842 | Additionally this loop instruction may terminate JS execution is |
| 2843 | the JS timeout is reached. |
| 2844 | */ |
| 2845 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2846 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2847 | int target = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2848 | |
| 2849 | bool result = jsLessEqcxx . . $ QTJSC/jsLessEq(658e1865c47113e6).(callFrame, src1, src2); |
| 2850 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2851 | |
| 2852 | if (result) { |
| 2853 | vPC += target; |
| 2854 | CHECK_FOR_TIMEOUTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1177:9`!(); |
| 2855 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2856 | } |
| 2857 | |
| 2858 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_loop_if_lesseq); |
| 2859 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2860 | } |
| 2861 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jnless) { |
| 2862 | /* jnless src1(r) src2(r) target(offset) |
| 2863 | |
| 2864 | Checks whether register src1 is less than register src2, as |
| 2865 | with the ECMAScript '<' operator, and then jumps to offset |
| 2866 | target from the current instruction, if and only if the |
| 2867 | result of the comparison is false. |
| 2868 | */ |
| 2869 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2870 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2871 | int target = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2872 | |
| 2873 | bool result = jsLesscxx . . $ QTJSC/jsLess(658e1865c47113e6).(callFrame, src1, src2); |
| 2874 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2875 | |
| 2876 | if (!result) { |
| 2877 | vPC += target; |
| 2878 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2879 | } |
| 2880 | |
| 2881 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_jnless); |
| 2882 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2883 | } |
| 2884 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jless) { |
| 2885 | /* jless src1(r) src2(r) target(offset) |
| 2886 | |
| 2887 | Checks whether register src1 is less than register src2, as |
| 2888 | with the ECMAScript '<' operator, and then jumps to offset |
| 2889 | target from the current instruction, if and only if the |
| 2890 | result of the comparison is true. |
| 2891 | */ |
| 2892 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2893 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2894 | int target = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2895 | |
| 2896 | bool result = jsLesscxx . . $ QTJSC/jsLess(658e1865c47113e6).(callFrame, src1, src2); |
| 2897 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2898 | |
| 2899 | if (result) { |
| 2900 | vPC += target; |
| 2901 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2902 | } |
| 2903 | |
| 2904 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_jless); |
| 2905 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2906 | } |
| 2907 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jnlesseq) { |
| 2908 | /* jnlesseq src1(r) src2(r) target(offset) |
| 2909 | |
| 2910 | Checks whether register src1 is less than or equal to |
| 2911 | register src2, as with the ECMAScript '<=' operator, |
| 2912 | and then jumps to offset target from the current instruction, |
| 2913 | if and only if theresult of the comparison is false. |
| 2914 | */ |
| 2915 | JSValuecxx . . $ QTJSC/JSValue# src1 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2916 | JSValuecxx . . $ QTJSC/JSValue# src2 = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2917 | int target = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2918 | |
| 2919 | bool result = jsLessEqcxx . . $ QTJSC/jsLessEq(658e1865c47113e6).(callFrame, src1, src2); |
| 2920 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 2921 | |
| 2922 | if (!result) { |
| 2923 | vPC += target; |
| 2924 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2925 | } |
| 2926 | |
| 2927 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_jnlesseq); |
| 2928 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2929 | } |
| 2930 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_switch_imm) { |
| 2931 | /* switch_imm tableIndex(n) defaultOffset(offset) scrutinee(r) |
| 2932 | |
| 2933 | Performs a range checked switch on the scrutinee value, using |
| 2934 | the tableIndex-th immediate switch jump table. If the scrutinee value |
| 2935 | is an immediate number in the range covered by the referenced jump |
| 2936 | table, and the value at jumpTable[scrutinee value] is non-zero, then |
| 2937 | that value is used as the jump offset, otherwise defaultOffset is used. |
| 2938 | */ |
| 2939 | int tableIndex = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2940 | int defaultOffset = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2941 | JSValuecxx . . $ QTJSC/JSValue# scrutinee = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2942 | if (scrutinee.isInt32cxx . . $ QTJSC/JSValue#isInt32(50ce9a9e25b4a850).()) |
| 2943 | vPC += callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->immediateSwitchJumpTablecxx . . $ QTJSC/CodeBlock#immediateSwitchJumpTable(42fc4228b2016216).(tableIndex).offsetForValuecxx . . $ QTJSC/SimpleJumpTable#offsetForValue(9b79fb6aee4c0440).(scrutinee.asInt32cxx . . $ QTJSC/JSValue#asInt32(455f465bc33b4cdf).(), defaultOffset); |
| 2944 | else { |
| 2945 | double value; |
| 2946 | int32_tcxx . . $ int32_t# intValue; |
| 2947 | if (scrutinee.getNumbercxx . . $ QTJSC/JSValue#getNumber(c49d02341edf1b7e).(value) && ((intValue = static_cast<int32_tcxx . . $ int32_t#>(value)) == value)) |
| 2948 | vPC += callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->immediateSwitchJumpTablecxx . . $ QTJSC/CodeBlock#immediateSwitchJumpTable(42fc4228b2016216).(tableIndex).offsetForValuecxx . . $ QTJSC/SimpleJumpTable#offsetForValue(9b79fb6aee4c0440).(intValue, defaultOffset); |
| 2949 | else |
| 2950 | vPC += defaultOffset; |
| 2951 | } |
| 2952 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2953 | } |
| 2954 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_switch_char) { |
| 2955 | /* switch_char tableIndex(n) defaultOffset(offset) scrutinee(r) |
| 2956 | |
| 2957 | Performs a range checked switch on the scrutinee value, using |
| 2958 | the tableIndex-th character switch jump table. If the scrutinee value |
| 2959 | is a single character string in the range covered by the referenced jump |
| 2960 | table, and the value at jumpTable[scrutinee value] is non-zero, then |
| 2961 | that value is used as the jump offset, otherwise defaultOffset is used. |
| 2962 | */ |
| 2963 | int tableIndex = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2964 | int defaultOffset = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2965 | JSValuecxx . . $ QTJSC/JSValue# scrutinee = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2966 | if (!scrutinee.isStringcxx . . $ QTJSC/JSValue#isString(50ce9a9e25b4a850).()) |
| 2967 | vPC += defaultOffset; |
| 2968 | else { |
| 2969 | UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#* value = asStringcxx . . $ QTJSC/asString(3a349c2233e4a703).(scrutinee)->valuecxx . . $ QTJSC/JSString#value(fc696c135aaf08bd).(callFrame).repcxx . . $ QTJSC/UString#rep(eff8ac5d0836371c).(); |
| 2970 | if (value->sizecxx . . $ QTJSC/UStringImpl#size(455f465bc33b4cdf).() != 1) |
| 2971 | vPC += defaultOffset; |
| 2972 | else |
| 2973 | vPC += callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->characterSwitchJumpTablecxx . . $ QTJSC/CodeBlock#characterSwitchJumpTable(42fc4228b2016216).(tableIndex).offsetForValuecxx . . $ QTJSC/SimpleJumpTable#offsetForValue(9b79fb6aee4c0440).(value->datacxx . . $ QTJSC/UStringImpl#data(da28cdd8371e77b7).()[0], defaultOffset); |
| 2974 | } |
| 2975 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2976 | } |
| 2977 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_switch_string) { |
| 2978 | /* switch_string tableIndex(n) defaultOffset(offset) scrutinee(r) |
| 2979 | |
| 2980 | Performs a sparse hashmap based switch on the value in the scrutinee |
| 2981 | register, using the tableIndex-th string switch jump table. If the |
| 2982 | scrutinee value is a string that exists as a key in the referenced |
| 2983 | jump table, then the value associated with the string is used as the |
| 2984 | jump offset, otherwise defaultOffset is used. |
| 2985 | */ |
| 2986 | int tableIndex = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2987 | int defaultOffset = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 2988 | JSValuecxx . . $ QTJSC/JSValue# scrutinee = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 2989 | if (!scrutinee.isStringcxx . . $ QTJSC/JSValue#isString(50ce9a9e25b4a850).()) |
| 2990 | vPC += defaultOffset; |
| 2991 | else |
| 2992 | vPC += callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->stringSwitchJumpTablecxx . . $ QTJSC/CodeBlock#stringSwitchJumpTable(36bb9f11d112c315).(tableIndex).offsetForValuecxx . . $ QTJSC/StringJumpTable#offsetForValue(d66b1037e8fe24ee).(asStringcxx . . $ QTJSC/asString(3a349c2233e4a703).(scrutinee)->valuecxx . . $ QTJSC/JSString#value(fc696c135aaf08bd).(callFrame).repcxx . . $ QTJSC/UString#rep(eff8ac5d0836371c).(), defaultOffset); |
| 2993 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 2994 | } |
| 2995 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_new_func) { |
| 2996 | /* new_func dst(r) func(f) |
| 2997 | |
| 2998 | Constructs a new Function instance from function func and |
| 2999 | the current scope chain using the original Function |
| 3000 | constructor, using the rules for function declarations, and |
| 3001 | puts the result in register dst. |
| 3002 | */ |
| 3003 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3004 | int func = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3005 | |
| 3006 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->functionDeclcxx . . $ QTJSC/CodeBlock#functionDecl(a57ecca163d6c59).(func)->makecxx . . $ QTJSC/FunctionExecutable#make(e776e03fd848bcd9).(callFrame, callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).())); |
| 3007 | |
| 3008 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_new_func); |
| 3009 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3010 | } |
| 3011 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_new_func_exp) { |
| 3012 | /* new_func_exp dst(r) func(f) |
| 3013 | |
| 3014 | Constructs a new Function instance from function func and |
| 3015 | the current scope chain using the original Function |
| 3016 | constructor, using the rules for function expressions, and |
| 3017 | puts the result in register dst. |
| 3018 | */ |
| 3019 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3020 | int funcIndex = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3021 | |
| 3022 | FunctionExecutablecxx . . $ QTJSC/FunctionExecutable#* function = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->functionExprcxx . . $ QTJSC/CodeBlock#functionExpr(a57ecca163d6c59).(funcIndex); |
| 3023 | JSFunctioncxx . . $ QTJSC/JSFunction#* func = function->makecxx . . $ QTJSC/FunctionExecutable#make(e776e03fd848bcd9).(callFrame, callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).()); |
| 3024 | |
| 3025 | /* |
| 3026 | The Identifier in a FunctionExpression can be referenced from inside |
| 3027 | the FunctionExpression's FunctionBody to allow the function to call |
| 3028 | itself recursively. However, unlike in a FunctionDeclaration, the |
| 3029 | Identifier in a FunctionExpression cannot be referenced from and |
| 3030 | does not affect the scope enclosing the FunctionExpression. |
| 3031 | */ |
| 3032 | if (!function->namecxx . . $ QTJSC/FunctionExecutable#name(d09261135e261cb4).().isNullcxx . . $ QTJSC/Identifier#isNull(50ce9a9e25b4a850).()) { |
| 3033 | JSStaticScopeObjectcxx . . $ QTJSC/JSStaticScopeObject#* functionScopeObject = new (callFrame) JSStaticScopeObject(callFrame, function->name(), func, ReadOnly | DontDelete); |
| 3034 | func->scopecxx . . $ QTJSC/JSFunction#scope(b239d380c31bc982).().pushcxx . . $ QTJSC/ScopeChain#push(aa1c69ebc68b9201).(functionScopeObject); |
| 3035 | } |
| 3036 | |
| 3037 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(func); |
| 3038 | |
| 3039 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_new_func_exp); |
| 3040 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3041 | } |
| 3042 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_call_eval) { |
| 3043 | /* call_eval dst(r) func(r) argCount(n) registerOffset(n) |
| 3044 | |
| 3045 | Call a function named "eval" with no explicit "this" value |
| 3046 | (which may therefore be the eval operator). If register |
| 3047 | thisVal is the global object, and register func contains |
| 3048 | that global object's original global eval function, then |
| 3049 | perform the eval operator in local scope (interpreting |
| 3050 | the argument registers as for the "call" |
| 3051 | opcode). Otherwise, act exactly as the "call" opcode would. |
| 3052 | */ |
| 3053 | |
| 3054 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3055 | int func = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3056 | int argCount = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3057 | int registerOffset = vPC[4].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3058 | |
| 3059 | JSValuecxx . . $ QTJSC/JSValue# funcVal = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(func).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3060 | |
| 3061 | Registercxx . . $ QTJSC/Register#* newCallFrame = callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + registerOffset; |
| 3062 | Registercxx . . $ QTJSC/Register#* argv = newCallFrame - RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize. - argCount; |
| 3063 | JSValuecxx . . $ QTJSC/JSValue# thisValue = argv[0].jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3064 | JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#* globalObject = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).()->globalObjectcxx . . $ QTJSC/ScopeChainNode#globalObject.; |
| 3065 | |
| 3066 | if (thisValue == globalObject && funcVal == globalObject->evalFunctioncxx . . $ QTJSC/JSGlobalObject#evalFunction(e562b6bc9bf122fb).()) { |
| 3067 | JSValuecxx . . $ QTJSC/JSValue# result = callEvalcxx . . $ QTJSC/Interpreter#callEval(4bdce225fb768eec).(callFrame, registerFile, argv, argCount, registerOffset, exceptionValue); |
| 3068 | if (exceptionValue) |
| 3069 | goto vm_throw; |
| 3070 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). result; |
| 3071 | |
| 3072 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_call_eval); |
| 3073 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3074 | } |
| 3075 | |
| 3076 | // We didn't find the blessed version of eval, so process this |
| 3077 | // instruction as a normal function call. |
| 3078 | // fall through to op_call |
| 3079 | } |
| 3080 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_call) { |
| 3081 | /* call dst(r) func(r) argCount(n) registerOffset(n) |
| 3082 | |
| 3083 | Perform a function call. |
| 3084 | |
| 3085 | registerOffset is the distance the callFrame pointer should move |
| 3086 | before the VM initializes the new call frame's header. |
| 3087 | |
| 3088 | dst is where op_ret should store its result. |
| 3089 | */ |
| 3090 | |
| 3091 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3092 | int func = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3093 | int argCount = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3094 | int registerOffset = vPC[4].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3095 | |
| 3096 | JSValuecxx . . $ QTJSC/JSValue# v = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(func).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3097 | |
| 3098 | CallDatacxx . . $ QTJSC/CallData# callData; |
| 3099 | CallTypecxx . . $ QTJSC/CallType# callType = v.getCallDatacxx . . $ QTJSC/JSValue#getCallData(9482040cf952d29d).(callData); |
| 3100 | |
| 3101 | if (callType == CallTypeJScxx . . $ QTJSC/CallTypeJS.) { |
| 3102 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* callDataScopeChain = callData.jscxx . . $ QTJSC/CallData#js..scopeChaincxx . . $ QTJSC/CallData#$anonymous_type_1#scopeChain.; |
| 3103 | CodeBlockcxx . . $ QTJSC/CodeBlock#* newCodeBlock = &callData.jscxx . . $ QTJSC/CallData#js..functionExecutablecxx . . $ QTJSC/CallData#$anonymous_type_1#functionExecutable.->bytecodecxx . . $ QTJSC/FunctionExecutable#bytecode(f6188d605a8fbc4b).(callFrame, callDataScopeChain); |
| 3104 | |
| 3105 | CallFramecxx . . $ QTJSC/CallFrame#* previousCallFrame = callFrame; |
| 3106 | |
| 3107 | callFrame = slideRegisterWindowForCallcxx . . $ QTJSC/Interpreter#slideRegisterWindowForCall(c83f7e92863d893d).(newCodeBlock, registerFile, callFrame, registerOffset, argCount); |
| 3108 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!callFrame)) { |
| 3109 | callFrame = previousCallFrame; |
| 3110 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 3111 | goto vm_throw; |
| 3112 | } |
| 3113 | |
| 3114 | callFrame->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(newCodeBlock, vPC + 5, callDataScopeChain, previousCallFrame, dst, argCount, asFunctioncxx . . $ QTJSC/asFunction(deffc94ad83de35f).(v)); |
| 3115 | vPC = newCodeBlock->instructions().begin(); |
| 3116 | |
| 3117 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_STATS) |
| 3118 | OpcodeStats::resetLastInstruction(); |
| 3119 | #endif |
| 3120 | |
| 3121 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3122 | } |
| 3123 | |
| 3124 | if (callType == CallTypeHostcxx . . $ QTJSC/CallTypeHost.) { |
| 3125 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 3126 | CallFramecxx . . $ QTJSC/CallFrame#* newCallFrame = CallFramecxx . . $ QTJSC/CallFrame#::createcxx . . $ QTJSC/ExecState#create(38d04c2988512828).(callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + registerOffset); |
| 3127 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! //we need the returnValue to be 0 as it is used as flags |
| 3128 | newCallFrame->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(0, vPC + 5, scopeChain, callFrame, 0, argCount, asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(v)); |
| 3129 | #else |
| 3130 | newCallFrame->init(0, vPC + 5, scopeChain, callFrame, dst, argCount, asObject(v)); |
| 3131 | #endif |
| 3132 | Registercxx . . $ QTJSC/Register#* thisRegister = newCallFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() - RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize. - argCount; |
| 3133 | ArgListcxx . . $ QTJSC/ArgList# argscxx . . $ QTJSC/ArgList#ArgList(c5e463275a0682fd).(thisRegister + 1, argCount - 1); |
| 3134 | |
| 3135 | // FIXME: All host methods should be calling toThisObject, but this is not presently the case. |
| 3136 | JSValuecxx . . $ QTJSC/JSValue# thisValue = thisRegister->jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3137 | if (thisValue ==cxx . . $ QTJSC/JSValue#`operator==`(b7c0ea8ebb120a64). jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).()) |
| 3138 | thisValue = callFrame->globalThisValuecxx . . $ QTJSC/ExecState#globalThisValue(8ac23ea934d7a115).(); |
| 3139 | |
| 3140 | JSValuecxx . . $ QTJSC/JSValue# returnValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 3141 | { |
| 3142 | SamplingToolcxx . . $ QTJSC/SamplingTool#::HostCallRecordcxx . . $ QTJSC/SamplingTool#HostCallRecord# callRecord(m_sampler.get()); |
| 3143 | returnValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). callData.nativecxx . . $ QTJSC/CallData#native..functioncxx . . $ QTJSC/CallData#$anonymous_type_0#function.(cxx . . $ QTJSC/NativeFuncWrapper#`operator()`(7665909ba4cde34d).newCallFrame, asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(v), thisValue, args); |
| 3144 | } |
| 3145 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 3146 | |
| 3147 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). returnValue; |
| 3148 | |
| 3149 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_call); |
| 3150 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3151 | } |
| 3152 | |
| 3153 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(callType == CallTypeNone); |
| 3154 | |
| 3155 | exceptionValue = createNotAFunctionErrorcxx . . $ QTJSC/createNotAFunctionError(967d1010b6c0a863).(callFrame, v, vPC -cxx . . $ std/operator-(a6e85813984128c7). callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->instructions().begin(), callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()); |
| 3156 | goto vm_throw; |
| 3157 | } |
| 3158 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_load_varargs) { |
| 3159 | int argCountDst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3160 | int argsOffset = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3161 | |
| 3162 | JSValuecxx . . $ QTJSC/JSValue# arguments = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(argsOffset).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3163 | int32_tcxx . . $ int32_t# argCount = 0; |
| 3164 | if (!arguments) { |
| 3165 | argCount = (uint32_tcxx . . $ uint32_t#)(callFrame->argumentCountcxx . . $ QTJSC/ExecState#argumentCount(455f465bc33b4cdf).()) - 1; |
| 3166 | int32_tcxx . . $ int32_t# sizeDelta = argsOffset + argCount + RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize.; |
| 3167 | Registercxx . . $ QTJSC/Register#* newEnd = callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + sizeDelta; |
| 3168 | if (!registerFile->growcxx . . $ QTJSC/RegisterFile#grow(92b425340182f9cb).(newEnd) || ((newEnd - callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).()) != sizeDelta)) { |
| 3169 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 3170 | goto vm_throw; |
| 3171 | } |
| 3172 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!asFunction(callFrame->callee())->isHostFunction()); |
| 3173 | int32_tcxx . . $ int32_t# expectedParams = static_cast<JSFunction*>(callFrame->callee())->jsExecutable()->parameterCount(); |
| 3174 | int32_tcxx . . $ int32_t# inplaceArgs = mincxx . . $ std/min(2a338fce5842aa6a).(argCount, expectedParams); |
| 3175 | int32_tcxx . . $ int32_t# i = 0; |
| 3176 | Registercxx . . $ QTJSC/Register#* argStore = callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + argsOffset; |
| 3177 | |
| 3178 | // First step is to copy the "expected" parameters from their normal location relative to the callframe |
| 3179 | for (; i < inplaceArgs; i++) |
| 3180 | argStore[i] =cxx . . $ QTJSC/Register#`operator=`(46bd610ee0b85185). callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).()[i - RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize. - expectedParams]; |
| 3181 | // Then we copy any additional arguments that may be further up the stack ('-1' to account for 'this') |
| 3182 | for (; i < argCount; i++) |
| 3183 | argStore[i] =cxx . . $ QTJSC/Register#`operator=`(46bd610ee0b85185). callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).()[i - RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize. - expectedParams - argCount - 1]; |
| 3184 | } else if (!arguments.isUndefinedOrNullcxx . . $ QTJSC/JSValue#isUndefinedOrNull(50ce9a9e25b4a850).()) { |
| 3185 | if (!arguments.isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).()) { |
| 3186 | exceptionValue = createInvalidParamErrorcxx . . $ QTJSC/createInvalidParamError(a88900e291ca5a51).(callFrame, "Function.prototype.apply", arguments, vPC -cxx . . $ std/operator-(a6e85813984128c7). callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->instructions().begin(), callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()); |
| 3187 | goto vm_throw; |
| 3188 | } |
| 3189 | if (asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(arguments)->classInfocxx . . $ QTJSC/JSCell#classInfo(f90fb4cda7a7c2e2).() ==cxx . . $ QTJSC/`operator==`(8208a731c2dadbc2). &Argumentscxx . . $ QTJSC/Arguments#::infocxx . . $ QTJSC/Arguments#info.) { |
| 3190 | Argumentscxx . . $ QTJSC/Arguments#* args = asArgumentscxx . . $ QTJSC/asArguments(1c88538561753616).(arguments); |
| 3191 | argCount = args->numProvidedArgumentscxx . . $ QTJSC/Arguments#numProvidedArguments(fedcfd78cee4cc89).(callFrame); |
| 3192 | int32_tcxx . . $ int32_t# sizeDelta = argsOffset + argCount + RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize.; |
| 3193 | Registercxx . . $ QTJSC/Register#* newEnd = callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + sizeDelta; |
| 3194 | if (!registerFile->growcxx . . $ QTJSC/RegisterFile#grow(92b425340182f9cb).(newEnd) || ((newEnd - callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).()) != sizeDelta)) { |
| 3195 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 3196 | goto vm_throw; |
| 3197 | } |
| 3198 | args->copyToRegisterscxx . . $ QTJSC/Arguments#copyToRegisters(d632f462723cc6fe).(callFrame, callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + argsOffset, argCount); |
| 3199 | } else if (isJSArraycxx . . $ QTJSC/isJSArray(b468e0305807c4ec).(&callFrame->globalDatacxx . . $ QTJSC/ExecState#globalData(ae00a65ac2fd4a61).(), arguments)) { |
| 3200 | JSArraycxx . . $ QTJSC/JSArray#* array = asArraycxx . . $ QTJSC/asArray(20d153178ba9b269).(arguments); |
| 3201 | argCount = array->lengthcxx . . $ QTJSC/JSArray#length(ddd8539a2fcdd4ce).(); |
| 3202 | int32_tcxx . . $ int32_t# sizeDelta = argsOffset + argCount + RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize.; |
| 3203 | Registercxx . . $ QTJSC/Register#* newEnd = callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + sizeDelta; |
| 3204 | if (!registerFile->growcxx . . $ QTJSC/RegisterFile#grow(92b425340182f9cb).(newEnd) || ((newEnd - callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).()) != sizeDelta)) { |
| 3205 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 3206 | goto vm_throw; |
| 3207 | } |
| 3208 | array->copyToRegisterscxx . . $ QTJSC/JSArray#copyToRegisters(d632f462723cc6fe).(callFrame, callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + argsOffset, argCount); |
| 3209 | } else if (asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(arguments)->inheritscxx . . $ QTJSC/JSCell#inherits(7eca403b06d48463).(&JSArraycxx . . $ QTJSC/JSArray#::infocxx . . $ QTJSC/JSArray#info.)) { |
| 3210 | JSObjectcxx . . $ QTJSC/JSObject#* argObject = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(arguments); |
| 3211 | argCount = argObject->getcxx . . $ QTJSC/JSObject#get(2d9c2221088d2593).(callFrame, callFrame->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().length).toUInt32(callFrame); |
| 3212 | int32_tcxx . . $ int32_t# sizeDelta = argsOffset + argCount + RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize.; |
| 3213 | Registercxx . . $ QTJSC/Register#* newEnd = callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + sizeDelta; |
| 3214 | if (!registerFile->growcxx . . $ QTJSC/RegisterFile#grow(92b425340182f9cb).(newEnd) || ((newEnd - callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).()) != sizeDelta)) { |
| 3215 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 3216 | goto vm_throw; |
| 3217 | } |
| 3218 | Registercxx . . $ QTJSC/Register#* argsBuffer = callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + argsOffset; |
| 3219 | for (int32_tcxx . . $ int32_t# i = 0; i < argCount; ++i) { |
| 3220 | argsBuffer[i] =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(arguments)->getcxx . . $ QTJSC/JSObject#get(2d9c2221088d2593).(callFrame, i); |
| 3221 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 3222 | } |
| 3223 | } else { |
| 3224 | if (!arguments.isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).()) { |
| 3225 | exceptionValue = createInvalidParamErrorcxx . . $ QTJSC/createInvalidParamError(a88900e291ca5a51).(callFrame, "Function.prototype.apply", arguments, vPC -cxx . . $ std/operator-(a6e85813984128c7). callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->instructions().begin(), callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()); |
| 3226 | goto vm_throw; |
| 3227 | } |
| 3228 | } |
| 3229 | } |
| 3230 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 3231 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(argCountDst) =cxx . . $ QTJSC/Register#`operator=`(7e82ae731ad175a). Registercxx . . $ QTJSC/Register#::withIntcxx . . $ QTJSC/Register#withInt(56c5ad1e8d95a0cb).(argCount + 1); |
| 3232 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_load_varargs); |
| 3233 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3234 | } |
| 3235 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_call_varargs) { |
| 3236 | /* call_varargs dst(r) func(r) argCountReg(r) baseRegisterOffset(n) |
| 3237 | |
| 3238 | Perform a function call with a dynamic set of arguments. |
| 3239 | |
| 3240 | registerOffset is the distance the callFrame pointer should move |
| 3241 | before the VM initializes the new call frame's header, excluding |
| 3242 | space for arguments. |
| 3243 | |
| 3244 | dst is where op_ret should store its result. |
| 3245 | */ |
| 3246 | |
| 3247 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3248 | int func = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3249 | int argCountReg = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3250 | int registerOffset = vPC[4].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3251 | |
| 3252 | JSValuecxx . . $ QTJSC/JSValue# v = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(func).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3253 | int argCount = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(argCountReg).icxx . . $ QTJSC/Register#i(455f465bc33b4cdf).(); |
| 3254 | registerOffset += argCount; |
| 3255 | CallDatacxx . . $ QTJSC/CallData# callData; |
| 3256 | CallTypecxx . . $ QTJSC/CallType# callType = v.getCallDatacxx . . $ QTJSC/JSValue#getCallData(9482040cf952d29d).(callData); |
| 3257 | |
| 3258 | if (callType == CallTypeJScxx . . $ QTJSC/CallTypeJS.) { |
| 3259 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* callDataScopeChain = callData.jscxx . . $ QTJSC/CallData#js..scopeChaincxx . . $ QTJSC/CallData#$anonymous_type_1#scopeChain.; |
| 3260 | CodeBlockcxx . . $ QTJSC/CodeBlock#* newCodeBlock = &callData.jscxx . . $ QTJSC/CallData#js..functionExecutablecxx . . $ QTJSC/CallData#$anonymous_type_1#functionExecutable.->bytecodecxx . . $ QTJSC/FunctionExecutable#bytecode(f6188d605a8fbc4b).(callFrame, callDataScopeChain); |
| 3261 | |
| 3262 | CallFramecxx . . $ QTJSC/CallFrame#* previousCallFrame = callFrame; |
| 3263 | |
| 3264 | callFrame = slideRegisterWindowForCallcxx . . $ QTJSC/Interpreter#slideRegisterWindowForCall(c83f7e92863d893d).(newCodeBlock, registerFile, callFrame, registerOffset, argCount); |
| 3265 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!callFrame)) { |
| 3266 | callFrame = previousCallFrame; |
| 3267 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 3268 | goto vm_throw; |
| 3269 | } |
| 3270 | |
| 3271 | callFrame->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(newCodeBlock, vPC + 5, callDataScopeChain, previousCallFrame, dst, argCount, asFunctioncxx . . $ QTJSC/asFunction(deffc94ad83de35f).(v)); |
| 3272 | vPC = newCodeBlock->instructions().begin(); |
| 3273 | |
| 3274 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_STATS) |
| 3275 | OpcodeStats::resetLastInstruction(); |
| 3276 | #endif |
| 3277 | |
| 3278 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3279 | } |
| 3280 | |
| 3281 | if (callType == CallTypeHostcxx . . $ QTJSC/CallTypeHost.) { |
| 3282 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 3283 | CallFramecxx . . $ QTJSC/CallFrame#* newCallFrame = CallFramecxx . . $ QTJSC/CallFrame#::createcxx . . $ QTJSC/ExecState#create(38d04c2988512828).(callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + registerOffset); |
| 3284 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! //we need the returnValue to be 0 as it is used as flags |
| 3285 | newCallFrame->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(0, vPC + 5, scopeChain, callFrame, 0, argCount, asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(v)); |
| 3286 | #else |
| 3287 | newCallFrame->init(0, vPC + 5, scopeChain, callFrame, dst, argCount, asObject(v)); |
| 3288 | #endif |
| 3289 | |
| 3290 | Registercxx . . $ QTJSC/Register#* thisRegister = newCallFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() - RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderSizecxx . . $ QTJSC/RegisterFile#CallFrameHeaderSize. - argCount; |
| 3291 | ArgListcxx . . $ QTJSC/ArgList# argscxx . . $ QTJSC/ArgList#ArgList(c5e463275a0682fd).(thisRegister + 1, argCount - 1); |
| 3292 | |
| 3293 | // FIXME: All host methods should be calling toThisObject, but this is not presently the case. |
| 3294 | JSValuecxx . . $ QTJSC/JSValue# thisValue = thisRegister->jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3295 | if (thisValue ==cxx . . $ QTJSC/JSValue#`operator==`(b7c0ea8ebb120a64). jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).()) |
| 3296 | thisValue = callFrame->globalThisValuecxx . . $ QTJSC/ExecState#globalThisValue(8ac23ea934d7a115).(); |
| 3297 | |
| 3298 | JSValuecxx . . $ QTJSC/JSValue# returnValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 3299 | { |
| 3300 | SamplingToolcxx . . $ QTJSC/SamplingTool#::HostCallRecordcxx . . $ QTJSC/SamplingTool#HostCallRecord# callRecord(m_sampler.get()); |
| 3301 | returnValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). callData.nativecxx . . $ QTJSC/CallData#native..functioncxx . . $ QTJSC/CallData#$anonymous_type_0#function.(cxx . . $ QTJSC/NativeFuncWrapper#`operator()`(7665909ba4cde34d).newCallFrame, asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(v), thisValue, args); |
| 3302 | } |
| 3303 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 3304 | |
| 3305 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). returnValue; |
| 3306 | |
| 3307 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_call_varargs); |
| 3308 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3309 | } |
| 3310 | |
| 3311 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(callType == CallTypeNone); |
| 3312 | |
| 3313 | exceptionValue = createNotAFunctionErrorcxx . . $ QTJSC/createNotAFunctionError(967d1010b6c0a863).(callFrame, v, vPC -cxx . . $ std/operator-(a6e85813984128c7). callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->instructions().begin(), callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()); |
| 3314 | goto vm_throw; |
| 3315 | } |
| 3316 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_tear_off_activation) { |
| 3317 | /* tear_off_activation activation(r) |
| 3318 | |
| 3319 | Copy all locals and parameters to new memory allocated on |
| 3320 | the heap, and make the passed activation use this memory |
| 3321 | in the future when looking up entries in the symbol table. |
| 3322 | If there is an 'arguments' object, then it will also use |
| 3323 | this memory for storing the named parameters, but not any |
| 3324 | extra arguments. |
| 3325 | |
| 3326 | This opcode should only be used immediately before op_ret. |
| 3327 | */ |
| 3328 | |
| 3329 | int src = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3330 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(callFrame->codeBlock()->needsFullScopeChain()); |
| 3331 | |
| 3332 | asActivationcxx . . $ QTJSC/asActivation(fda623bd7e3aaba4).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).())->copyRegisterscxx . . $ QTJSC/JSActivation#copyRegisters(b3923e289cde62a5).(callFrame->optionalCalleeArgumentscxx . . $ QTJSC/ExecState#optionalCalleeArguments(66a58788709e4d3d).()); |
| 3333 | |
| 3334 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_tear_off_activation); |
| 3335 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3336 | } |
| 3337 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_tear_off_arguments) { |
| 3338 | /* tear_off_arguments |
| 3339 | |
| 3340 | Copy all arguments to new memory allocated on the heap, |
| 3341 | and make the 'arguments' object use this memory in the |
| 3342 | future when looking up named parameters, but not any |
| 3343 | extra arguments. If an activation object exists for the |
| 3344 | current function context, then the tear_off_activation |
| 3345 | opcode should be used instead. |
| 3346 | |
| 3347 | This opcode should only be used immediately before op_ret. |
| 3348 | */ |
| 3349 | |
| 3350 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(callFrame->codeBlock()->usesArguments() && !callFrame->codeBlock()->needsFullScopeChain()); |
| 3351 | |
| 3352 | if (callFrame->optionalCalleeArgumentscxx . . $ QTJSC/ExecState#optionalCalleeArguments(66a58788709e4d3d).()) |
| 3353 | callFrame->optionalCalleeArgumentscxx . . $ QTJSC/ExecState#optionalCalleeArguments(66a58788709e4d3d).()->copyRegisterscxx . . $ QTJSC/Arguments#copyRegisters(49f6e7a06ebc5aa8).(); |
| 3354 | |
| 3355 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_tear_off_arguments); |
| 3356 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3357 | } |
| 3358 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_ret) { |
| 3359 | /* ret result(r) |
| 3360 | |
| 3361 | Return register result as the return value of the current |
| 3362 | function call, writing it into the caller's expected return |
| 3363 | value register. In addition, unwind one call frame and |
| 3364 | restore the scope chain, code block instruction pointer and |
| 3365 | register base to those of the calling function. |
| 3366 | */ |
| 3367 | |
| 3368 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! |
| 3369 | Debuggercxx . . $ QTJSC/Debugger#* debugger = callFrame->dynamicGlobalObjectcxx . . $ QTJSC/ExecState#dynamicGlobalObject(4418983463e2bc6a).()->debuggercxx . . $ QTJSC/JSGlobalObject#debugger(1a524ff7b31d81c).(); |
| 3370 | intptr_tcxx . . $ intptr_t# sourceId = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->sourcecxx . . $ QTJSC/CodeBlock#source(387ae131163f03a7).()->asIDcxx . . $ QTJSC/SourceProvider#asID(da6335ded91d79c2).(); |
| 3371 | #endif |
| 3372 | |
| 3373 | int result = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3374 | |
| 3375 | if (callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->needsFullScopeChaincxx . . $ QTJSC/CodeBlock#needsFullScopeChain(50ce9a9e25b4a850).()) |
| 3376 | callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).()->derefcxx . . $ QTJSC/ScopeChainNode#deref(49f6e7a06ebc5aa8).(); |
| 3377 | |
| 3378 | JSValuecxx . . $ QTJSC/JSValue# returnValue = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(result).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3379 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! |
| 3380 | if (debugger) |
| 3381 | debugger->functionExitcxx . . $ QTJSC/Debugger#functionExit(661314651358aafa).(returnValue, sourceId); |
| 3382 | #endif |
| 3383 | |
| 3384 | vPC = callFrame->returnPCcxx . . $ QTJSC/ExecState#returnPC(62fbc1600eb00a5f).(); |
| 3385 | int dst = callFrame->returnValueRegistercxx . . $ QTJSC/ExecState#returnValueRegister(455f465bc33b4cdf).(); |
| 3386 | callFrame = callFrame->callerFramecxx . . $ QTJSC/ExecState#callerFrame(5952b97f5bc87321).(); |
| 3387 | |
| 3388 | if (callFrame->hasHostCallFrameFlagcxx . . $ QTJSC/ExecState#hasHostCallFrameFlag(50ce9a9e25b4a850).()) |
| 3389 | return returnValue; |
| 3390 | |
| 3391 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). returnValue; |
| 3392 | |
| 3393 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3394 | } |
| 3395 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_enter) { |
| 3396 | /* enter |
| 3397 | |
| 3398 | Initializes local variables to undefined and fills constant |
| 3399 | registers with their values. If the code block requires an |
| 3400 | activation, enter_with_activation should be used instead. |
| 3401 | |
| 3402 | This opcode should only be used at the beginning of a code |
| 3403 | block. |
| 3404 | */ |
| 3405 | |
| 3406 | size_t i = 0; |
| 3407 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 3408 | |
| 3409 | for (size_t count = codeBlock->m_numVarscxx . . $ QTJSC/CodeBlock#m_numVars.; i < count; ++i) |
| 3410 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(i) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).(); |
| 3411 | |
| 3412 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_enter); |
| 3413 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3414 | } |
| 3415 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_enter_with_activation) { |
| 3416 | /* enter_with_activation dst(r) |
| 3417 | |
| 3418 | Initializes local variables to undefined, fills constant |
| 3419 | registers with their values, creates an activation object, |
| 3420 | and places the new activation both in dst and at the top |
| 3421 | of the scope chain. If the code block does not require an |
| 3422 | activation, enter should be used instead. |
| 3423 | |
| 3424 | This opcode should only be used at the beginning of a code |
| 3425 | block. |
| 3426 | */ |
| 3427 | |
| 3428 | size_t i = 0; |
| 3429 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 3430 | |
| 3431 | for (size_t count = codeBlock->m_numVarscxx . . $ QTJSC/CodeBlock#m_numVars.; i < count; ++i) |
| 3432 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(i) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsUndefinedcxx . . $ QTJSC/jsUndefined(ad9afe69d7bf6378).(); |
| 3433 | |
| 3434 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3435 | JSActivationcxx . . $ QTJSC/JSActivation#* activation = new (globalData) JSActivation(callFrame, static_cast<FunctionExecutable*>(codeBlock->ownerExecutable())); |
| 3436 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(activation); |
| 3437 | callFrame->setScopeChaincxx . . $ QTJSC/ExecState#setScopeChain(fdc7869371484d42).(callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).()->copycxx . . $ QTJSC/ScopeChainNode#copy(42331f7aadcf3667).()->pushcxx . . $ QTJSC/ScopeChainNode#push(e196140052074d96).(activation)); |
| 3438 | |
| 3439 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_enter_with_activation); |
| 3440 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3441 | } |
| 3442 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_convert_this) { |
| 3443 | /* convert_this this(r) |
| 3444 | |
| 3445 | Takes the value in the 'this' register, converts it to a |
| 3446 | value that is suitable for use as the 'this' value, and |
| 3447 | stores it in the 'this' register. This opcode is emitted |
| 3448 | to avoid doing the conversion in the caller unnecessarily. |
| 3449 | |
| 3450 | This opcode should only be used at the beginning of a code |
| 3451 | block. |
| 3452 | */ |
| 3453 | |
| 3454 | int thisRegister = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3455 | JSValuecxx . . $ QTJSC/JSValue# thisVal = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(thisRegister).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3456 | if (thisVal.needsThisConversioncxx . . $ QTJSC/JSValue#needsThisConversion(50ce9a9e25b4a850).()) |
| 3457 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(thisRegister) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(thisVal.toThisObjectcxx . . $ QTJSC/JSValue#toThisObject(8709ed4849a165ab).(callFrame)); |
| 3458 | |
| 3459 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_convert_this); |
| 3460 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3461 | } |
| 3462 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_init_arguments) { |
| 3463 | /* create_arguments |
| 3464 | |
| 3465 | Initialises the arguments object reference to null to ensure |
| 3466 | we can correctly detect that we need to create it later (or |
| 3467 | avoid creating it altogether). |
| 3468 | |
| 3469 | This opcode should only be used at the beginning of a code |
| 3470 | block. |
| 3471 | */ |
| 3472 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(RegisterFilecxx . . $ QTJSC/RegisterFile#::ArgumentsRegistercxx . . $ QTJSC/RegisterFile#ArgumentsRegister.) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).(); |
| 3473 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_init_arguments); |
| 3474 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3475 | } |
| 3476 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_create_arguments) { |
| 3477 | /* create_arguments |
| 3478 | |
| 3479 | Creates the 'arguments' object and places it in both the |
| 3480 | 'arguments' call frame slot and the local 'arguments' |
| 3481 | register, if it has not already been initialised. |
| 3482 | */ |
| 3483 | |
| 3484 | if (!callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(RegisterFilecxx . . $ QTJSC/RegisterFile#::ArgumentsRegistercxx . . $ QTJSC/RegisterFile#ArgumentsRegister.).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()) { |
| 3485 | Argumentscxx . . $ QTJSC/Arguments#* arguments = new (globalData) Argumentscxx . . $ QTJSC/Arguments#Arguments(d2cb180e190a9680).(callFrame); |
| 3486 | callFrame->setCalleeArgumentscxx . . $ QTJSC/ExecState#setCalleeArguments(5c2ac18db087b3e6).(arguments); |
| 3487 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(RegisterFilecxx . . $ QTJSC/RegisterFile#::ArgumentsRegistercxx . . $ QTJSC/RegisterFile#ArgumentsRegister.) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(arguments); |
| 3488 | } |
| 3489 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_create_arguments); |
| 3490 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3491 | } |
| 3492 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_construct) { |
| 3493 | /* construct dst(r) func(r) argCount(n) registerOffset(n) proto(r) thisRegister(r) |
| 3494 | |
| 3495 | Invoke register "func" as a constructor. For JS |
| 3496 | functions, the calling convention is exactly as for the |
| 3497 | "call" opcode, except that the "this" value is a newly |
| 3498 | created Object. For native constructors, no "this" |
| 3499 | value is passed. In either case, the argCount and registerOffset |
| 3500 | registers are interpreted as for the "call" opcode. |
| 3501 | |
| 3502 | Register proto must contain the prototype property of |
| 3503 | register func. This is to enable polymorphic inline |
| 3504 | caching of this lookup. |
| 3505 | */ |
| 3506 | |
| 3507 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3508 | int func = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3509 | int argCount = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3510 | int registerOffset = vPC[4].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3511 | int proto = vPC[5].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3512 | int thisRegister = vPC[6].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3513 | |
| 3514 | JSValuecxx . . $ QTJSC/JSValue# v = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(func).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3515 | |
| 3516 | ConstructDatacxx . . $ QTJSC/ConstructData# constructData; |
| 3517 | ConstructTypecxx . . $ QTJSC/ConstructType# constructType = v.getConstructDatacxx . . $ QTJSC/JSValue#getConstructData(80014d68d6143eea).(constructData); |
| 3518 | |
| 3519 | if (constructType == ConstructTypeJScxx . . $ QTJSC/ConstructTypeJS.) { |
| 3520 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* callDataScopeChain = constructData.jscxx . . $ QTJSC/ConstructData#js..scopeChaincxx . . $ QTJSC/ConstructData#$anonymous_type_1#scopeChain.; |
| 3521 | CodeBlockcxx . . $ QTJSC/CodeBlock#* newCodeBlock = &constructData.jscxx . . $ QTJSC/ConstructData#js..functionExecutablecxx . . $ QTJSC/ConstructData#$anonymous_type_1#functionExecutable.->bytecodecxx . . $ QTJSC/FunctionExecutable#bytecode(f6188d605a8fbc4b).(callFrame, callDataScopeChain); |
| 3522 | |
| 3523 | Structurecxx . . $ QTJSC/Structure#* structure; |
| 3524 | JSValuecxx . . $ QTJSC/JSValue# prototype = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(proto).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3525 | if (prototype.isObjectcxx . . $ QTJSC/JSValue#isObject(50ce9a9e25b4a850).()) |
| 3526 | structure = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(prototype)->inheritorIDcxx . . $ QTJSC/JSObject#inheritorID(4f089b87575e542).(); |
| 3527 | else |
| 3528 | structure = callDataScopeChain->globalObjectcxx . . $ QTJSC/ScopeChainNode#globalObject.->emptyObjectStructurecxx . . $ QTJSC/JSGlobalObject#emptyObjectStructure(a25848528202c7a).(); |
| 3529 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! |
| 3530 | // ### world-class hack |
| 3531 | QT_PREPEND_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:146:10`!(QScriptObject)* newObject = new (globalData) QT_PREPEND_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:146:10`!(QScriptObject)(structure); |
| 3532 | #else |
| 3533 | JSObject* newObject = new (globalData) JSObject(structure); |
| 3534 | #endif |
| 3535 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(thisRegister) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(newObject); // "this" value |
| 3536 | |
| 3537 | CallFramecxx . . $ QTJSC/CallFrame#* previousCallFrame = callFrame; |
| 3538 | |
| 3539 | callFrame = slideRegisterWindowForCallcxx . . $ QTJSC/Interpreter#slideRegisterWindowForCall(c83f7e92863d893d).(newCodeBlock, registerFile, callFrame, registerOffset, argCount); |
| 3540 | if (UNLIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(!callFrame)) { |
| 3541 | callFrame = previousCallFrame; |
| 3542 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createStackOverflowErrorcxx . . $ QTJSC/createStackOverflowError(3fbe51058e39576a).(callFrame); |
| 3543 | goto vm_throw; |
| 3544 | } |
| 3545 | |
| 3546 | callFrame->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(newCodeBlock, vPC + 7, callDataScopeChain, previousCallFrame, dst, argCount, asFunctioncxx . . $ QTJSC/asFunction(deffc94ad83de35f).(v)); |
| 3547 | vPC = newCodeBlock->instructions().begin(); |
| 3548 | |
| 3549 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_STATS) |
| 3550 | OpcodeStats::resetLastInstruction(); |
| 3551 | #endif |
| 3552 | |
| 3553 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3554 | } |
| 3555 | |
| 3556 | if (constructType == ConstructTypeHostcxx . . $ QTJSC/ConstructTypeHost.) { |
| 3557 | ArgListcxx . . $ QTJSC/ArgList# argscxx . . $ QTJSC/ArgList#ArgList(c5e463275a0682fd).(callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + thisRegister + 1, argCount - 1); |
| 3558 | |
| 3559 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 3560 | CallFramecxx . . $ QTJSC/CallFrame#* newCallFrame = CallFramecxx . . $ QTJSC/CallFrame#::createcxx . . $ QTJSC/ExecState#create(38d04c2988512828).(callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).() + registerOffset); |
| 3561 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! //we need the returnValue to be 0 as it is used as flags |
| 3562 | newCallFrame->initcxx . . $ QTJSC/ExecState#init(cc3691f9f6ec8d44).(0, vPC + 7, scopeChain, callFrame, 0, argCount, asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(v)); |
| 3563 | #else |
| 3564 | newCallFrame->init(0, vPC + 7, scopeChain, callFrame, dst, argCount, asObject(v)); |
| 3565 | #endif |
| 3566 | |
| 3567 | JSValuecxx . . $ QTJSC/JSValue# returnValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).; |
| 3568 | { |
| 3569 | SamplingToolcxx . . $ QTJSC/SamplingTool#::HostCallRecordcxx . . $ QTJSC/SamplingTool#HostCallRecord# callRecord(m_sampler.get()); |
| 3570 | returnValue = constructData.nativecxx . . $ QTJSC/ConstructData#native..functioncxx . . $ QTJSC/ConstructData#$anonymous_type_0#function.(cxx . . $ QTJSC/NativeConstrWrapper#`operator()`(1a7684fd96089e31).newCallFrame, asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(v), args); |
| 3571 | } |
| 3572 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 3573 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(returnValue); |
| 3574 | |
| 3575 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_construct); |
| 3576 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3577 | } |
| 3578 | |
| 3579 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(constructType == ConstructTypeNone); |
| 3580 | |
| 3581 | exceptionValue = createNotAConstructorErrorcxx . . $ QTJSC/createNotAConstructorError(3793ea03f177d60f).(callFrame, v, vPC -cxx . . $ std/operator-(a6e85813984128c7). callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->instructions().begin(), callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()); |
| 3582 | goto vm_throw; |
| 3583 | } |
| 3584 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_construct_verify) { |
| 3585 | /* construct_verify dst(r) override(r) |
| 3586 | |
| 3587 | Verifies that register dst holds an object. If not, moves |
| 3588 | the object in register override to register dst. |
| 3589 | */ |
| 3590 | |
| 3591 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3592 | if (LIKELYcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:53:9`!(callFrame->r(dst).jsValue().isObject())) { |
| 3593 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_construct_verify); |
| 3594 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3595 | } |
| 3596 | |
| 3597 | int override = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3598 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(46bd610ee0b85185). callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(override); |
| 3599 | |
| 3600 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_construct_verify); |
| 3601 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3602 | } |
| 3603 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_strcat) { |
| 3604 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3605 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3606 | int count = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3607 | |
| 3608 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). jsStringcxx . . $ QTJSC/jsString(6a1e182a4f5bfc39).(callFrame, &callFrame->registerscxx . . $ QTJSC/ExecState#registers(b2e4df52de7a0262).()[src], count); |
| 3609 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 3610 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_strcat); |
| 3611 | |
| 3612 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3613 | } |
| 3614 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_to_primitive) { |
| 3615 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3616 | int src = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3617 | |
| 3618 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(src).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toPrimitivecxx . . $ QTJSC/JSValue#toPrimitive(9c1c7f5535dadf1e).(callFrame); |
| 3619 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_to_primitive); |
| 3620 | |
| 3621 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3622 | } |
| 3623 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_push_scope) { |
| 3624 | /* push_scope scope(r) |
| 3625 | |
| 3626 | Converts register scope to object, and pushes it onto the top |
| 3627 | of the current scope chain. The contents of the register scope |
| 3628 | are replaced by the result of toObject conversion of the scope. |
| 3629 | */ |
| 3630 | int scope = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3631 | JSValuecxx . . $ QTJSC/JSValue# v = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(scope).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3632 | JSObjectcxx . . $ QTJSC/JSObject#* o = v.toObjectcxx . . $ QTJSC/JSValue#toObject(8709ed4849a165ab).(callFrame); |
| 3633 | CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`!(); |
| 3634 | |
| 3635 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(scope) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(o); |
| 3636 | callFrame->setScopeChaincxx . . $ QTJSC/ExecState#setScopeChain(fdc7869371484d42).(callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).()->pushcxx . . $ QTJSC/ScopeChainNode#push(e196140052074d96).(o)); |
| 3637 | |
| 3638 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_push_scope); |
| 3639 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3640 | } |
| 3641 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_pop_scope) { |
| 3642 | /* pop_scope |
| 3643 | |
| 3644 | Removes the top item from the current scope chain. |
| 3645 | */ |
| 3646 | callFrame->setScopeChaincxx . . $ QTJSC/ExecState#setScopeChain(fdc7869371484d42).(callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).()->popcxx . . $ QTJSC/ScopeChainNode#pop(42331f7aadcf3667).()); |
| 3647 | |
| 3648 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_pop_scope); |
| 3649 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3650 | } |
| 3651 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_get_pnames) { |
| 3652 | /* get_pnames dst(r) base(r) i(n) size(n) breakTarget(offset) |
| 3653 | |
| 3654 | Creates a property name list for register base and puts it |
| 3655 | in register dst, initializing i and size for iteration. If |
| 3656 | base is undefined or null, jumps to breakTarget. |
| 3657 | */ |
| 3658 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3659 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3660 | int i = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3661 | int size = vPC[4].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3662 | int breakTarget = vPC[5].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3663 | |
| 3664 | JSValuecxx . . $ QTJSC/JSValue# v = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3665 | if (v.isUndefinedOrNullcxx . . $ QTJSC/JSValue#isUndefinedOrNull(50ce9a9e25b4a850).()) { |
| 3666 | vPC += breakTarget; |
| 3667 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3668 | } |
| 3669 | |
| 3670 | JSObjectcxx . . $ QTJSC/JSObject#* o = v.toObjectcxx . . $ QTJSC/JSValue#toObject(8709ed4849a165ab).(callFrame); |
| 3671 | Structurecxx . . $ QTJSC/Structure#* structure = o->structurecxx . . $ QTJSC/JSCell#structure(a25848528202c7a).(); |
| 3672 | JSPropertyNameIteratorcxx . . $ QTJSC/JSPropertyNameIterator#* jsPropertyNameIterator = structure->enumerationCachecxx . . $ QTJSC/Structure#enumerationCache(b992a09cd5c80e0b).(); |
| 3673 | if (!jsPropertyNameIterator || jsPropertyNameIterator->cachedPrototypeChaincxx . . $ QTJSC/JSPropertyNameIterator#cachedPrototypeChain(833892856f17085a).() != structure->prototypeChaincxx . . $ QTJSC/Structure#prototypeChain(92d47f80ba87ca5).(callFrame)) |
| 3674 | jsPropertyNameIterator = JSPropertyNameIteratorcxx . . $ QTJSC/JSPropertyNameIterator#::createcxx . . $ QTJSC/JSPropertyNameIterator#create(876bd6deb1b20dbe).(callFrame, o); |
| 3675 | |
| 3676 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(55c3cc0af7819e8a). jsPropertyNameIterator; |
| 3677 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(o); |
| 3678 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(i) =cxx . . $ QTJSC/Register#`operator=`(7e82ae731ad175a). Registercxx . . $ QTJSC/Register#::withIntcxx . . $ QTJSC/Register#withInt(56c5ad1e8d95a0cb).(0); |
| 3679 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(size) =cxx . . $ QTJSC/Register#`operator=`(7e82ae731ad175a). Registercxx . . $ QTJSC/Register#::withIntcxx . . $ QTJSC/Register#withInt(56c5ad1e8d95a0cb).(jsPropertyNameIterator->sizecxx . . $ QTJSC/JSPropertyNameIterator#size(f708dce9a8856c70).()); |
| 3680 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_get_pnames); |
| 3681 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3682 | } |
| 3683 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_next_pname) { |
| 3684 | /* next_pname dst(r) base(r) i(n) size(n) iter(r) target(offset) |
| 3685 | |
| 3686 | Copies the next name from the property name list in |
| 3687 | register iter to dst, then jumps to offset target. If there are no |
| 3688 | names left, invalidates the iterator and continues to the next |
| 3689 | instruction. |
| 3690 | */ |
| 3691 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3692 | int base = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3693 | int i = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3694 | int size = vPC[4].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3695 | int iter = vPC[5].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3696 | int target = vPC[6].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3697 | |
| 3698 | JSPropertyNameIteratorcxx . . $ QTJSC/JSPropertyNameIterator#* it = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(iter).propertyNameIteratorcxx . . $ QTJSC/Register#propertyNameIterator(e49c90d2977900c6).(); |
| 3699 | while (callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(i).icxx . . $ QTJSC/Register#i(455f465bc33b4cdf).() != callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(size).icxx . . $ QTJSC/Register#i(455f465bc33b4cdf).()) { |
| 3700 | JSValuecxx . . $ QTJSC/JSValue# key = it->getcxx . . $ QTJSC/JSPropertyNameIterator#get(846a27b30d6b17e1).(callFrame, asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()), callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(i).icxx . . $ QTJSC/Register#i(455f465bc33b4cdf).()); |
| 3701 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(i) =cxx . . $ QTJSC/Register#`operator=`(7e82ae731ad175a). Registercxx . . $ QTJSC/Register#::withIntcxx . . $ QTJSC/Register#withInt(56c5ad1e8d95a0cb).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(i).icxx . . $ QTJSC/Register#i(455f465bc33b4cdf).() + 1); |
| 3702 | if (key) { |
| 3703 | CHECK_FOR_TIMEOUTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1177:9`!(); |
| 3704 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). key; |
| 3705 | vPC += target; |
| 3706 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3707 | } |
| 3708 | } |
| 3709 | |
| 3710 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_next_pname); |
| 3711 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3712 | } |
| 3713 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jmp_scopes) { |
| 3714 | /* jmp_scopes count(n) target(offset) |
| 3715 | |
| 3716 | Removes the a number of items from the current scope chain |
| 3717 | specified by immediate number count, then jumps to offset |
| 3718 | target. |
| 3719 | */ |
| 3720 | int count = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3721 | int target = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3722 | |
| 3723 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* tmp = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 3724 | while (count--) |
| 3725 | tmp = tmp->popcxx . . $ QTJSC/ScopeChainNode#pop(42331f7aadcf3667).(); |
| 3726 | callFrame->setScopeChaincxx . . $ QTJSC/ExecState#setScopeChain(fdc7869371484d42).(tmp); |
| 3727 | |
| 3728 | vPC += target; |
| 3729 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3730 | } |
| 3731 | #if HAVEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:46:9`!(COMPUTED_GOTO) |
| 3732 | // Appease GCC |
| 3733 | goto *(&&skip_new_scope); |
| 3734 | #endif |
| 3735 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_push_new_scope) { |
| 3736 | /* new_scope dst(r) property(id) value(r) |
| 3737 | |
| 3738 | Constructs a new StaticScopeObject with property set to value. That scope |
| 3739 | object is then pushed onto the ScopeChain. The scope object is then stored |
| 3740 | in dst for GC. |
| 3741 | */ |
| 3742 | callFrame->setScopeChaincxx . . $ QTJSC/ExecState#setScopeChain(fdc7869371484d42).(createExceptionScopecxx . . $ QTJSC/Interpreter#createExceptionScope(3bac64aecf298d70).(callFrame, vPC)); |
| 3743 | |
| 3744 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_push_new_scope); |
| 3745 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3746 | } |
| 3747 | #if HAVEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:46:9`!(COMPUTED_GOTO) |
| 3748 | skip_new_scope: |
| 3749 | #endif |
| 3750 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_catch) { |
| 3751 | /* catch ex(r) |
| 3752 | |
| 3753 | Retrieves the VM's current exception and puts it in register |
| 3754 | ex. This is only valid after an exception has been raised, |
| 3755 | and usually forms the beginning of an exception handler. |
| 3756 | */ |
| 3757 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(exceptionValue); |
| 3758 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!globalData->exception); |
| 3759 | |
| 3760 | #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`! |
| 3761 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 3762 | Debuggercxx . . $ QTJSC/Debugger#* debugger = callFrame->dynamicGlobalObjectcxx . . $ QTJSC/ExecState#dynamicGlobalObject(4418983463e2bc6a).()->debuggercxx . . $ QTJSC/JSGlobalObject#debugger(1a524ff7b31d81c).(); |
| 3763 | if (debugger) { |
| 3764 | DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame# debuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#DebuggerCallFrame(1aadac95d0a8d6ce).(callFrame, exceptionValue); |
| 3765 | debugger->exceptionCatchcxx . . $ QTJSC/Debugger#exceptionCatch(26f6d5efea35a785).(debuggerCallFrame, codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).()); |
| 3766 | } |
| 3767 | #endif |
| 3768 | |
| 3769 | int ex = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3770 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(ex) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). exceptionValue; |
| 3771 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). JSValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).(); |
| 3772 | |
| 3773 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_catch); |
| 3774 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3775 | } |
| 3776 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_throw) { |
| 3777 | /* throw ex(r) |
| 3778 | |
| 3779 | Throws register ex as an exception. This involves three |
| 3780 | steps: first, it is set as the current exception in the |
| 3781 | VM's internal state, then the stack is unwound until an |
| 3782 | exception handler or a native code boundary is found, and |
| 3783 | then control resumes at the exception handler if any or |
| 3784 | else the script returns control to the nearest native caller. |
| 3785 | */ |
| 3786 | |
| 3787 | int ex = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3788 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(ex).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3789 | |
| 3790 | handler = throwExceptioncxx . . $ QTJSC/Interpreter#throwException(972d677959466ec).(callFrame, exceptionValue, vPC -cxx . . $ std/operator-(a6e85813984128c7). callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->instructions().begin(), true); |
| 3791 | if (!handler) { |
| 3792 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). exceptionValue; |
| 3793 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 3794 | } |
| 3795 | |
| 3796 | vPC = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->instructions().begin() +cxx . . $ operator+(f3789794639247d3). handler->targetcxx . . $ QTJSC/HandlerInfo#target.; |
| 3797 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3798 | } |
| 3799 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_new_error) { |
| 3800 | /* new_error dst(r) type(n) message(k) |
| 3801 | |
| 3802 | Constructs a new Error instance using the original |
| 3803 | constructor, using immediate number n as the type and |
| 3804 | constant message as the message string. The result is |
| 3805 | written to register dst. |
| 3806 | */ |
| 3807 | int dst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3808 | int type = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3809 | int message = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3810 | |
| 3811 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 3812 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(dst) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValuecxx . . $ QTJSC/JSValue#(Errorcxx . . $ QTJSC/Error#::createcxx . . $ QTJSC/Error#create(7b4507467ace1137).(callFrame, (ErrorTypecxx . . $ QTJSC/ErrorType#)type, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(message).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).().toStringcxx . . $ QTJSC/JSValue#toString(9c94f5abb1995042).(callFrame), codeBlock->lineNumberForBytecodeOffsetcxx . . $ QTJSC/CodeBlock#lineNumberForBytecodeOffset(c902a1333cc32b28).(callFrame, vPC -cxx . . $ std/operator-(a6e85813984128c7). codeBlock->instructions().begin()), codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(), codeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceURLcxx . . $ QTJSC/ScriptExecutable#sourceURL(de21ee9ecbd506fd).())); |
| 3813 | |
| 3814 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_new_error); |
| 3815 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3816 | } |
| 3817 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_end) { |
| 3818 | /* end result(r) |
| 3819 | |
| 3820 | Return register result as the value of a global or eval |
| 3821 | program. Return control to the calling native code. |
| 3822 | */ |
| 3823 | |
| 3824 | if (callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->needsFullScopeChaincxx . . $ QTJSC/CodeBlock#needsFullScopeChain(50ce9a9e25b4a850).()) { |
| 3825 | ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChain = callFrame->scopeChaincxx . . $ QTJSC/ExecState#scopeChain(7483ce9f56294eec).(); |
| 3826 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(scopeChain->refCount > 1); |
| 3827 | scopeChain->derefcxx . . $ QTJSC/ScopeChainNode#deref(49f6e7a06ebc5aa8).(); |
| 3828 | } |
| 3829 | int result = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3830 | return callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(result).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3831 | } |
| 3832 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_put_getter) { |
| 3833 | /* put_getter base(r) property(id) function(r) |
| 3834 | |
| 3835 | Sets register function on register base as the getter named |
| 3836 | by identifier property. Base and function are assumed to be |
| 3837 | objects as this op should only be used for getters defined |
| 3838 | in object literal form. |
| 3839 | |
| 3840 | Unlike many opcodes, this one does not write any output to |
| 3841 | the register file. |
| 3842 | */ |
| 3843 | int base = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3844 | int property = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3845 | int function = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3846 | |
| 3847 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(callFrame->r(base).jsValue().isObject()); |
| 3848 | JSObjectcxx . . $ QTJSC/JSObject#* baseObj = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 3849 | Identifiercxx . . $ QTJSC/Identifier#& ident = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 3850 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(callFrame->r(function).jsValue().isObject()); |
| 3851 | baseObj->defineGettercxx . . $ QTJSC/JSObject#defineGetter(413481394bc380b4).(callFrame, ident, asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(function).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).())); |
| 3852 | |
| 3853 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_put_getter); |
| 3854 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3855 | } |
| 3856 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_put_setter) { |
| 3857 | /* put_setter base(r) property(id) function(r) |
| 3858 | |
| 3859 | Sets register function on register base as the setter named |
| 3860 | by identifier property. Base and function are assumed to be |
| 3861 | objects as this op should only be used for setters defined |
| 3862 | in object literal form. |
| 3863 | |
| 3864 | Unlike many opcodes, this one does not write any output to |
| 3865 | the register file. |
| 3866 | */ |
| 3867 | int base = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3868 | int property = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3869 | int function = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3870 | |
| 3871 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(callFrame->r(base).jsValue().isObject()); |
| 3872 | JSObjectcxx . . $ QTJSC/JSObject#* baseObj = asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(base).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 3873 | Identifiercxx . . $ QTJSC/Identifier#& ident = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->identifiercxx . . $ QTJSC/CodeBlock#identifier(dd1f31ac67538611).(property); |
| 3874 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(callFrame->r(function).jsValue().isObject()); |
| 3875 | baseObj->defineSettercxx . . $ QTJSC/JSObject#defineSetter(413481394bc380b4).(callFrame, ident, asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(function).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()), 0); |
| 3876 | |
| 3877 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_put_setter); |
| 3878 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3879 | } |
| 3880 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_method_check) { |
| 3881 | vPC++; |
| 3882 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3883 | } |
| 3884 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_jsr) { |
| 3885 | /* jsr retAddrDst(r) target(offset) |
| 3886 | |
| 3887 | Places the address of the next instruction into the retAddrDst |
| 3888 | register and jumps to offset target from the current instruction. |
| 3889 | */ |
| 3890 | int retAddrDst = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3891 | int target = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3892 | callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(retAddrDst) =cxx . . $ QTJSC/Register#`operator=`(471280538f82a0). vPC + OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_jsr); |
| 3893 | |
| 3894 | vPC += target; |
| 3895 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3896 | } |
| 3897 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_sret) { |
| 3898 | /* sret retAddrSrc(r) |
| 3899 | |
| 3900 | Jumps to the address stored in the retAddrSrc register. This |
| 3901 | differs from op_jmp because the target address is stored in a |
| 3902 | register, not as an immediate. |
| 3903 | */ |
| 3904 | int retAddrSrc = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3905 | vPC = callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(retAddrSrc).vPCcxx . . $ QTJSC/Register#vPC(62fbc1600eb00a5f).(); |
| 3906 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3907 | } |
| 3908 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_debug) { |
| 3909 | /* debug debugHookID(n) firstLine(n) lastLine(n) |
| 3910 | |
| 3911 | Notifies the debugger of the current state of execution. This opcode |
| 3912 | is only generated while the debugger is attached. |
| 3913 | */ |
| 3914 | int debugHookID = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3915 | int firstLine = vPC[2].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3916 | int lastLine = vPC[3].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3917 | |
| 3918 | debugcxx . . $ QTJSC/Interpreter#debug(c71a0da09f7d1644).(callFrame, static_cast<DebugHookIDcxx . . $ QTJSC/DebugHookID#>(debugHookID), firstLine, lastLine); |
| 3919 | |
| 3920 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_debug); |
| 3921 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3922 | } |
| 3923 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_profile_will_call) { |
| 3924 | /* op_profile_will_call function(r) |
| 3925 | |
| 3926 | Notifies the profiler of the beginning of a function call. This opcode |
| 3927 | is only generated if developer tools are enabled. |
| 3928 | */ |
| 3929 | int function = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3930 | |
| 3931 | if (*enabledProfilerReference) |
| 3932 | (*enabledProfilerReference)->willExecutecxx . . $ QTJSC/Profiler#willExecute(1aadac95d0a8d6ce).(callFrame, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(function).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 3933 | |
| 3934 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_profile_will_call); |
| 3935 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3936 | } |
| 3937 | DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`!(op_profile_did_call) { |
| 3938 | /* op_profile_did_call function(r) |
| 3939 | |
| 3940 | Notifies the profiler of the end of a function call. This opcode |
| 3941 | is only generated if developer tools are enabled. |
| 3942 | */ |
| 3943 | int function = vPC[1].ucxx . . $ QTJSC/Instruction#u..operandcxx . . $ QTJSC/Instruction#$anonymous_type_1#operand.; |
| 3944 | |
| 3945 | if (*enabledProfilerReference) |
| 3946 | (*enabledProfilerReference)->didExecutecxx . . $ QTJSC/Profiler#didExecute(1aadac95d0a8d6ce).(callFrame, callFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(function).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()); |
| 3947 | |
| 3948 | vPC += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(op_profile_did_call); |
| 3949 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3950 | } |
| 3951 | vm_throw: { |
| 3952 | globalData->exceptioncxx . . $ QTJSC/JSGlobalData#exception. =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). JSValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).(); |
| 3953 | if (!tickCount) { |
| 3954 | // The exceptionValue is a lie! (GCC produces bad code for reasons I |
| 3955 | // cannot fathom if we don't assign to the exceptionValue before branching) |
| 3956 | exceptionValue =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). createInterruptedExecutionExceptioncxx . . $ QTJSC/createInterruptedExecutionException(5f262fe1c647dd02).(globalData); |
| 3957 | } |
| 3958 | handler = throwExceptioncxx . . $ QTJSC/Interpreter#throwException(972d677959466ec).(callFrame, exceptionValue, vPC -cxx . . $ std/operator-(a6e85813984128c7). callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->instructions().begin(), false); |
| 3959 | if (!handler) { |
| 3960 | *exception =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). exceptionValue; |
| 3961 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 3962 | } |
| 3963 | |
| 3964 | vPC = callFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).()->instructions().begin() +cxx . . $ operator+(f3789794639247d3). handler->targetcxx . . $ QTJSC/HandlerInfo#target.; |
| 3965 | NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`!(); |
| 3966 | } |
| 3967 | } |
| 3968 | #if !HAVEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:46:9`!(COMPUTED_GOTO) |
| 3969 | } // iterator loop ends |
| 3970 | #endif |
| 3971 | #endif // USE(INTERPRETER) |
| 3972 | #undef NEXT_INSTRUCTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1202:13`! |
| 3973 | #undef DEFINE_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1206:13`! |
| 3974 | #undef CHECK_FOR_EXCEPTIONcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1165:9`! |
| 3975 | #undef CHECK_FOR_TIMEOUTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:1177:9`! |
| 3976 | } |
| 3977 | |
| 3978 | JSValuecxx . . $ QTJSC/JSValue# Interpretercxx . . $ QTJSC/Interpreter#::retrieveArgumentscxx . . $ QTJSC/Interpreter#retrieveArguments(3f9d942197bdd3cc).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, JSFunctioncxx . . $ QTJSC/JSFunction#* function) const |
| 3979 | { |
| 3980 | CallFramecxx . . $ QTJSC/CallFrame#* functionCallFrame = findFunctionCallFramecxx . . $ QTJSC/Interpreter#findFunctionCallFrame(b0f7cfc5c7e3e1d4).(callFrame, function); |
| 3981 | if (!functionCallFrame) |
| 3982 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 3983 | |
| 3984 | CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock = functionCallFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 3985 | if (codeBlock->usesArgumentscxx . . $ QTJSC/CodeBlock#usesArguments(50ce9a9e25b4a850).()) { |
| 3986 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(codeBlock->codeType() == FunctionCode); |
| 3987 | SymbolTablecxx . . $ QTJSC/SymbolTable#& symbolTable = *codeBlock->symbolTablecxx . . $ QTJSC/CodeBlock#symbolTable(6567914238d789e4).(); |
| 3988 | int argumentsIndex = symbolTable.get(functionCallFrame->propertyNamescxx . . $ QTJSC/ExecState#propertyNames(16296db726e31f87).().arguments.ustring().rep()).getIndex(); |
| 3989 | if (!functionCallFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(argumentsIndex).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).()) { |
| 3990 | Argumentscxx . . $ QTJSC/Arguments#* arguments = new (callFrame) Argumentscxx . . $ QTJSC/Arguments#Arguments(d2cb180e190a9680).(functionCallFrame); |
| 3991 | functionCallFrame->setCalleeArgumentscxx . . $ QTJSC/ExecState#setCalleeArguments(5c2ac18db087b3e6).(arguments); |
| 3992 | functionCallFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(RegisterFilecxx . . $ QTJSC/RegisterFile#::ArgumentsRegistercxx . . $ QTJSC/RegisterFile#ArgumentsRegister.) =cxx . . $ QTJSC/Register#`operator=`(812d218e081e87f4). JSValue(arguments); |
| 3993 | } |
| 3994 | return functionCallFrame->rcxx . . $ QTJSC/ExecState#r(a4e11caf1b71f23c).(argumentsIndex).jsValuecxx . . $ QTJSC/Register#jsValue(888c053acf364da1).(); |
| 3995 | } |
| 3996 | |
| 3997 | Argumentscxx . . $ QTJSC/Arguments#* arguments = functionCallFrame->optionalCalleeArgumentscxx . . $ QTJSC/ExecState#optionalCalleeArguments(66a58788709e4d3d).(); |
| 3998 | if (!arguments) { |
| 3999 | arguments = new (functionCallFrame) Argumentscxx . . $ QTJSC/Arguments#Arguments(d2cb180e190a9680).(functionCallFrame); |
| 4000 | arguments->copyRegisterscxx . . $ QTJSC/Arguments#copyRegisters(49f6e7a06ebc5aa8).(); |
| 4001 | callFrame->setCalleeArgumentscxx . . $ QTJSC/ExecState#setCalleeArguments(5c2ac18db087b3e6).(arguments); |
| 4002 | } |
| 4003 | |
| 4004 | return arguments; |
| 4005 | } |
| 4006 | |
| 4007 | JSValuecxx . . $ QTJSC/JSValue# Interpretercxx . . $ QTJSC/Interpreter#::retrieveCallercxx . . $ QTJSC/Interpreter#retrieveCaller(ba763e7f33a9c8e7).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, InternalFunctioncxx . . $ QTJSC/InternalFunction#* function) const |
| 4008 | { |
| 4009 | CallFramecxx . . $ QTJSC/CallFrame#* functionCallFrame = findFunctionCallFramecxx . . $ QTJSC/Interpreter#findFunctionCallFrame(b0f7cfc5c7e3e1d4).(callFrame, function); |
| 4010 | if (!functionCallFrame) |
| 4011 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 4012 | |
| 4013 | CallFramecxx . . $ QTJSC/CallFrame#* callerFrame = functionCallFrame->callerFramecxx . . $ QTJSC/ExecState#callerFrame(5952b97f5bc87321).(); |
| 4014 | if (callerFrame->hasHostCallFrameFlagcxx . . $ QTJSC/ExecState#hasHostCallFrameFlag(50ce9a9e25b4a850).()) |
| 4015 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 4016 | |
| 4017 | JSValuecxx . . $ QTJSC/JSValue# caller = callerFrame->calleecxx . . $ QTJSC/ExecState#callee(8ac23ea934d7a115).(); |
| 4018 | if (!caller) |
| 4019 | return jsNullcxx . . $ QTJSC/jsNull(ad9afe69d7bf6378).(); |
| 4020 | |
| 4021 | return caller; |
| 4022 | } |
| 4023 | |
| 4024 | void Interpretercxx . . $ QTJSC/Interpreter#::retrieveLastCallercxx . . $ QTJSC/Interpreter#retrieveLastCaller(6e6ec479fcebc00b).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, int& lineNumber, intptr_tcxx . . $ intptr_t#& sourceID, UStringcxx . . $ QTJSC/UString#& sourceURL, JSValuecxx . . $ QTJSC/JSValue#& function) const |
| 4025 | { |
| 4026 | function =cxx . . $ QTJSC/JSValue#`operator=`(5dfb8b6405afb35f). JSValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).(); |
| 4027 | lineNumber = -1; |
| 4028 | sourceURL = UStringcxx . . $ QTJSC/UString#UString(49f6e7a06ebc5aa8).(); |
| 4029 | |
| 4030 | CallFramecxx . . $ QTJSC/CallFrame#* callerFrame = callFrame->callerFramecxx . . $ QTJSC/ExecState#callerFrame(5952b97f5bc87321).(); |
| 4031 | if (callerFrame->hasHostCallFrameFlagcxx . . $ QTJSC/ExecState#hasHostCallFrameFlag(50ce9a9e25b4a850).()) |
| 4032 | return; |
| 4033 | |
| 4034 | CodeBlockcxx . . $ QTJSC/CodeBlock#* callerCodeBlock = callerFrame->codeBlockcxx . . $ QTJSC/ExecState#codeBlock(a218112474fb222a).(); |
| 4035 | if (!callerCodeBlock) |
| 4036 | return; |
| 4037 | |
| 4038 | unsigned bytecodeOffset = bytecodeOffsetForPCcxx . . $ QTJSC/bytecodeOffsetForPC(c12aded42f5e9e26).(callerFrame, callerCodeBlock, callFrame->returnPCcxx . . $ QTJSC/ExecState#returnPC(62fbc1600eb00a5f).()); |
| 4039 | lineNumber = callerCodeBlock->lineNumberForBytecodeOffsetcxx . . $ QTJSC/CodeBlock#lineNumberForBytecodeOffset(c902a1333cc32b28).(callerFrame, bytecodeOffset - 1); |
| 4040 | sourceID = callerCodeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceIDcxx . . $ QTJSC/ScriptExecutable#sourceID(57a65ae535d7db84).(); |
| 4041 | sourceURL = callerCodeBlock->ownerExecutablecxx . . $ QTJSC/CodeBlock#ownerExecutable(536727ad2b3735a6).()->sourceURLcxx . . $ QTJSC/ScriptExecutable#sourceURL(de21ee9ecbd506fd).(); |
| 4042 | function = callerFrame->calleecxx . . $ QTJSC/ExecState#callee(8ac23ea934d7a115).(); |
| 4043 | } |
| 4044 | |
| 4045 | CallFramecxx . . $ QTJSC/CallFrame#* Interpretercxx . . $ QTJSC/Interpreter#::findFunctionCallFramecxx . . $ QTJSC/Interpreter#findFunctionCallFrame(b0f7cfc5c7e3e1d4).(CallFramecxx . . $ QTJSC/CallFrame#* callFrame, InternalFunctioncxx . . $ QTJSC/InternalFunction#* function) |
| 4046 | { |
| 4047 | for (CallFramecxx . . $ QTJSC/CallFrame#* candidate = callFrame; candidate; candidate = candidate->callerFramecxx . . $ QTJSC/ExecState#callerFrame(5952b97f5bc87321).()->removeHostCallFrameFlagcxx . . $ QTJSC/ExecState#removeHostCallFrameFlag(27c3d7386a195136).()) { |
| 4048 | if (candidate->calleecxx . . $ QTJSC/ExecState#callee(8ac23ea934d7a115).() == function) |
| 4049 | return candidate; |
| 4050 | } |
| 4051 | return 0; |
| 4052 | } |
| 4053 | |
| 4054 | void Interpretercxx . . $ QTJSC/Interpreter#::enableSamplercxx . . $ QTJSC/Interpreter#enableSampler(49f6e7a06ebc5aa8).() |
| 4055 | { |
| 4056 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_SAMPLING) |
| 4057 | if (!m_sampler) { |
| 4058 | m_sampler.set(new SamplingTool(this)); |
| 4059 | m_sampler->setup(); |
| 4060 | } |
| 4061 | #endif |
| 4062 | } |
| 4063 | void Interpretercxx . . $ QTJSC/Interpreter#::dumpSampleDatacxx . . $ QTJSC/Interpreter#dumpSampleData(d2cb180e190a9680).(ExecStatecxx . . $ QTJSC/ExecState#* exec) |
| 4064 | { |
| 4065 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_SAMPLING) |
| 4066 | if (m_sampler) |
| 4067 | m_sampler->dump(exec); |
| 4068 | #else |
| 4069 | UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(exec); |
| 4070 | #endif |
| 4071 | } |
| 4072 | void Interpretercxx . . $ QTJSC/Interpreter#::startSamplingcxx . . $ QTJSC/Interpreter#startSampling(49f6e7a06ebc5aa8).() |
| 4073 | { |
| 4074 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(SAMPLING_THREAD) |
| 4075 | if (!m_sampleEntryDepth) |
| 4076 | SamplingThread::start(); |
| 4077 | |
| 4078 | m_sampleEntryDepth++; |
| 4079 | #endif |
| 4080 | } |
| 4081 | void Interpretercxx . . $ QTJSC/Interpreter#::stopSamplingcxx . . $ QTJSC/Interpreter#stopSampling(49f6e7a06ebc5aa8).() |
| 4082 | { |
| 4083 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(SAMPLING_THREAD) |
| 4084 | m_sampleEntryDepth--; |
| 4085 | if (!m_sampleEntryDepth) |
| 4086 | SamplingThread::stop(); |
| 4087 | #endif |
| 4088 | } |
| 4089 | |
| 4090 | } // namespace JSC |