| 1 | /* |
| 2 | * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. |
| 3 | * |
| 4 | * Redistribution and use in source and binary forms, with or without |
| 5 | * modification, are permitted provided that the following conditions |
| 6 | * are met: |
| 7 | * 1. Redistributions of source code must retain the above copyright |
| 8 | * notice, this list of conditions and the following disclaimer. |
| 9 | * 2. Redistributions in binary form must reproduce the above copyright |
| 10 | * notice, this list of conditions and the following disclaimer in the |
| 11 | * documentation and/or other materials provided with the distribution. |
| 12 | * |
| 13 | * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY |
| 14 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 15 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 16 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR |
| 17 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 18 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 19 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 20 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 21 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 | */ |
| 25 | |
| 26 | #include "config.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/config.h`/ |
| 27 | #include "JIT.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.h`/ |
| 28 | |
| 29 | // This probably does not belong here; adding here for now as a quick Windows build fix. |
| 30 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(ASSEMBLER) && CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86) && !OScxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:49:9`!(MAC_OS_X) |
| 31 | #include "MacroAssembler.h" |
| 32 | JSC::MacroAssemblerX86Common::SSE2CheckState JSC::MacroAssemblerX86Common::s_sse2CheckState = NotCheckedSSE2; |
| 33 | #endif |
| 34 | |
| 35 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT) |
| 36 | |
| 37 | #include "CodeBlock.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/CodeBlock.h`/ |
| 38 | #include "Interpreter.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.h`/ |
| 39 | #include "JITInlineMethods.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITInlineMethods.h`/ |
| 40 | #include "JITStubCall.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubCall.h`/ |
| 41 | #include "JSArray.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h`/ |
| 42 | #include "JSFunction.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSFunction.h`/ |
| 43 | #include "LinkBuffer.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/assembler/LinkBuffer.h`/ |
| 44 | #include "RepatchBuffer.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/assembler/RepatchBuffer.h`/ |
| 45 | #include "ResultType.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/parser/ResultType.h`/ |
| 46 | #include "SamplingTool.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/SamplingTool.h`/ |
| 47 | |
| 48 | #ifndef NDEBUGcxx . . $ `<built-in>:472:9`! |
| 49 | #include <stdio.h> |
| 50 | #endif |
| 51 | |
| 52 | using namespace std; |
| 53 | |
| 54 | namespace JSCcxx . . $ `<built-in>:463:9`! { |
| 55 | |
| 56 | void ctiPatchNearCallByReturnAddresscxx . . $ QTJSC/ctiPatchNearCallByReturnAddress(32e6c5fc47cff784).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeblock, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress, MacroAssemblerCodePtrcxx . . $ QTJSC/MacroAssemblerCodePtr# newCalleeFunction) |
| 57 | { |
| 58 | RepatchBuffercxx . . $ QTJSC/RepatchBuffer# repatchBuffercxx . . $ QTJSC/RepatchBuffer#RepatchBuffer(d4989c577739c98f).(codeblock); |
| 59 | repatchBuffer.relinkNearCallerToTrampolinecxx . . $ QTJSC/RepatchBuffer#relinkNearCallerToTrampoline(64bc749b1d48dc5f).(returnAddress, newCalleeFunction); |
| 60 | } |
| 61 | |
| 62 | void ctiPatchCallByReturnAddresscxx . . $ QTJSC/ctiPatchCallByReturnAddress(32e6c5fc47cff784).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeblock, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress, MacroAssemblerCodePtrcxx . . $ QTJSC/MacroAssemblerCodePtr# newCalleeFunction) |
| 63 | { |
| 64 | RepatchBuffercxx . . $ QTJSC/RepatchBuffer# repatchBuffercxx . . $ QTJSC/RepatchBuffer#RepatchBuffer(d4989c577739c98f).(codeblock); |
| 65 | repatchBuffer.relinkCallerToTrampolinecxx . . $ QTJSC/RepatchBuffer#relinkCallerToTrampoline(64bc749b1d48dc5f).(returnAddress, newCalleeFunction); |
| 66 | } |
| 67 | |
| 68 | void ctiPatchCallByReturnAddresscxx . . $ QTJSC/ctiPatchCallByReturnAddress(fe206c9f06a1cd84).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeblock, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress, FunctionPtrcxx . . $ QTJSC/FunctionPtr# newCalleeFunction) |
| 69 | { |
| 70 | RepatchBuffercxx . . $ QTJSC/RepatchBuffer# repatchBuffercxx . . $ QTJSC/RepatchBuffer#RepatchBuffer(d4989c577739c98f).(codeblock); |
| 71 | repatchBuffer.relinkCallerToFunctioncxx . . $ QTJSC/RepatchBuffer#relinkCallerToFunction(ecbd7ab454a6c949).(returnAddress, newCalleeFunction); |
| 72 | } |
| 73 | |
| 74 | JITcxx . . $ QTJSC/JIT#::JITcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock) |
| 75 | : m_interpretercxx . . $ QTJSC/JIT#m_interpreter.(globalData->interpretercxx . . $ QTJSC/JSGlobalData#interpreter.) |
| 76 | , m_globalDatacxx . . $ QTJSC/JIT#m_globalData.(globalData) |
| 77 | , m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.(codeBlock) |
| 78 | , m_labels(codeBlock ? codeBlock->instructions().size() : 0) |
| 79 | , m_propertyAccessCompilationInfo(codeBlock ? codeBlock->numberOfStructureStubInfos() : 0) |
| 80 | , m_callStructureStubCompilationInfo(codeBlock ? codeBlock->numberOfCallLinkInfos() : 0) |
| 81 | , m_bytecodeIndexcxx . . $ QTJSC/JIT#m_bytecodeIndex.((unsigned)-1) |
| 82 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 83 | , m_jumpTargetIndex(0) |
| 84 | , m_mappedBytecodeIndex((unsigned)-1) |
| 85 | , m_mappedVirtualRegisterIndex((unsigned)-1) |
| 86 | , m_mappedTag((RegisterID)-1) |
| 87 | , m_mappedPayload((RegisterID)-1) |
| 88 | #else |
| 89 | , m_lastResultBytecodeRegistercxx . . $ QTJSC/JIT#m_lastResultBytecodeRegister.(stdcxx . . $ std/::numeric_limitscxx . . $ std/numeric_limits#<int>::maxcxx . . $ std/numeric_limits#max(b126dc7c1de90089).()) |
| 90 | , m_jumpTargetsPositioncxx . . $ QTJSC/JIT#m_jumpTargetsPosition.(0) |
| 91 | #endif |
| 92 | { |
| 93 | } |
| 94 | |
| 95 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 96 | void JIT::emitTimeoutCheck() |
| 97 | { |
| 98 | Jump skipTimeout = branchSub32(NonZero, Imm32(1), timeoutCheckRegister); |
| 99 | JITStubCall stubCall(this, cti_timeout_check); |
| 100 | stubCall.addArgument(regT1, regT0); // save last result registers. |
| 101 | stubCall.call(timeoutCheckRegister); |
| 102 | stubCall.getArgument(0, regT1, regT0); // reload last result registers. |
| 103 | skipTimeout.link(this); |
| 104 | } |
| 105 | #else |
| 106 | void JITcxx . . $ QTJSC/JIT#::emitTimeoutCheckcxx . . $ QTJSC/JIT#emitTimeoutCheck(49f6e7a06ebc5aa8).() |
| 107 | { |
| 108 | Jump skipTimeout = branchSub32(NonZero, Imm32(1), timeoutCheckRegister); |
| 109 | JITStubCallcxx . . $ QTJSC/JITStubCall#JITStubCall(48ce3e8ff9d646eb).(this, cti_timeout_check).call(timeoutCheckRegister); |
| 110 | skipTimeout.link(this); |
| 111 | |
| 112 | killLastResultRegistercxx . . $ QTJSC/JIT#killLastResultRegister(49f6e7a06ebc5aa8).(); |
| 113 | } |
| 114 | #endif |
| 115 | |
| 116 | #define NEXT_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:116:9`!(name) \ |
| 117 | m_bytecodeIndex += OPCODE_LENGTHcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h:188:13`!(name); \ |
| 118 | break; |
| 119 | |
| 120 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 121 | #define DEFINE_BINARY_OP(name) \ |
| 122 | case name: { \ |
| 123 | JITStubCall stubCall(this, cti_##name); \ |
| 124 | stubCall.addArgument(currentInstruction[2].u.operand); \ |
| 125 | stubCall.addArgument(currentInstruction[3].u.operand); \ |
| 126 | stubCall.call(currentInstruction[1].u.operand); \ |
| 127 | NEXT_OPCODE(name); \ |
| 128 | } |
| 129 | |
| 130 | #define DEFINE_UNARY_OP(name) \ |
| 131 | case name: { \ |
| 132 | JITStubCall stubCall(this, cti_##name); \ |
| 133 | stubCall.addArgument(currentInstruction[2].u.operand); \ |
| 134 | stubCall.call(currentInstruction[1].u.operand); \ |
| 135 | NEXT_OPCODE(name); \ |
| 136 | } |
| 137 | |
| 138 | #else // USE(JSVALUE32_64) |
| 139 | |
| 140 | #define DEFINE_BINARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:140:9`!(name) \ |
| 141 | case name: { \ |
| 142 | JITStubCall stubCall(this, cti_##name); \ |
| 143 | stubCall.addArgument(currentInstruction[2].u.operand, regT2); \ |
| 144 | stubCall.addArgument(currentInstruction[3].u.operand, regT2); \ |
| 145 | stubCall.call(currentInstruction[1].u.operand); \ |
| 146 | NEXT_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:116:9`!(name); \ |
| 147 | } |
| 148 | |
| 149 | #define DEFINE_UNARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:149:9`!(name) \ |
| 150 | case name: { \ |
| 151 | JITStubCall stubCall(this, cti_##name); \ |
| 152 | stubCall.addArgument(currentInstruction[2].u.operand, regT2); \ |
| 153 | stubCall.call(currentInstruction[1].u.operand); \ |
| 154 | NEXT_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:116:9`!(name); \ |
| 155 | } |
| 156 | #endif // USE(JSVALUE32_64) |
| 157 | |
| 158 | #define DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(name) \ |
| 159 | case name: { \ |
| 160 | emit_##name(currentInstruction); \ |
| 161 | NEXT_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:116:9`!(name); \ |
| 162 | } |
| 163 | |
| 164 | #define DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(name) \ |
| 165 | case name: { \ |
| 166 | emitSlow_##name(currentInstruction, iter); \ |
| 167 | NEXT_OPCODEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:116:9`!(name); \ |
| 168 | } |
| 169 | |
| 170 | void JITcxx . . $ QTJSC/JIT#::privateCompileMainPasscxx . . $ QTJSC/JIT#privateCompileMainPass(49f6e7a06ebc5aa8).() |
| 171 | { |
| 172 | Instructioncxx . . $ QTJSC/Instruction#* instructionsBegin = m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->instructions().begin(); |
| 173 | unsigned instructionCount = m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->instructions().size(); |
| 174 | |
| 175 | m_propertyAccessInstructionIndexcxx . . $ QTJSC/JIT#m_propertyAccessInstructionIndex. = 0; |
| 176 | m_globalResolveInfoIndexcxx . . $ QTJSC/JIT#m_globalResolveInfoIndex. = 0; |
| 177 | m_callLinkInfoIndexcxx . . $ QTJSC/JIT#m_callLinkInfoIndex. = 0; |
| 178 | |
| 179 | for (m_bytecodeIndexcxx . . $ QTJSC/JIT#m_bytecodeIndex. = 0; m_bytecodeIndexcxx . . $ QTJSC/JIT#m_bytecodeIndex. < instructionCount; ) { |
| 180 | Instructioncxx . . $ QTJSC/Instruction#* currentInstruction = instructionsBegin + m_bytecodeIndexcxx . . $ QTJSC/JIT#m_bytecodeIndex.; |
| 181 | ASSERT_WITH_MESSAGEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:213:9`!(m_interpreter->isOpcode(currentInstruction->u.opcode), "privateCompileMainPass gone bad @ %d", m_bytecodeIndex); |
| 182 | |
| 183 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_SAMPLING) |
| 184 | if (m_bytecodeIndex > 0) // Avoid the overhead of sampling op_enter twice. |
| 185 | sampleInstruction(currentInstruction); |
| 186 | #endif |
| 187 | |
| 188 | #if !USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 189 | if (m_labels[m_bytecodeIndex].isUsed()) |
| 190 | killLastResultRegistercxx . . $ QTJSC/JIT#killLastResultRegister(49f6e7a06ebc5aa8).(); |
| 191 | #endif |
| 192 | |
| 193 | m_labels[m_bytecodeIndex] = label(); |
| 194 | |
| 195 | switch (m_interpretercxx . . $ QTJSC/JIT#m_interpreter.->getOpcodeIDcxx . . $ QTJSC/Interpreter#getOpcodeID(720968b0507a9cd2).(currentInstruction->ucxx . . $ QTJSC/Instruction#u..opcodecxx . . $ QTJSC/Instruction#$anonymous_type_1#opcode.)) { |
| 196 | DEFINE_BINARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:140:9`!(op_del_by_val) |
| 197 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32) |
| 198 | DEFINE_BINARY_OP(op_div) |
| 199 | #endif |
| 200 | DEFINE_BINARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:140:9`!(op_in) |
| 201 | DEFINE_BINARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:140:9`!(op_less) |
| 202 | DEFINE_BINARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:140:9`!(op_lesseq) |
| 203 | DEFINE_BINARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:140:9`!(op_urshift) |
| 204 | DEFINE_UNARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:149:9`!(op_is_boolean) |
| 205 | DEFINE_UNARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:149:9`!(op_is_function) |
| 206 | DEFINE_UNARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:149:9`!(op_is_number) |
| 207 | DEFINE_UNARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:149:9`!(op_is_object) |
| 208 | DEFINE_UNARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:149:9`!(op_is_string) |
| 209 | DEFINE_UNARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:149:9`!(op_is_undefined) |
| 210 | #if !USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 211 | DEFINE_UNARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:149:9`!(op_negate) |
| 212 | #endif |
| 213 | DEFINE_UNARY_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:149:9`!(op_typeof) |
| 214 | |
| 215 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_add) |
| 216 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_bitand) |
| 217 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_bitnot) |
| 218 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_bitor) |
| 219 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_bitxor) |
| 220 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_call) |
| 221 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_call_eval) |
| 222 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_call_varargs) |
| 223 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_catch) |
| 224 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_construct) |
| 225 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_construct_verify) |
| 226 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_convert_this) |
| 227 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_init_arguments) |
| 228 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_create_arguments) |
| 229 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_debug) |
| 230 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_del_by_id) |
| 231 | #if !USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32) |
| 232 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_div) |
| 233 | #endif |
| 234 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_end) |
| 235 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_enter) |
| 236 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_enter_with_activation) |
| 237 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_eq) |
| 238 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_eq_null) |
| 239 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_get_by_id) |
| 240 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_get_by_val) |
| 241 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_get_by_pname) |
| 242 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_get_global_var) |
| 243 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_get_pnames) |
| 244 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_get_scoped_var) |
| 245 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_instanceof) |
| 246 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jeq_null) |
| 247 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jfalse) |
| 248 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jmp) |
| 249 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jmp_scopes) |
| 250 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jneq_null) |
| 251 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jneq_ptr) |
| 252 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jnless) |
| 253 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jless) |
| 254 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jnlesseq) |
| 255 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jsr) |
| 256 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_jtrue) |
| 257 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_load_varargs) |
| 258 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_loop) |
| 259 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_loop_if_less) |
| 260 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_loop_if_lesseq) |
| 261 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_loop_if_true) |
| 262 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_loop_if_false) |
| 263 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_lshift) |
| 264 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_method_check) |
| 265 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_mod) |
| 266 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_mov) |
| 267 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_mul) |
| 268 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 269 | DEFINE_OP(op_negate) |
| 270 | #endif |
| 271 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_neq) |
| 272 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_neq_null) |
| 273 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_new_array) |
| 274 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_new_error) |
| 275 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_new_func) |
| 276 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_new_func_exp) |
| 277 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_new_object) |
| 278 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_new_regexp) |
| 279 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_next_pname) |
| 280 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_not) |
| 281 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_nstricteq) |
| 282 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_pop_scope) |
| 283 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_post_dec) |
| 284 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_post_inc) |
| 285 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_pre_dec) |
| 286 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_pre_inc) |
| 287 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_profile_did_call) |
| 288 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_profile_will_call) |
| 289 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_push_new_scope) |
| 290 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_push_scope) |
| 291 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_put_by_id) |
| 292 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_put_by_index) |
| 293 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_put_by_val) |
| 294 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_put_getter) |
| 295 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_put_global_var) |
| 296 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_put_scoped_var) |
| 297 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_put_setter) |
| 298 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_resolve) |
| 299 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_resolve_base) |
| 300 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_resolve_global) |
| 301 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_resolve_skip) |
| 302 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_resolve_with_base) |
| 303 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_ret) |
| 304 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_rshift) |
| 305 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_sret) |
| 306 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_strcat) |
| 307 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_stricteq) |
| 308 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_sub) |
| 309 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_switch_char) |
| 310 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_switch_imm) |
| 311 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_switch_string) |
| 312 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_tear_off_activation) |
| 313 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_tear_off_arguments) |
| 314 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_throw) |
| 315 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_to_jsnumber) |
| 316 | DEFINE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:158:9`!(op_to_primitive) |
| 317 | |
| 318 | case op_get_array_lengthcxx . . $ QTJSC/op_get_array_length.: |
| 319 | case op_get_by_id_chaincxx . . $ QTJSC/op_get_by_id_chain.: |
| 320 | case op_get_by_id_genericcxx . . $ QTJSC/op_get_by_id_generic.: |
| 321 | case op_get_by_id_protocxx . . $ QTJSC/op_get_by_id_proto.: |
| 322 | case op_get_by_id_proto_listcxx . . $ QTJSC/op_get_by_id_proto_list.: |
| 323 | case op_get_by_id_selfcxx . . $ QTJSC/op_get_by_id_self.: |
| 324 | case op_get_by_id_self_listcxx . . $ QTJSC/op_get_by_id_self_list.: |
| 325 | case op_get_string_lengthcxx . . $ QTJSC/op_get_string_length.: |
| 326 | case op_put_by_id_genericcxx . . $ QTJSC/op_put_by_id_generic.: |
| 327 | case op_put_by_id_replacecxx . . $ QTJSC/op_put_by_id_replace.: |
| 328 | case op_put_by_id_transitioncxx . . $ QTJSC/op_put_by_id_transition.: |
| 329 | ASSERT_NOT_REACHEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:185:9`!(); |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_propertyAccessInstructionIndex == m_codeBlock->numberOfStructureStubInfos()); |
| 334 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_callLinkInfoIndex == m_codeBlock->numberOfCallLinkInfos()); |
| 335 | |
| 336 | #ifndef NDEBUGcxx . . $ `<built-in>:472:9`! |
| 337 | // Reset this, in order to guard its use with ASSERTs. |
| 338 | m_bytecodeIndex = (unsigned)-1; |
| 339 | #endif |
| 340 | } |
| 341 | |
| 342 | |
| 343 | void JITcxx . . $ QTJSC/JIT#::privateCompileLinkPasscxx . . $ QTJSC/JIT#privateCompileLinkPass(49f6e7a06ebc5aa8).() |
| 344 | { |
| 345 | unsigned jmpTableCount = m_jmpTable.size(); |
| 346 | for (unsigned i = 0; i < jmpTableCount; ++i) |
| 347 | m_jmpTable[i].from.linkTo(m_labels[m_jmpTable[i].toBytecodeIndex], this); |
| 348 | m_jmpTable.clear(); |
| 349 | } |
| 350 | |
| 351 | void JITcxx . . $ QTJSC/JIT#::privateCompileSlowCasescxx . . $ QTJSC/JIT#privateCompileSlowCases(49f6e7a06ebc5aa8).() |
| 352 | { |
| 353 | Instructioncxx . . $ QTJSC/Instruction#* instructionsBegin = m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->instructions().begin(); |
| 354 | |
| 355 | m_propertyAccessInstructionIndexcxx . . $ QTJSC/JIT#m_propertyAccessInstructionIndex. = 0; |
| 356 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 357 | m_globalResolveInfoIndex = 0; |
| 358 | #endif |
| 359 | m_callLinkInfoIndexcxx . . $ QTJSC/JIT#m_callLinkInfoIndex. = 0; |
| 360 | |
| 361 | for (Vector<SlowCaseEntry>::iterator iter = m_slowCases.begin(); iter != m_slowCases.end();) { |
| 362 | #if !USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 363 | killLastResultRegistercxx . . $ QTJSC/JIT#killLastResultRegister(49f6e7a06ebc5aa8).(); |
| 364 | #endif |
| 365 | |
| 366 | m_bytecodeIndexcxx . . $ QTJSC/JIT#m_bytecodeIndex. = iter->to; |
| 367 | #ifndef NDEBUGcxx . . $ `<built-in>:472:9`! |
| 368 | unsigned firstTo = m_bytecodeIndex; |
| 369 | #endif |
| 370 | Instructioncxx . . $ QTJSC/Instruction#* currentInstruction = instructionsBegin + m_bytecodeIndexcxx . . $ QTJSC/JIT#m_bytecodeIndex.; |
| 371 | |
| 372 | switch (m_interpretercxx . . $ QTJSC/JIT#m_interpreter.->getOpcodeIDcxx . . $ QTJSC/Interpreter#getOpcodeID(720968b0507a9cd2).(currentInstruction->ucxx . . $ QTJSC/Instruction#u..opcodecxx . . $ QTJSC/Instruction#$anonymous_type_1#opcode.)) { |
| 373 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_add) |
| 374 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_bitand) |
| 375 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_bitnot) |
| 376 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_bitor) |
| 377 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_bitxor) |
| 378 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_call) |
| 379 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_call_eval) |
| 380 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_call_varargs) |
| 381 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_construct) |
| 382 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_construct_verify) |
| 383 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_convert_this) |
| 384 | #if !USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32) |
| 385 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_div) |
| 386 | #endif |
| 387 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_eq) |
| 388 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_get_by_id) |
| 389 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_get_by_val) |
| 390 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_get_by_pname) |
| 391 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_instanceof) |
| 392 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_jfalse) |
| 393 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_jnless) |
| 394 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_jless) |
| 395 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_jnlesseq) |
| 396 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_jtrue) |
| 397 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_loop_if_less) |
| 398 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_loop_if_lesseq) |
| 399 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_loop_if_true) |
| 400 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_loop_if_false) |
| 401 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_lshift) |
| 402 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_method_check) |
| 403 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_mod) |
| 404 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_mul) |
| 405 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 406 | DEFINE_SLOWCASE_OP(op_negate) |
| 407 | #endif |
| 408 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_neq) |
| 409 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_not) |
| 410 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_nstricteq) |
| 411 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_post_dec) |
| 412 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_post_inc) |
| 413 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_pre_dec) |
| 414 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_pre_inc) |
| 415 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_put_by_id) |
| 416 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_put_by_val) |
| 417 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 418 | DEFINE_SLOWCASE_OP(op_resolve_global) |
| 419 | #endif |
| 420 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_rshift) |
| 421 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_stricteq) |
| 422 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_sub) |
| 423 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_to_jsnumber) |
| 424 | DEFINE_SLOWCASE_OPcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.cpp:164:9`!(op_to_primitive) |
| 425 | default: |
| 426 | ASSERT_NOT_REACHEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:185:9`!(); |
| 427 | } |
| 428 | |
| 429 | ASSERT_WITH_MESSAGEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:213:9`!(iter == m_slowCases.end() || firstTo != iter->to,"Not enough jumps linked in slow case codegen."); |
| 430 | ASSERT_WITH_MESSAGEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:213:9`!(firstTo == (iter - 1)->to, "Too many jumps linked in slow case codegen."); |
| 431 | |
| 432 | emitJumpSlowToHot(jump(), 0); |
| 433 | } |
| 434 | |
| 435 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT_OPTIMIZE_PROPERTY_ACCESS) |
| 436 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_propertyAccessInstructionIndex == m_codeBlock->numberOfStructureStubInfos()); |
| 437 | #endif |
| 438 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_callLinkInfoIndex == m_codeBlock->numberOfCallLinkInfos()); |
| 439 | |
| 440 | #ifndef NDEBUGcxx . . $ `<built-in>:472:9`! |
| 441 | // Reset this, in order to guard its use with ASSERTs. |
| 442 | m_bytecodeIndex = (unsigned)-1; |
| 443 | #endif |
| 444 | } |
| 445 | |
| 446 | JITCodecxx . . $ QTJSC/JITCode# JITcxx . . $ QTJSC/JIT#::privateCompilecxx . . $ QTJSC/JIT#privateCompile(ea2787ed6e085def).() |
| 447 | { |
| 448 | sampleCodeBlockcxx . . $ QTJSC/JIT#sampleCodeBlock(d4989c577739c98f).(m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.); |
| 449 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_SAMPLING) |
| 450 | sampleInstruction(m_codeBlock->instructions().begin()); |
| 451 | #endif |
| 452 | |
| 453 | // Could use a pop_m, but would need to offset the following instruction if so. |
| 454 | preserveReturnAddressAfterCallcxx . . $ QTJSC/JIT#preserveReturnAddressAfterCall(c5485d8da2f98d3e).(regT2); |
| 455 | emitPutToCallFrameHeadercxx . . $ QTJSC/JIT#emitPutToCallFrameHeader(45c6cca8fa5f4677).(regT2, RegisterFilecxx . . $ QTJSC/RegisterFile#::ReturnPCcxx . . $ QTJSC/RegisterFile#ReturnPC.); |
| 456 | |
| 457 | Jump slowRegisterFileCheck; |
| 458 | Labelcxx . . $ QTJSC/Label# afterRegisterFileCheck; |
| 459 | if (m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->codeTypecxx . . $ QTJSC/CodeBlock#codeType(d2f6fb92a9344f2e).() == FunctionCodecxx . . $ QTJSC/FunctionCode.) { |
| 460 | // In the case of a fast linked call, we do not set this up in the caller. |
| 461 | emitPutImmediateToCallFrameHeadercxx . . $ QTJSC/JIT#emitPutImmediateToCallFrameHeader(800ccc4ec29ccd79).(m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock., RegisterFilecxx . . $ QTJSC/RegisterFile#::CodeBlockcxx . . $ QTJSC/RegisterFile#CodeBlock.); |
| 462 | |
| 463 | peekcxx . . $ QTJSC/MacroAssembler#peek(ef123357da10c91d).(regT0, OBJECT_OFFSETOFcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h:49:9`!(JITStackFrame, registerFile) / sizeof (void*)); |
| 464 | addPtrcxx . . $ QTJSC/MacroAssemblerX86_64#addPtr(641b3dd381fb1c10).(Imm32(m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->m_numCalleeRegisterscxx . . $ QTJSC/CodeBlock#m_numCalleeRegisters. * sizeof(Registercxx . . $ QTJSC/Register#)), callFrameRegister, regT1); |
| 465 | |
| 466 | slowRegisterFileCheck = branchPtr(Above, regT1, Address(regT0, OBJECT_OFFSETOFcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h:49:9`!(RegisterFile, m_end))); |
| 467 | afterRegisterFileCheck = label(); |
| 468 | } |
| 469 | |
| 470 | privateCompileMainPasscxx . . $ QTJSC/JIT#privateCompileMainPass(49f6e7a06ebc5aa8).(); |
| 471 | privateCompileLinkPasscxx . . $ QTJSC/JIT#privateCompileLinkPass(49f6e7a06ebc5aa8).(); |
| 472 | privateCompileSlowCasescxx . . $ QTJSC/JIT#privateCompileSlowCases(49f6e7a06ebc5aa8).(); |
| 473 | |
| 474 | if (m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->codeTypecxx . . $ QTJSC/CodeBlock#codeType(d2f6fb92a9344f2e).() == FunctionCodecxx . . $ QTJSC/FunctionCode.) { |
| 475 | slowRegisterFileCheck.link(this); |
| 476 | m_bytecodeIndexcxx . . $ QTJSC/JIT#m_bytecodeIndex. = 0; |
| 477 | JITStubCallcxx . . $ QTJSC/JITStubCall#JITStubCall(bc64d50d1a28db54).(this, cti_register_file_check).call(); |
| 478 | #ifndef NDEBUGcxx . . $ `<built-in>:472:9`! |
| 479 | m_bytecodeIndex = (unsigned)-1; // Reset this, in order to guard its use with ASSERTs. |
| 480 | #endif |
| 481 | jumpcxx . . $ QTJSC/MacroAssembler#jump(c5485d8da2f98d3e).(afterRegisterFileCheck); |
| 482 | } |
| 483 | |
| 484 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_jmpTable.isEmpty()); |
| 485 | |
| 486 | LinkBuffercxx . . $ QTJSC/LinkBuffer# patchBuffer(this, m_globalDatacxx . . $ QTJSC/JIT#m_globalData.->executableAllocator.poolForSize(m_assembler.size())); |
| 487 | |
| 488 | // Translate vPC offsets into addresses in JIT generated code, for switch tables. |
| 489 | for (unsigned i = 0; i < m_switches.size(); ++i) { |
| 490 | SwitchRecordcxx . . $ QTJSC/SwitchRecord# record = m_switches[i]; |
| 491 | unsigned bytecodeIndex = record.bytecodeIndexcxx . . $ QTJSC/SwitchRecord#bytecodeIndex.; |
| 492 | |
| 493 | if (record.typecxx . . $ QTJSC/SwitchRecord#type. != SwitchRecordcxx . . $ QTJSC/SwitchRecord#::Stringcxx . . $ QTJSC/SwitchRecord#String.) { |
| 494 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(record.type == SwitchRecord::Immediate || record.type == SwitchRecord::Character); |
| 495 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(record.jumpTable.simpleJumpTable->branchOffsets.size() == record.jumpTable.simpleJumpTable->ctiOffsets.size()); |
| 496 | |
| 497 | record.jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable..simpleJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#simpleJumpTable.->ctiDefaultcxx . . $ QTJSC/SimpleJumpTable#ctiDefault. = patchBuffer.locationOfcxx . . $ QTJSC/LinkBuffer#locationOf(9c800df4b359ec60).(m_labels[bytecodeIndex + record.defaultOffset]); |
| 498 | |
| 499 | for (unsigned j = 0; j <cxx . . $ QTJSC/`operator<`(11610d830df66bbf). record.jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable..simpleJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#simpleJumpTable.->branchOffsets.size(); ++j) { |
| 500 | unsigned offset = record.jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable..simpleJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#simpleJumpTable.->branchOffsets[j]; |
| 501 | record.jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable..simpleJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#simpleJumpTable.->ctiOffsets[j] = offset ? patchBuffer.locationOfcxx . . $ QTJSC/LinkBuffer#locationOf(9c800df4b359ec60).(m_labels[bytecodeIndex + offset]) : record.jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable..simpleJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#simpleJumpTable.->ctiDefaultcxx . . $ QTJSC/SimpleJumpTable#ctiDefault.; |
| 502 | } |
| 503 | } else { |
| 504 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(record.type == SwitchRecord::String); |
| 505 | |
| 506 | record.jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable..stringJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#stringJumpTable.->ctiDefaultcxx . . $ QTJSC/StringJumpTable#ctiDefault. = patchBuffer.locationOfcxx . . $ QTJSC/LinkBuffer#locationOf(9c800df4b359ec60).(m_labels[bytecodeIndex + record.defaultOffset]); |
| 507 | |
| 508 | StringJumpTable::StringOffsetTable::iterator end = record.jumpTable.stringJumpTable->offsetTable.end(); |
| 509 | for (StringJumpTable::StringOffsetTable::iterator it = record.jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable..stringJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#stringJumpTable.->offsetTablecxx . . $ QTJSC/StringJumpTable#offsetTable..begin(); it !=cxx . . $ QTJSC/`operator!=`(8208a731c2dadbc2). endcxx . . $ std/end(309ad712043406cf).; ++it) { |
| 510 | unsigned offset = it->second.branchOffset; |
| 511 | it->second.ctiOffset = offset ? patchBuffer.locationOfcxx . . $ QTJSC/LinkBuffer#locationOf(9c800df4b359ec60).(m_labels[bytecodeIndex + offset]) : record.jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable..stringJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#stringJumpTable.->ctiDefaultcxx . . $ QTJSC/StringJumpTable#ctiDefault.; |
| 512 | } |
| 513 | } |
| 514 | } |
| 515 | |
| 516 | for (size_t i = 0; i < m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->numberOfExceptionHandlerscxx . . $ QTJSC/CodeBlock#numberOfExceptionHandlers(fe4d2d262d4164a8).(); ++i) { |
| 517 | HandlerInfocxx . . $ QTJSC/HandlerInfo#& handler = m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->exceptionHandlercxx . . $ QTJSC/CodeBlock#exceptionHandler(7d21860288568ee2).(i); |
| 518 | handler.nativeCodecxx . . $ QTJSC/HandlerInfo#nativeCode. = patchBuffer.locationOfcxx . . $ QTJSC/LinkBuffer#locationOf(9c800df4b359ec60).(m_labels[handler.target]); |
| 519 | } |
| 520 | |
| 521 | for (Vector<CallRecord>::iterator iter = m_calls.begin(); iter != m_calls.end(); ++iter) { |
| 522 | if (iter->to) |
| 523 | patchBuffer.linkcxx . . $ QTJSC/LinkBuffer#link(77648281970c4a25).(iter->from, FunctionPtrcxx . . $ QTJSC/FunctionPtr#(iter->to)); |
| 524 | } |
| 525 | |
| 526 | if (m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->hasExceptionInfocxx . . $ QTJSC/CodeBlock#hasExceptionInfo(50ce9a9e25b4a850).()) { |
| 527 | m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->callReturnIndexVector().reserveCapacity(m_calls.size()); |
| 528 | for (Vector<CallRecord>::iterator iter = m_calls.begin(); iter != m_calls.end(); ++iter) |
| 529 | m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->callReturnIndexVector().append(CallReturnOffsetToBytecodeIndexcxx . . $ QTJSC/CallReturnOffsetToBytecodeIndex#(patchBuffer.returnAddressOffsetcxx . . $ QTJSC/LinkBuffer#returnAddressOffset(46cc46841198e427).(iter->from), iter->bytecodeIndex)); |
| 530 | } |
| 531 | |
| 532 | // Link absolute addresses for jsr |
| 533 | for (Vector<JSRInfo>::iterator iter = m_jsrSites.begin(); iter != m_jsrSites.end(); ++iter) |
| 534 | patchBuffer.patchcxx . . $ QTJSC/LinkBuffer#patch(6ca3d68f5c5f0975).(iter->storeLocation, patchBuffer.locationOfcxx . . $ QTJSC/LinkBuffer#locationOf(9c800df4b359ec60).(iter->target).executableAddress()); |
| 535 | |
| 536 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT_OPTIMIZE_PROPERTY_ACCESS) |
| 537 | for (unsigned i = 0; i < m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->numberOfStructureStubInfoscxx . . $ QTJSC/CodeBlock#numberOfStructureStubInfos(fe4d2d262d4164a8).(); ++i) { |
| 538 | StructureStubInfocxx . . $ QTJSC/StructureStubInfo#& info = m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->structureStubInfocxx . . $ QTJSC/CodeBlock#structureStubInfo(51c3c3fac750758e).(i); |
| 539 | info.callReturnLocationcxx . . $ QTJSC/StructureStubInfo#callReturnLocation. = patchBuffer.locationOfcxx . . $ QTJSC/LinkBuffer#locationOf(9c800df4b359ec60).(m_propertyAccessCompilationInfo[i].callReturnLocation); |
| 540 | info.hotPathBegincxx . . $ QTJSC/StructureStubInfo#hotPathBegin. = patchBuffer.locationOfcxx . . $ QTJSC/LinkBuffer#locationOf(9c800df4b359ec60).(m_propertyAccessCompilationInfo[i].hotPathBegin); |
| 541 | } |
| 542 | #endif |
| 543 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT_OPTIMIZE_CALL) |
| 544 | for (unsigned i = 0; i < m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->numberOfCallLinkInfoscxx . . $ QTJSC/CodeBlock#numberOfCallLinkInfos(fe4d2d262d4164a8).(); ++i) { |
| 545 | CallLinkInfocxx . . $ QTJSC/CallLinkInfo#& info = m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->callLinkInfocxx . . $ QTJSC/CodeBlock#callLinkInfo(552f9b7b7c8f13e8).(i); |
| 546 | info.ownerCodeBlock = m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.; |
| 547 | info.callReturnLocationcxx . . $ QTJSC/CallLinkInfo#callReturnLocation. = patchBuffer.locationOfNearCallcxx . . $ QTJSC/LinkBuffer#locationOfNearCall(efdfc153700bf92f).(m_callStructureStubCompilationInfo[i].callReturnLocation); |
| 548 | info.hotPathBegincxx . . $ QTJSC/CallLinkInfo#hotPathBegin. = patchBuffer.locationOfcxx . . $ QTJSC/LinkBuffer#locationOf(9c800df4b359ec60).(m_callStructureStubCompilationInfo[i].hotPathBegin); |
| 549 | info.hotPathOthercxx . . $ QTJSC/CallLinkInfo#hotPathOther. = patchBuffer.locationOfNearCallcxx . . $ QTJSC/LinkBuffer#locationOfNearCall(efdfc153700bf92f).(m_callStructureStubCompilationInfo[i].hotPathOther); |
| 550 | } |
| 551 | #endif |
| 552 | unsigned methodCallCount = m_methodCallCompilationInfo.size(); |
| 553 | m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->addMethodCallLinkInfoscxx . . $ QTJSC/CodeBlock#addMethodCallLinkInfos(cb2f890c2fdad230).(methodCallCount); |
| 554 | for (unsigned i = 0; i < methodCallCount; ++i) { |
| 555 | MethodCallLinkInfocxx . . $ QTJSC/MethodCallLinkInfo#& info = m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->methodCallLinkInfocxx . . $ QTJSC/CodeBlock#methodCallLinkInfo(140c643affe45ae2).(i); |
| 556 | info.structureLabelcxx . . $ QTJSC/MethodCallLinkInfo#structureLabel. = patchBuffer.locationOfcxx . . $ QTJSC/LinkBuffer#locationOf(9c800df4b359ec60).(m_methodCallCompilationInfo[i].structureToCompare); |
| 557 | info.callReturnLocationcxx . . $ QTJSC/MethodCallLinkInfo#callReturnLocation. = m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.->structureStubInfocxx . . $ QTJSC/CodeBlock#structureStubInfo(51c3c3fac750758e).(m_methodCallCompilationInfo[i].propertyAccessIndex).callReturnLocation; |
| 558 | } |
| 559 | |
| 560 | return patchBuffercxx . . $ QTJSC/JITCode#JITCode(fdb1f6c768b4a43a)..finalizeCodecxx . . $ QTJSC/LinkBuffer#finalizeCode(8e7195db0ad7251e).(); |
| 561 | } |
| 562 | |
| 563 | #if !USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 564 | void JITcxx . . $ QTJSC/JIT#::emitGetVariableObjectRegistercxx . . $ QTJSC/JIT#emitGetVariableObjectRegister(45bb67b374b3280a).(RegisterIDcxx . . $ QTJSC/RegisterID# variableObject, int index, RegisterIDcxx . . $ QTJSC/RegisterID# dst) |
| 565 | { |
| 566 | loadPtrcxx . . $ QTJSC/MacroAssemblerX86_64#loadPtr(4ec312959ab67ca2).(Address(variableObject, OBJECT_OFFSETOFcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h:49:9`!(JSVariableObject, d)), dst); |
| 567 | loadPtrcxx . . $ QTJSC/MacroAssemblerX86_64#loadPtr(4ec312959ab67ca2).(Address(dst, OBJECT_OFFSETOFcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h:49:9`!(JSVariableObject::JSVariableObjectData, registers)), dst); |
| 568 | loadPtrcxx . . $ QTJSC/MacroAssemblerX86_64#loadPtr(4ec312959ab67ca2).(Address(dst, index * sizeof(Registercxx . . $ QTJSC/Register#)), dst); |
| 569 | } |
| 570 | |
| 571 | void JITcxx . . $ QTJSC/JIT#::emitPutVariableObjectRegistercxx . . $ QTJSC/JIT#emitPutVariableObjectRegister(bb4aff759691daac).(RegisterIDcxx . . $ QTJSC/RegisterID# src, RegisterIDcxx . . $ QTJSC/RegisterID# variableObject, int index) |
| 572 | { |
| 573 | loadPtrcxx . . $ QTJSC/MacroAssemblerX86_64#loadPtr(4ec312959ab67ca2).(Address(variableObject, OBJECT_OFFSETOFcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h:49:9`!(JSVariableObject, d)), variableObject); |
| 574 | loadPtrcxx . . $ QTJSC/MacroAssemblerX86_64#loadPtr(4ec312959ab67ca2).(Address(variableObject, OBJECT_OFFSETOFcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h:49:9`!(JSVariableObject::JSVariableObjectData, registers)), variableObject); |
| 575 | storePtrcxx . . $ QTJSC/MacroAssemblerX86_64#storePtr(61d331f5146428e7).(src, Address(variableObject, index * sizeof(Registercxx . . $ QTJSC/Register#))); |
| 576 | } |
| 577 | #endif |
| 578 | |
| 579 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT_OPTIMIZE_CALL) |
| 580 | void JITcxx . . $ QTJSC/JIT#::unlinkCallcxx . . $ QTJSC/JIT#unlinkCall(7f619b42aeb1e65d).(CallLinkInfocxx . . $ QTJSC/CallLinkInfo#* callLinkInfo) |
| 581 | { |
| 582 | // When the JSFunction is deleted the pointer embedded in the instruction stream will no longer be valid |
| 583 | // (and, if a new JSFunction happened to be constructed at the same location, we could get a false positive |
| 584 | // match). Reset the check so it no longer matches. |
| 585 | RepatchBuffercxx . . $ QTJSC/RepatchBuffer# repatchBuffer(callLinkInfo->ownerCodeBlock.get()); |
| 586 | #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64) |
| 587 | repatchBuffer.repatch(callLinkInfo->hotPathBegin, 0); |
| 588 | #else |
| 589 | repatchBuffer.repatchcxx . . $ QTJSC/RepatchBuffer#repatch(b183d0f6b14e417b).(callLinkInfo->hotPathBegincxx . . $ QTJSC/CallLinkInfo#hotPathBegin., JSValuecxx . . $ QTJSC/JSValue#::encodecxx . . $ QTJSC/JSValue#encode(48544357535317c5).(JSValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).())); |
| 590 | #endif |
| 591 | } |
| 592 | |
| 593 | void JITcxx . . $ QTJSC/JIT#::linkCallcxx . . $ QTJSC/JIT#linkCall(f511c7c4370e19a1).(JSFunctioncxx . . $ QTJSC/JSFunction#* callee, CodeBlockcxx . . $ QTJSC/CodeBlock#* callerCodeBlock, CodeBlockcxx . . $ QTJSC/CodeBlock#* calleeCodeBlock, JITCodecxx . . $ QTJSC/JITCode#& code, CallLinkInfocxx . . $ QTJSC/CallLinkInfo#* callLinkInfo, int callerArgCount, JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData) |
| 594 | { |
| 595 | RepatchBuffercxx . . $ QTJSC/RepatchBuffer# repatchBuffercxx . . $ QTJSC/RepatchBuffer#RepatchBuffer(d4989c577739c98f).(callerCodeBlock); |
| 596 | |
| 597 | // Currently we only link calls with the exact number of arguments. |
| 598 | // If this is a native call calleeCodeBlock is null so the number of parameters is unimportant |
| 599 | if (!calleeCodeBlock || (callerArgCount == calleeCodeBlock->m_numParameterscxx . . $ QTJSC/CodeBlock#m_numParameters.)) { |
| 600 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(!callLinkInfo->isLinked()); |
| 601 | |
| 602 | if (calleeCodeBlock) |
| 603 | calleeCodeBlock->addCallercxx . . $ QTJSC/CodeBlock#addCaller(7f619b42aeb1e65d).(callLinkInfo); |
| 604 | |
| 605 | repatchBuffer.repatchcxx . . $ QTJSC/RepatchBuffer#repatch(b183d0f6b14e417b).(callLinkInfo->hotPathBegincxx . . $ QTJSC/CallLinkInfo#hotPathBegin., callee); |
| 606 | repatchBuffer.relinkcxx . . $ QTJSC/RepatchBuffer#relink(a82365429be6f13f).(callLinkInfo->hotPathOthercxx . . $ QTJSC/CallLinkInfo#hotPathOther., code.addressForCallcxx . . $ QTJSC/JITCode#addressForCall(6a2722e0e6233eee).()); |
| 607 | } |
| 608 | |
| 609 | // patch the call so we do not continue to try to link. |
| 610 | repatchBuffer.relinkcxx . . $ QTJSC/RepatchBuffer#relink(2366b7d59c99e47d).(callLinkInfo->callReturnLocationcxx . . $ QTJSC/CallLinkInfo#callReturnLocation., globalData->jitStubs.ctiVirtualCall()); |
| 611 | } |
| 612 | #endif // ENABLE(JIT_OPTIMIZE_CALL) |
| 613 | |
| 614 | } // namespace JSC |
| 615 | |
| 616 | #endif // ENABLE(JIT) |