Debian Codegraph @

src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2008 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 #ifndef JIT_h
27 #define JIT_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.h:27:9`!
28
29 #include <wtf/Platform.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h`/
30
31 #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT)
32
33 // We've run into some problems where changing the size of the class JIT leads to
34 // performance fluctuations. Try forcing alignment in an attempt to stabalize this.
35 #if COMPILERcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:39:9`!(GCC)
36 #define JIT_CLASS_ALIGNMENTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.h:36:9`! __attribute__ ((aligned (32)))
37 #else
38 #define JIT_CLASS_ALIGNMENT
39 #endif
40
41 #define ASSERT_JIT_OFFSETcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.h:41:9`!(actual, expected) ASSERT_WITH_MESSAGEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:213:9`!(actual == expected, "JIT Offset \"%s\" should be %d, not %d.\n", #expected, static_cast<int>(actual), static_cast<int>(expected));
42
43 #include "CodeBlock.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/CodeBlock.h`/
44 #include "Interpreter.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.h`/
45 #include "JITCode.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITCode.h`/
46 #include "JITStubs.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h`/
47 #include "Opcode.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/Opcode.h`/
48 #include "RegisterFile.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/RegisterFile.h`/
49 #include "MacroAssembler.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssembler.h`/
50 #include "Profiler.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/profiler/Profiler.h`/
51 #include <bytecode/SamplingTool.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/SamplingTool.h`/
52 #include <wtf/AlwaysInline.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h`/
53 #include <wtf/Vector.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h`/
54
55 namespace JSCcxx . . $ QTJSC/ {
56
57 class CodeBlockcxx . . $ QTJSC/CodeBlock#;
58 class JITcxx . . $ QTJSC/JIT#;
59 class JSPropertyNameIteratorcxx . . $ QTJSC/JSPropertyNameIterator#;
60 class Interpretercxx . . $ QTJSC/Interpreter#;
61 class Registercxx . . $ QTJSC/Register#;
62 class RegisterFilecxx . . $ QTJSC/RegisterFile#;
63 class ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#;
64 class StructureChaincxx . . $ QTJSC/StructureChain#;
65
66 struct CallLinkInfocxx . . $ QTJSC/CallLinkInfo#;
67 struct Instructioncxx . . $ QTJSC/Instruction#;
68 struct OperandTypescxx . . $ QTJSC/OperandTypes#;
69 struct PolymorphicAccessStructureListcxx . . $ QTJSC/PolymorphicAccessStructureList#;
70 struct SimpleJumpTablecxx . . $ QTJSC/SimpleJumpTable#;
71 struct StringJumpTablecxx . . $ QTJSC/StringJumpTable#;
72 struct StructureStubInfocxx . . $ QTJSC/StructureStubInfo#;
73
74 struct CallRecordcxx . . $ QTJSC/CallRecord# {
75 MacroAssembler::Call fromcxx . . $ QTJSC/CallRecord#from.;
76 unsigned bytecodeIndexcxx . . $ QTJSC/CallRecord#bytecodeIndex.;
77 void* tocxx . . $ QTJSC/CallRecord#to.;
78
79 CallRecordcxx . . $ QTJSC/CallRecord#CallRecord(49f6e7a06ebc5aa8).()
80 {
81 }
82
83 CallRecordcxx . . $ QTJSC/CallRecord#CallRecord(65966de9a159d354).(MacroAssembler::Call from, unsigned bytecodeIndex, void* to = 0)
84 : from(from)
85 , bytecodeIndexcxx . . $ QTJSC/CallRecord#bytecodeIndex.(bytecodeIndex)
86 , tocxx . . $ QTJSC/CallRecord#to.(to)
87 {
88 }
89 };
90
91 struct JumpTablecxx . . $ QTJSC/JumpTable# {
92 MacroAssembler::Jump fromcxx . . $ QTJSC/JumpTable#from.;
93 unsigned toBytecodeIndexcxx . . $ QTJSC/JumpTable#toBytecodeIndex.;
94
95 JumpTablecxx . . $ QTJSC/JumpTable#JumpTable(c8dafc4a64bf4a1c).(MacroAssembler::Jump f, unsigned t)
96 : from(f)
97 , toBytecodeIndexcxx . . $ QTJSC/JumpTable#toBytecodeIndex.(t)
98 {
99 }
100 };
101
102 struct SlowCaseEntrycxx . . $ QTJSC/SlowCaseEntry# {
103 MacroAssembler::Jump fromcxx . . $ QTJSC/SlowCaseEntry#from.;
104 unsigned tocxx . . $ QTJSC/SlowCaseEntry#to.;
105 unsigned hintcxx . . $ QTJSC/SlowCaseEntry#hint.;
106
107 SlowCaseEntrycxx . . $ QTJSC/SlowCaseEntry#SlowCaseEntry(2029de666eaec704).(MacroAssembler::Jump f, unsigned t, unsigned h = 0)
108 : from(f)
109 , tocxx . . $ QTJSC/SlowCaseEntry#to.(t)
110 , hintcxx . . $ QTJSC/SlowCaseEntry#hint.(h)
111 {
112 }
113 };
114
115 struct SwitchRecordcxx . . $ QTJSC/SwitchRecord# {
116 enum Typecxx . . $ QTJSC/SwitchRecord#Type# {
117 Immediatecxx . . $ QTJSC/SwitchRecord#Immediate.,
118 Charactercxx . . $ QTJSC/SwitchRecord#Character.,
119 Stringcxx . . $ QTJSC/SwitchRecord#String.
120 };
121
122 Typecxx . . $ QTJSC/SwitchRecord#Type# typecxx . . $ QTJSC/SwitchRecord#type.;
123
124 unioncxx . . $ QTJSC/SwitchRecord#$anonymous_type_0# {
125 SimpleJumpTablecxx . . $ QTJSC/SimpleJumpTable#* simpleJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#simpleJumpTable.;
126 StringJumpTablecxx . . $ QTJSC/StringJumpTable#* stringJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#stringJumpTable.;
127 } jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable.;
128
129 unsigned bytecodeIndexcxx . . $ QTJSC/SwitchRecord#bytecodeIndex.;
130 unsigned defaultOffsetcxx . . $ QTJSC/SwitchRecord#defaultOffset.;
131
132 SwitchRecordcxx . . $ QTJSC/SwitchRecord#SwitchRecord(67f0ec25790dd23f).(SimpleJumpTablecxx . . $ QTJSC/SimpleJumpTable#* jumpTable, unsigned bytecodeIndex, unsigned defaultOffset, Typecxx . . $ QTJSC/SwitchRecord#Type# type)
133 : typecxx . . $ QTJSC/SwitchRecord#type.(type)
134 , bytecodeIndexcxx . . $ QTJSC/SwitchRecord#bytecodeIndex.(bytecodeIndex)
135 , defaultOffsetcxx . . $ QTJSC/SwitchRecord#defaultOffset.(defaultOffset)
136 {
137 this->jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable..simpleJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#simpleJumpTable. = jumpTable;
138 }
139
140 SwitchRecordcxx . . $ QTJSC/SwitchRecord#SwitchRecord(35f12c2c4ef42c3a).(StringJumpTablecxx . . $ QTJSC/StringJumpTable#* jumpTable, unsigned bytecodeIndex, unsigned defaultOffset)
141 : typecxx . . $ QTJSC/SwitchRecord#type.(Stringcxx . . $ QTJSC/SwitchRecord#String.)
142 , bytecodeIndexcxx . . $ QTJSC/SwitchRecord#bytecodeIndex.(bytecodeIndex)
143 , defaultOffsetcxx . . $ QTJSC/SwitchRecord#defaultOffset.(defaultOffset)
144 {
145 this->jumpTablecxx . . $ QTJSC/SwitchRecord#jumpTable..stringJumpTablecxx . . $ QTJSC/SwitchRecord#$anonymous_type_0#stringJumpTable. = jumpTable;
146 }
147 };
148
149 struct PropertyStubCompilationInfocxx . . $ QTJSC/PropertyStubCompilationInfo# {
150 MacroAssembler::Call callReturnLocationcxx . . $ QTJSC/PropertyStubCompilationInfo#callReturnLocation.;
151 MacroAssembler::Label hotPathBegincxx . . $ QTJSC/PropertyStubCompilationInfo#hotPathBegin.;
152 };
153
154 struct StructureStubCompilationInfocxx . . $ QTJSC/StructureStubCompilationInfo# {
155 MacroAssembler::DataLabelPtr hotPathBegincxx . . $ QTJSC/StructureStubCompilationInfo#hotPathBegin.;
156 MacroAssembler::Call hotPathOthercxx . . $ QTJSC/StructureStubCompilationInfo#hotPathOther.;
157 MacroAssembler::Call callReturnLocationcxx . . $ QTJSC/StructureStubCompilationInfo#callReturnLocation.;
158 };
159
160 struct MethodCallCompilationInfocxx . . $ QTJSC/MethodCallCompilationInfo# {
161 MethodCallCompilationInfocxx . . $ QTJSC/MethodCallCompilationInfo#MethodCallCompilationInfo(cb2f890c2fdad230).(unsigned propertyAccessIndex)
162 : propertyAccessIndexcxx . . $ QTJSC/MethodCallCompilationInfo#propertyAccessIndex.(propertyAccessIndex)
163 {
164 }
165
166 MacroAssembler::DataLabelPtr structureToComparecxx . . $ QTJSC/MethodCallCompilationInfo#structureToCompare.;
167 unsigned propertyAccessIndexcxx . . $ QTJSC/MethodCallCompilationInfo#propertyAccessIndex.;
168 };
169
170 // Near calls can only be patched to other JIT code, regular calls can be patched to JIT code or relinked to stub functions.
171 void ctiPatchNearCallByReturnAddresscxx . . $ QTJSC/ctiPatchNearCallByReturnAddress(32e6c5fc47cff784).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeblock, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress, MacroAssemblerCodePtrcxx . . $ QTJSC/MacroAssemblerCodePtr# newCalleeFunction);
172 void ctiPatchCallByReturnAddresscxx . . $ QTJSC/ctiPatchCallByReturnAddress(32e6c5fc47cff784).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeblock, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress, MacroAssemblerCodePtrcxx . . $ QTJSC/MacroAssemblerCodePtr# newCalleeFunction);
173 void ctiPatchCallByReturnAddresscxx . . $ QTJSC/ctiPatchCallByReturnAddress(fe206c9f06a1cd84).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeblock, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress, FunctionPtrcxx . . $ QTJSC/FunctionPtr# newCalleeFunction);
174
175 class JITcxx . . $ QTJSC/JIT# : private MacroAssemblercxx . . $ QTJSC/MacroAssembler# {
176 friend class JITStubCallcxx . . $ QTJSC/JITStubCall#;
177
178 using MacroAssemblercxx . . $ QTJSC/MacroAssembler#::Jump;
179 using MacroAssemblercxx . . $ QTJSC/MacroAssembler#::JumpList;
180 using MacroAssemblercxx . . $ QTJSC/MacroAssembler#::Label;
181
182 // NOTES:
183 //
184 // regT0 has two special meanings. The return value from a stub
185 // call will always be in regT0, and by default (unless
186 // a register is specified) emitPutVirtualRegister() will store
187 // the value from regT0.
188 //
189 // regT3 is required to be callee-preserved.
190 //
191 // tempRegister2 is has no such dependencies. It is important that
192 // on x86/x86-64 it is ecx for performance reasons, since the
193 // MacroAssembler will need to plant register swaps if it is not -
194 // however the code will still function correctly.
195 #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64)
196 static const RegisterIDcxx . . $ QTJSC/RegisterID# returnValueRegistercxx . . $ QTJSC/JIT#returnValueRegister. = X86Registers::eax;
197 static const RegisterIDcxx . . $ QTJSC/RegisterID# cachedResultRegistercxx . . $ QTJSC/JIT#cachedResultRegister. = X86Registers::eax;
198 static const RegisterIDcxx . . $ QTJSC/RegisterID# firstArgumentRegistercxx . . $ QTJSC/JIT#firstArgumentRegister. = X86Registers::edi;
199
200 static const RegisterIDcxx . . $ QTJSC/RegisterID# timeoutCheckRegistercxx . . $ QTJSC/JIT#timeoutCheckRegister. = X86Registers::r12;
201 static const RegisterIDcxx . . $ QTJSC/RegisterID# callFrameRegistercxx . . $ QTJSC/JIT#callFrameRegister. = X86Registers::r13;
202 static const RegisterIDcxx . . $ QTJSC/RegisterID# tagTypeNumberRegistercxx . . $ QTJSC/JIT#tagTypeNumberRegister. = X86Registers::r14;
203 static const RegisterIDcxx . . $ QTJSC/RegisterID# tagMaskRegistercxx . . $ QTJSC/JIT#tagMaskRegister. = X86Registers::r15;
204
205 static const RegisterIDcxx . . $ QTJSC/RegisterID# regT0cxx . . $ QTJSC/JIT#regT0. = X86Registers::eax;
206 static const RegisterIDcxx . . $ QTJSC/RegisterID# regT1cxx . . $ QTJSC/JIT#regT1. = X86Registers::edx;
207 static const RegisterIDcxx . . $ QTJSC/RegisterID# regT2cxx . . $ QTJSC/JIT#regT2. = X86Registers::ecx;
208 static const RegisterIDcxx . . $ QTJSC/RegisterID# regT3cxx . . $ QTJSC/JIT#regT3. = X86Registers::ebx;
209
210 static const FPRegisterID fpRegT0cxx . . $ QTJSC/JIT#fpRegT0. = X86Registerscxx . . $ QTJSC/X86Registers/::xmm0cxx . . $ QTJSC/X86Registers/xmm0.;
211 static const FPRegisterID fpRegT1cxx . . $ QTJSC/JIT#fpRegT1. = X86Registerscxx . . $ QTJSC/X86Registers/::xmm1cxx . . $ QTJSC/X86Registers/xmm1.;
212 static const FPRegisterID fpRegT2cxx . . $ QTJSC/JIT#fpRegT2. = X86Registerscxx . . $ QTJSC/X86Registers/::xmm2cxx . . $ QTJSC/X86Registers/xmm2.;
213 #elif CPU(X86)
214 static const RegisterID returnValueRegister = X86Registers::eax;
215 static const RegisterID cachedResultRegister = X86Registers::eax;
216 // On x86 we always use fastcall conventions = but on
217 // OS X if might make more sense to just use regparm.
218 static const RegisterID firstArgumentRegister = X86Registers::ecx;
219
220 static const RegisterID timeoutCheckRegister = X86Registers::esi;
221 static const RegisterID callFrameRegister = X86Registers::edi;
222
223 static const RegisterID regT0 = X86Registers::eax;
224 static const RegisterID regT1 = X86Registers::edx;
225 static const RegisterID regT2 = X86Registers::ecx;
226 static const RegisterID regT3 = X86Registers::ebx;
227
228 static const FPRegisterID fpRegT0 = X86Registers::xmm0;
229 static const FPRegisterID fpRegT1 = X86Registers::xmm1;
230 static const FPRegisterID fpRegT2 = X86Registers::xmm2;
231 #elif CPU(ARM_THUMB2)
232 static const RegisterID returnValueRegister = ARMRegisters::r0;
233 static const RegisterID cachedResultRegister = ARMRegisters::r0;
234 static const RegisterID firstArgumentRegister = ARMRegisters::r0;
235
236 static const RegisterID regT0 = ARMRegisters::r0;
237 static const RegisterID regT1 = ARMRegisters::r1;
238 static const RegisterID regT2 = ARMRegisters::r2;
239 static const RegisterID regT3 = ARMRegisters::r4;
240
241 static const RegisterID callFrameRegister = ARMRegisters::r5;
242 static const RegisterID timeoutCheckRegister = ARMRegisters::r6;
243
244 static const FPRegisterID fpRegT0 = ARMRegisters::d0;
245 static const FPRegisterID fpRegT1 = ARMRegisters::d1;
246 static const FPRegisterID fpRegT2 = ARMRegisters::d2;
247 #elif CPU(ARM_TRADITIONAL)
248 static const RegisterID returnValueRegister = ARMRegisters::r0;
249 static const RegisterID cachedResultRegister = ARMRegisters::r0;
250 static const RegisterID firstArgumentRegister = ARMRegisters::r0;
251
252 static const RegisterID timeoutCheckRegister = ARMRegisters::r5;
253 static const RegisterID callFrameRegister = ARMRegisters::r4;
254
255 static const RegisterID regT0 = ARMRegisters::r0;
256 static const RegisterID regT1 = ARMRegisters::r1;
257 static const RegisterID regT2 = ARMRegisters::r2;
258 // Callee preserved
259 static const RegisterID regT3 = ARMRegisters::r7;
260
261 static const RegisterID regS0 = ARMRegisters::S0;
262 // Callee preserved
263 static const RegisterID regS1 = ARMRegisters::S1;
264
265 static const RegisterID regStackPtr = ARMRegisters::sp;
266 static const RegisterID regLink = ARMRegisters::lr;
267
268 static const FPRegisterID fpRegT0 = ARMRegisters::d0;
269 static const FPRegisterID fpRegT1 = ARMRegisters::d1;
270 static const FPRegisterID fpRegT2 = ARMRegisters::d2;
271 #else
272 #error "JIT not supported on this platform."
273 #endif
274
275 static const int patchGetByIdDefaultStructurecxx . . $ QTJSC/JIT#patchGetByIdDefaultStructure. = -1;
276 // Magic number - initial offset cannot be representable as a signed 8bit value, or the X86Assembler
277 // will compress the displacement, and we may not be able to fit a patched offset.
278 static const int patchGetByIdDefaultOffsetcxx . . $ QTJSC/JIT#patchGetByIdDefaultOffset. = 256;
279
280 public:
281 static JITCodecxx . . $ QTJSC/JITCode# compilecxx . . $ QTJSC/JIT#compile(ea072c896f16252c).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock)
282 {
283 return JITcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(globalData, codeBlock).privateCompilecxx . . $ QTJSC/JIT#privateCompile(ea2787ed6e085def).();
284 }
285
286 static void compileGetByIdProtocxx . . $ QTJSC/JIT#compileGetByIdProto(8df234dde500beac).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, StructureStubInfocxx . . $ QTJSC/StructureStubInfo#* stubInfo, Structurecxx . . $ QTJSC/Structure#* structure, Structurecxx . . $ QTJSC/Structure#* prototypeStructure, size_tcxx . . $ size_t# cachedOffset, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress)
287 {
288 JITcxx . . $ QTJSC/JIT# jitcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(globalData, codeBlock);
289 jit.privateCompileGetByIdProtocxx . . $ QTJSC/JIT#privateCompileGetByIdProto(a61f554cdc0b1c5f).(stubInfo, structure, prototypeStructure, cachedOffset, returnAddress, callFrame);
290 }
291
292 static void compileGetByIdSelfListcxx . . $ QTJSC/JIT#compileGetByIdSelfList(6e229d2b660f1a79).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, StructureStubInfocxx . . $ QTJSC/StructureStubInfo#* stubInfo, PolymorphicAccessStructureListcxx . . $ QTJSC/PolymorphicAccessStructureList#* polymorphicStructures, int currentIndex, Structurecxx . . $ QTJSC/Structure#* structure, size_tcxx . . $ size_t# cachedOffset)
293 {
294 JITcxx . . $ QTJSC/JIT# jitcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(globalData, codeBlock);
295 jit.privateCompileGetByIdSelfListcxx . . $ QTJSC/JIT#privateCompileGetByIdSelfList(917b28301bd9ac43).(stubInfo, polymorphicStructures, currentIndex, structure, cachedOffset);
296 }
297 static void compileGetByIdProtoListcxx . . $ QTJSC/JIT#compileGetByIdProtoList(a9e8bd0621211166).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, StructureStubInfocxx . . $ QTJSC/StructureStubInfo#* stubInfo, PolymorphicAccessStructureListcxx . . $ QTJSC/PolymorphicAccessStructureList#* prototypeStructureList, int currentIndex, Structurecxx . . $ QTJSC/Structure#* structure, Structurecxx . . $ QTJSC/Structure#* prototypeStructure, size_tcxx . . $ size_t# cachedOffset)
298 {
299 JITcxx . . $ QTJSC/JIT# jitcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(globalData, codeBlock);
300 jit.privateCompileGetByIdProtoListcxx . . $ QTJSC/JIT#privateCompileGetByIdProtoList(cdfe3178c988eef5).(stubInfo, prototypeStructureList, currentIndex, structure, prototypeStructure, cachedOffset, callFrame);
301 }
302 static void compileGetByIdChainListcxx . . $ QTJSC/JIT#compileGetByIdChainList(61568d2a79c9f476).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, StructureStubInfocxx . . $ QTJSC/StructureStubInfo#* stubInfo, PolymorphicAccessStructureListcxx . . $ QTJSC/PolymorphicAccessStructureList#* prototypeStructureList, int currentIndex, Structurecxx . . $ QTJSC/Structure#* structure, StructureChaincxx . . $ QTJSC/StructureChain#* chain, size_tcxx . . $ size_t# count, size_tcxx . . $ size_t# cachedOffset)
303 {
304 JITcxx . . $ QTJSC/JIT# jitcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(globalData, codeBlock);
305 jit.privateCompileGetByIdChainListcxx . . $ QTJSC/JIT#privateCompileGetByIdChainList(930b8077543372d8).(stubInfo, prototypeStructureList, currentIndex, structure, chain, count, cachedOffset, callFrame);
306 }
307
308 static void compileGetByIdChaincxx . . $ QTJSC/JIT#compileGetByIdChain(4d32fe703e35c6e6).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, CallFramecxx . . $ QTJSC/CallFrame#* callFrame, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, StructureStubInfocxx . . $ QTJSC/StructureStubInfo#* stubInfo, Structurecxx . . $ QTJSC/Structure#* structure, StructureChaincxx . . $ QTJSC/StructureChain#* chain, size_tcxx . . $ size_t# count, size_tcxx . . $ size_t# cachedOffset, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress)
309 {
310 JITcxx . . $ QTJSC/JIT# jitcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(globalData, codeBlock);
311 jit.privateCompileGetByIdChaincxx . . $ QTJSC/JIT#privateCompileGetByIdChain(156ffe67060c045a).(stubInfo, structure, chain, count, cachedOffset, returnAddress, callFrame);
312 }
313
314 static void compilePutByIdTransitioncxx . . $ QTJSC/JIT#compilePutByIdTransition(34c3680d9e5b9381).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, StructureStubInfocxx . . $ QTJSC/StructureStubInfo#* stubInfo, Structurecxx . . $ QTJSC/Structure#* oldStructure, Structurecxx . . $ QTJSC/Structure#* newStructure, size_tcxx . . $ size_t# cachedOffset, StructureChaincxx . . $ QTJSC/StructureChain#* chain, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress)
315 {
316 JITcxx . . $ QTJSC/JIT# jitcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(globalData, codeBlock);
317 jit.privateCompilePutByIdTransitioncxx . . $ QTJSC/JIT#privateCompilePutByIdTransition(4355e55ec3dff506).(stubInfo, oldStructure, newStructure, cachedOffset, chain, returnAddress);
318 }
319
320 static void compileCTIMachineTrampolinescxx . . $ QTJSC/JIT#compileCTIMachineTrampolines(55a4894dc2c17351).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, RefPtrcxx . . $ RefPtr#<ExecutablePoolcxx . . $ QTJSC/ExecutablePool#>* executablePool, CodePtr* ctiStringLengthTrampoline, CodePtr* ctiVirtualCallLink, CodePtr* ctiVirtualCall, CodePtr* ctiNativeCallThunk)
321 {
322 JITcxx . . $ QTJSC/JIT# jitcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(globalData);
323 jit.privateCompileCTIMachineTrampolines(executablePool, globalData, ctiStringLengthTrampoline, ctiVirtualCallLink, ctiVirtualCall, ctiNativeCallThunk);
324 }
325
326 static void patchGetByIdSelfcxx . . $ QTJSC/JIT#patchGetByIdSelf(5f68fb250b0f66a0).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeblock, StructureStubInfocxx . . $ QTJSC/StructureStubInfo#*, Structurecxx . . $ QTJSC/Structure#*, size_tcxx . . $ size_t# cachedOffset, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress);
327 static void patchPutByIdReplacecxx . . $ QTJSC/JIT#patchPutByIdReplace(5f68fb250b0f66a0).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeblock, StructureStubInfocxx . . $ QTJSC/StructureStubInfo#*, Structurecxx . . $ QTJSC/Structure#*, size_tcxx . . $ size_t# cachedOffset, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress);
328 static void patchMethodCallProtocxx . . $ QTJSC/JIT#patchMethodCallProto(ce5b153253cba32).(CodeBlockcxx . . $ QTJSC/CodeBlock#* codeblock, MethodCallLinkInfocxx . . $ QTJSC/MethodCallLinkInfo#&, JSFunctioncxx . . $ QTJSC/JSFunction#*, Structurecxx . . $ QTJSC/Structure#*, JSObjectcxx . . $ QTJSC/JSObject#*, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr#);
329
330 static void compilePatchGetArrayLengthcxx . . $ QTJSC/JIT#compilePatchGetArrayLength(af2cc2aa50d0c535).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* globalData, CodeBlockcxx . . $ QTJSC/CodeBlock#* codeBlock, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress)
331 {
332 JITcxx . . $ QTJSC/JIT# jitcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(globalData, codeBlock);
333 return jit.privateCompilePatchGetArrayLengthcxx . . $ QTJSC/JIT#privateCompilePatchGetArrayLength(882c5f948706d264).(returnAddress);
334 }
335
336 static void linkCallcxx . . $ QTJSC/JIT#linkCall(f511c7c4370e19a1).(JSFunctioncxx . . $ QTJSC/JSFunction#* callee, CodeBlockcxx . . $ QTJSC/CodeBlock#* callerCodeBlock, CodeBlockcxx . . $ QTJSC/CodeBlock#* calleeCodeBlock, JITCodecxx . . $ QTJSC/JITCode#&, CallLinkInfocxx . . $ QTJSC/CallLinkInfo#*, int callerArgCount, JSGlobalDatacxx . . $ QTJSC/JSGlobalData#*);
337 static void unlinkCallcxx . . $ QTJSC/JIT#unlinkCall(7f619b42aeb1e65d).(CallLinkInfocxx . . $ QTJSC/CallLinkInfo#*);
338
339 private:
340 struct JSRInfocxx . . $ QTJSC/JIT#JSRInfo# {
341 DataLabelPtr storeLocationcxx . . $ QTJSC/JIT#JSRInfo#storeLocation.;
342 Labelcxx . . $ QTJSC/Label# targetcxx . . $ QTJSC/JIT#JSRInfo#target.;
343
344 JSRInfocxx . . $ QTJSC/JIT#JSRInfo#JSRInfo(6da31e0a1e93e661).(DataLabelPtr storeLocation, Labelcxx . . $ QTJSC/Label# targetLocation)
345 : storeLocation(storeLocation)
346 , target(targetLocation)
347 {
348 }
349 };
350
351 JITcxx . . $ QTJSC/JIT#JIT(ff9f86db1b5551ce).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#*, CodeBlockcxx . . $ QTJSC/CodeBlock#* = 0);
352
353 void privateCompileMainPasscxx . . $ QTJSC/JIT#privateCompileMainPass(49f6e7a06ebc5aa8).();
354 void privateCompileLinkPasscxx . . $ QTJSC/JIT#privateCompileLinkPass(49f6e7a06ebc5aa8).();
355 void privateCompileSlowCasescxx . . $ QTJSC/JIT#privateCompileSlowCases(49f6e7a06ebc5aa8).();
356 JITCodecxx . . $ QTJSC/JITCode# privateCompilecxx . . $ QTJSC/JIT#privateCompile(ea2787ed6e085def).();
357 void privateCompileGetByIdProtocxx . . $ QTJSC/JIT#privateCompileGetByIdProto(a61f554cdc0b1c5f).(StructureStubInfocxx . . $ QTJSC/StructureStubInfo#*, Structurecxx . . $ QTJSC/Structure#*, Structurecxx . . $ QTJSC/Structure#* prototypeStructure, size_tcxx . . $ size_t# cachedOffset, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress, CallFramecxx . . $ QTJSC/CallFrame#* callFrame);
358 void privateCompileGetByIdSelfListcxx . . $ QTJSC/JIT#privateCompileGetByIdSelfList(917b28301bd9ac43).(StructureStubInfocxx . . $ QTJSC/StructureStubInfo#*, PolymorphicAccessStructureListcxx . . $ QTJSC/PolymorphicAccessStructureList#*, int, Structurecxx . . $ QTJSC/Structure#*, size_tcxx . . $ size_t# cachedOffset);
359 void privateCompileGetByIdProtoListcxx . . $ QTJSC/JIT#privateCompileGetByIdProtoList(cdfe3178c988eef5).(StructureStubInfocxx . . $ QTJSC/StructureStubInfo#*, PolymorphicAccessStructureListcxx . . $ QTJSC/PolymorphicAccessStructureList#*, int, Structurecxx . . $ QTJSC/Structure#*, Structurecxx . . $ QTJSC/Structure#* prototypeStructure, size_tcxx . . $ size_t# cachedOffset, CallFramecxx . . $ QTJSC/CallFrame#* callFrame);
360 void privateCompileGetByIdChainListcxx . . $ QTJSC/JIT#privateCompileGetByIdChainList(930b8077543372d8).(StructureStubInfocxx . . $ QTJSC/StructureStubInfo#*, PolymorphicAccessStructureListcxx . . $ QTJSC/PolymorphicAccessStructureList#*, int, Structurecxx . . $ QTJSC/Structure#*, StructureChaincxx . . $ QTJSC/StructureChain#* chain, size_tcxx . . $ size_t# count, size_tcxx . . $ size_t# cachedOffset, CallFramecxx . . $ QTJSC/CallFrame#* callFrame);
361 void privateCompileGetByIdChaincxx . . $ QTJSC/JIT#privateCompileGetByIdChain(156ffe67060c045a).(StructureStubInfocxx . . $ QTJSC/StructureStubInfo#*, Structurecxx . . $ QTJSC/Structure#*, StructureChaincxx . . $ QTJSC/StructureChain#*, size_tcxx . . $ size_t# count, size_tcxx . . $ size_t# cachedOffset, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress, CallFramecxx . . $ QTJSC/CallFrame#* callFrame);
362 void privateCompilePutByIdTransitioncxx . . $ QTJSC/JIT#privateCompilePutByIdTransition(4355e55ec3dff506).(StructureStubInfocxx . . $ QTJSC/StructureStubInfo#*, Structurecxx . . $ QTJSC/Structure#*, Structurecxx . . $ QTJSC/Structure#*, size_tcxx . . $ size_t# cachedOffset, StructureChaincxx . . $ QTJSC/StructureChain#*, ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress);
363
364 void privateCompileCTIMachineTrampolinescxx . . $ QTJSC/JIT#privateCompileCTIMachineTrampolines(d049a4cb88720025).(RefPtrcxx . . $ RefPtr#<ExecutablePoolcxx . . $ QTJSC/ExecutablePool#>* executablePool, JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* data, CodePtr* ctiStringLengthTrampoline, CodePtr* ctiVirtualCallLink, CodePtr* ctiVirtualCall, CodePtr* ctiNativeCallThunk);
365 void privateCompilePatchGetArrayLengthcxx . . $ QTJSC/JIT#privateCompilePatchGetArrayLength(882c5f948706d264).(ReturnAddressPtrcxx . . $ QTJSC/ReturnAddressPtr# returnAddress);
366
367 void addSlowCasecxx . . $ QTJSC/JIT#addSlowCase(d4f767463ce0a6b3).(Jump);
368 void addSlowCasecxx . . $ QTJSC/JIT#addSlowCase(d4f767463ce0a6b3).(JumpList);
369 void addJumpcxx . . $ QTJSC/JIT#addJump(3e454b8ccf442868).(Jump, int);
370 void emitJumpSlowToHotcxx . . $ QTJSC/JIT#emitJumpSlowToHot(3e454b8ccf442868).(Jump, int);
371
372 void compileOpCallcxx . . $ QTJSC/JIT#compileOpCall(f05faabb77a57e60).(OpcodeIDcxx . . $ QTJSC/OpcodeID#, Instructioncxx . . $ QTJSC/Instruction#* instruction, unsigned callLinkInfoIndex);
373 void compileOpCallVarargscxx . . $ QTJSC/JIT#compileOpCallVarargs(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#* instruction);
374 void compileOpCallInitializeCallFramecxx . . $ QTJSC/JIT#compileOpCallInitializeCallFrame(49f6e7a06ebc5aa8).();
375 void compileOpCallSetupArgscxx . . $ QTJSC/JIT#compileOpCallSetupArgs(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
376 void compileOpCallVarargsSetupArgscxx . . $ QTJSC/JIT#compileOpCallVarargsSetupArgs(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
377 void compileOpCallSlowCasecxx . . $ QTJSC/JIT#compileOpCallSlowCase(50d9ffeff5443084).(Instructioncxx . . $ QTJSC/Instruction#* instruction, Vector<SlowCaseEntry>::iterator& iter, unsigned callLinkInfoIndex, OpcodeIDcxx . . $ QTJSC/OpcodeID# opcodeID);
378 void compileOpCallVarargsSlowCasecxx . . $ QTJSC/JIT#compileOpCallVarargsSlowCase(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#* instruction, Vector<SlowCaseEntry>::iterator& iter);
379 void compileOpConstructSetupArgscxx . . $ QTJSC/JIT#compileOpConstructSetupArgs(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
380
381 enum CompileOpStrictEqTypecxx . . $ QTJSC/JIT#CompileOpStrictEqType# { OpStrictEqcxx . . $ QTJSC/JIT#OpStrictEq., OpNStrictEqcxx . . $ QTJSC/JIT#OpNStrictEq. };
382 void compileOpStrictEqcxx . . $ QTJSC/JIT#compileOpStrictEq(22a2efb7be7c3701).(Instructioncxx . . $ QTJSC/Instruction#* instruction, CompileOpStrictEqTypecxx . . $ QTJSC/JIT#CompileOpStrictEqType# type);
383 bool isOperandConstantImmediateDoublecxx . . $ QTJSC/JIT#isOperandConstantImmediateDouble(dfa6e707f7696010).(unsigned src);
384
385 void emitLoadDoublecxx . . $ QTJSC/JIT#emitLoadDouble(3d89109e85ced1be).(unsigned index, FPRegisterID value);
386 void emitLoadInt32ToDoublecxx . . $ QTJSC/JIT#emitLoadInt32ToDouble(3d89109e85ced1be).(unsigned index, FPRegisterID value);
387
388 Address addressForcxx . . $ QTJSC/JIT#addressFor(9c413ce2836ed725).(unsigned index, RegisterIDcxx . . $ QTJSC/RegisterID# base = callFrameRegister);
389
390 void testPrototypecxx . . $ QTJSC/JIT#testPrototype(325c64e94b5626a5).(Structurecxx . . $ QTJSC/Structure#*, JumpList& failureCases);
391
392 #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64)
393 Address tagFor(unsigned index, RegisterID base = callFrameRegister);
394 Address payloadFor(unsigned index, RegisterID base = callFrameRegister);
395
396 bool getOperandConstantImmediateInt(unsigned op1, unsigned op2, unsigned& op, int32_t& constant);
397
398 void emitLoadTag(unsigned index, RegisterID tag);
399 void emitLoadPayload(unsigned index, RegisterID payload);
400
401 void emitLoad(const JSValue& v, RegisterID tag, RegisterID payload);
402 void emitLoad(unsigned index, RegisterID tag, RegisterID payload, RegisterID base = callFrameRegister);
403 void emitLoad2(unsigned index1, RegisterID tag1, RegisterID payload1, unsigned index2, RegisterID tag2, RegisterID payload2);
404
405 void emitStore(unsigned index, RegisterID tag, RegisterID payload, RegisterID base = callFrameRegister);
406 void emitStore(unsigned index, const JSValue constant, RegisterID base = callFrameRegister);
407 void emitStoreInt32(unsigned index, RegisterID payload, bool indexIsInt32 = false);
408 void emitStoreInt32(unsigned index, Imm32 payload, bool indexIsInt32 = false);
409 void emitStoreCell(unsigned index, RegisterID payload, bool indexIsCell = false);
410 void emitStoreBool(unsigned index, RegisterID tag, bool indexIsBool = false);
411 void emitStoreDouble(unsigned index, FPRegisterID value);
412
413 bool isLabeled(unsigned bytecodeIndex);
414 void map(unsigned bytecodeIndex, unsigned virtualRegisterIndex, RegisterID tag, RegisterID payload);
415 void unmap(RegisterID);
416 void unmap();
417 bool isMapped(unsigned virtualRegisterIndex);
418 bool getMappedPayload(unsigned virtualRegisterIndex, RegisterID& payload);
419 bool getMappedTag(unsigned virtualRegisterIndex, RegisterID& tag);
420
421 void emitJumpSlowCaseIfNotJSCell(unsigned virtualRegisterIndex);
422 void emitJumpSlowCaseIfNotJSCell(unsigned virtualRegisterIndex, RegisterID tag);
423 void linkSlowCaseIfNotJSCell(Vector<SlowCaseEntry>::iterator&, unsigned virtualRegisterIndex);
424
425 #if ENABLE(JIT_OPTIMIZE_PROPERTY_ACCESS)
426 void compileGetByIdHotPath();
427 void compileGetByIdSlowCase(int resultVReg, int baseVReg, Identifier* ident, Vector<SlowCaseEntry>::iterator& iter, bool isMethodCheck = false);
428 #endif
429 void compileGetDirectOffset(RegisterID base, RegisterID resultTag, RegisterID resultPayload, Structure* structure, size_t cachedOffset);
430 void compileGetDirectOffset(JSObject* base, RegisterID temp, RegisterID resultTag, RegisterID resultPayload, size_t cachedOffset);
431 void compileGetDirectOffset(RegisterID base, RegisterID resultTag, RegisterID resultPayload, RegisterID structure, RegisterID offset);
432 void compilePutDirectOffset(RegisterID base, RegisterID valueTag, RegisterID valuePayload, Structure* structure, size_t cachedOffset);
433
434 // Arithmetic opcode helpers
435 void emitAdd32Constant(unsigned dst, unsigned op, int32_t constant, ResultType opType);
436 void emitSub32Constant(unsigned dst, unsigned op, int32_t constant, ResultType opType);
437 void emitBinaryDoubleOp(OpcodeID, unsigned dst, unsigned op1, unsigned op2, OperandTypes, JumpList& notInt32Op1, JumpList& notInt32Op2, bool op1IsInRegisters = true, bool op2IsInRegisters = true);
438
439 #if CPU(X86)
440 // These architecture specific value are used to enable patching - see comment on op_put_by_id.
441 static const int patchOffsetPutByIdStructure = 7;
442 static const int patchOffsetPutByIdExternalLoad = 13;
443 static const int patchLengthPutByIdExternalLoad = 3;
444 static const int patchOffsetPutByIdPropertyMapOffset1 = 22;
445 static const int patchOffsetPutByIdPropertyMapOffset2 = 28;
446 // These architecture specific value are used to enable patching - see comment on op_get_by_id.
447 static const int patchOffsetGetByIdStructure = 7;
448 static const int patchOffsetGetByIdBranchToSlowCase = 13;
449 static const int patchOffsetGetByIdExternalLoad = 13;
450 static const int patchLengthGetByIdExternalLoad = 3;
451 static const int patchOffsetGetByIdPropertyMapOffset1 = 22;
452 static const int patchOffsetGetByIdPropertyMapOffset2 = 28;
453 static const int patchOffsetGetByIdPutResult = 28;
454 #if ENABLE(OPCODE_SAMPLING) && USE(JIT_STUB_ARGUMENT_VA_LIST)
455 static const int patchOffsetGetByIdSlowCaseCall = 35;
456 #elif ENABLE(OPCODE_SAMPLING)
457 static const int patchOffsetGetByIdSlowCaseCall = 37;
458 #elif USE(JIT_STUB_ARGUMENT_VA_LIST)
459 static const int patchOffsetGetByIdSlowCaseCall = 25;
460 #else
461 static const int patchOffsetGetByIdSlowCaseCall = 27;
462 #endif
463 static const int patchOffsetOpCallCompareToJump = 6;
464
465 static const int patchOffsetMethodCheckProtoObj = 11;
466 static const int patchOffsetMethodCheckProtoStruct = 18;
467 static const int patchOffsetMethodCheckPutFunction = 29;
468 #elif CPU(ARM_TRADITIONAL)
469 // These architecture specific value are used to enable patching - see comment on op_put_by_id.
470 static const int patchOffsetPutByIdStructure = 4;
471 static const int patchOffsetPutByIdExternalLoad = 16;
472 static const int patchLengthPutByIdExternalLoad = 4;
473 static const int patchOffsetPutByIdPropertyMapOffset1 = 20;
474 static const int patchOffsetPutByIdPropertyMapOffset2 = 28;
475 // These architecture specific value are used to enable patching - see comment on op_get_by_id.
476 static const int patchOffsetGetByIdStructure = 4;
477 static const int patchOffsetGetByIdBranchToSlowCase = 16;
478 static const int patchOffsetGetByIdExternalLoad = 16;
479 static const int patchLengthGetByIdExternalLoad = 4;
480 static const int patchOffsetGetByIdPropertyMapOffset1 = 20;
481 static const int patchOffsetGetByIdPropertyMapOffset2 = 28;
482 static const int patchOffsetGetByIdPutResult = 36;
483 #if ENABLE(OPCODE_SAMPLING)
484 #error "OPCODE_SAMPLING is not yet supported"
485 #else
486 static const int patchOffsetGetByIdSlowCaseCall = 32;
487 #endif
488 static const int patchOffsetOpCallCompareToJump = 12;
489
490 static const int patchOffsetMethodCheckProtoObj = 12;
491 static const int patchOffsetMethodCheckProtoStruct = 20;
492 static const int patchOffsetMethodCheckPutFunction = 32;
493
494 // sequenceOpCall
495 static const int sequenceOpCallInstructionSpace = 12;
496 static const int sequenceOpCallConstantSpace = 2;
497 // sequenceMethodCheck
498 static const int sequenceMethodCheckInstructionSpace = 40;
499 static const int sequenceMethodCheckConstantSpace = 6;
500 // sequenceGetByIdHotPath
501 static const int sequenceGetByIdHotPathInstructionSpace = 36;
502 static const int sequenceGetByIdHotPathConstantSpace = 4;
503 // sequenceGetByIdSlowCase
504 static const int sequenceGetByIdSlowCaseInstructionSpace = 40;
505 static const int sequenceGetByIdSlowCaseConstantSpace = 2;
506 // sequencePutById
507 static const int sequencePutByIdInstructionSpace = 36;
508 static const int sequencePutByIdConstantSpace = 4;
509 #else
510 #error "JSVALUE32_64 not supported on this platform."
511 #endif
512
513 #else // USE(JSVALUE32_64)
514 void emitGetVirtualRegistercxx . . $ QTJSC/JIT#emitGetVirtualRegister(d80a75f9307c141b).(int src, RegisterIDcxx . . $ QTJSC/RegisterID# dst);
515 void emitGetVirtualRegisterscxx . . $ QTJSC/JIT#emitGetVirtualRegisters(966e20e8c36f9f90).(int src1, RegisterIDcxx . . $ QTJSC/RegisterID# dst1, int src2, RegisterIDcxx . . $ QTJSC/RegisterID# dst2);
516 void emitPutVirtualRegistercxx . . $ QTJSC/JIT#emitPutVirtualRegister(72cbb6ad3b856919).(unsigned dst, RegisterIDcxx . . $ QTJSC/RegisterID# from = regT0);
517
518 int32_tcxx . . $ int32_t# getConstantOperandImmediateIntcxx . . $ QTJSC/JIT#getConstantOperandImmediateInt(4c679297bf94b9eb).(unsigned src);
519
520 void emitGetVariableObjectRegistercxx . . $ QTJSC/JIT#emitGetVariableObjectRegister(45bb67b374b3280a).(RegisterIDcxx . . $ QTJSC/RegisterID# variableObject, int index, RegisterIDcxx . . $ QTJSC/RegisterID# dst);
521 void emitPutVariableObjectRegistercxx . . $ QTJSC/JIT#emitPutVariableObjectRegister(bb4aff759691daac).(RegisterIDcxx . . $ QTJSC/RegisterID# src, RegisterIDcxx . . $ QTJSC/RegisterID# variableObject, int index);
522
523 void killLastResultRegistercxx . . $ QTJSC/JIT#killLastResultRegister(49f6e7a06ebc5aa8).();
524
525 Jump emitJumpIfJSCellcxx . . $ QTJSC/JIT#emitJumpIfJSCell(7f4de9b1b46b4182).(RegisterIDcxx . . $ QTJSC/RegisterID#);
526 Jump emitJumpIfBothJSCellscxx . . $ QTJSC/JIT#emitJumpIfBothJSCells(1567c82b3b33c1b1).(RegisterIDcxx . . $ QTJSC/RegisterID#, RegisterIDcxx . . $ QTJSC/RegisterID#, RegisterIDcxx . . $ QTJSC/RegisterID#);
527 void emitJumpSlowCaseIfJSCellcxx . . $ QTJSC/JIT#emitJumpSlowCaseIfJSCell(c5485d8da2f98d3e).(RegisterIDcxx . . $ QTJSC/RegisterID#);
528 Jump emitJumpIfNotJSCellcxx . . $ QTJSC/JIT#emitJumpIfNotJSCell(7f4de9b1b46b4182).(RegisterIDcxx . . $ QTJSC/RegisterID#);
529 void emitJumpSlowCaseIfNotJSCellcxx . . $ QTJSC/JIT#emitJumpSlowCaseIfNotJSCell(c5485d8da2f98d3e).(RegisterIDcxx . . $ QTJSC/RegisterID#);
530 void emitJumpSlowCaseIfNotJSCellcxx . . $ QTJSC/JIT#emitJumpSlowCaseIfNotJSCell(ef123357da10c91d).(RegisterIDcxx . . $ QTJSC/RegisterID#, int VReg);
531 #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE64)
532 JIT::Jump emitJumpIfImmediateNumbercxx . . $ QTJSC/JIT#emitJumpIfImmediateNumber(7f4de9b1b46b4182).(RegisterIDcxx . . $ QTJSC/RegisterID#);
533 JIT::Jump emitJumpIfNotImmediateNumbercxx . . $ QTJSC/JIT#emitJumpIfNotImmediateNumber(7f4de9b1b46b4182).(RegisterIDcxx . . $ QTJSC/RegisterID#);
534 #else
535 JIT::Jump emitJumpIfImmediateNumber(RegisterID reg)
536 {
537 return emitJumpIfImmediateInteger(reg);
538 }
539
540 JIT::Jump emitJumpIfNotImmediateNumber(RegisterID reg)
541 {
542 return emitJumpIfNotImmediateInteger(reg);
543 }
544 #endif
545 JIT::Jump emitJumpIfImmediateIntegercxx . . $ QTJSC/JIT#emitJumpIfImmediateInteger(7f4de9b1b46b4182).(RegisterIDcxx . . $ QTJSC/RegisterID#);
546 JIT::Jump emitJumpIfNotImmediateIntegercxx . . $ QTJSC/JIT#emitJumpIfNotImmediateInteger(7f4de9b1b46b4182).(RegisterIDcxx . . $ QTJSC/RegisterID#);
547 JIT::Jump emitJumpIfNotImmediateIntegerscxx . . $ QTJSC/JIT#emitJumpIfNotImmediateIntegers(1567c82b3b33c1b1).(RegisterIDcxx . . $ QTJSC/RegisterID#, RegisterIDcxx . . $ QTJSC/RegisterID#, RegisterIDcxx . . $ QTJSC/RegisterID#);
548 void emitJumpSlowCaseIfNotImmediateIntegercxx . . $ QTJSC/JIT#emitJumpSlowCaseIfNotImmediateInteger(c5485d8da2f98d3e).(RegisterIDcxx . . $ QTJSC/RegisterID#);
549 void emitJumpSlowCaseIfNotImmediateNumbercxx . . $ QTJSC/JIT#emitJumpSlowCaseIfNotImmediateNumber(c5485d8da2f98d3e).(RegisterIDcxx . . $ QTJSC/RegisterID#);
550 void emitJumpSlowCaseIfNotImmediateIntegerscxx . . $ QTJSC/JIT#emitJumpSlowCaseIfNotImmediateIntegers(94755c9486c9d376).(RegisterIDcxx . . $ QTJSC/RegisterID#, RegisterIDcxx . . $ QTJSC/RegisterID#, RegisterIDcxx . . $ QTJSC/RegisterID#);
551
552 #if !USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE64)
553 void emitFastArithDeTagImmediate(RegisterID);
554 Jump emitFastArithDeTagImmediateJumpIfZero(RegisterID);
555 #endif
556 void emitFastArithReTagImmediatecxx . . $ QTJSC/JIT#emitFastArithReTagImmediate(641b3dd381fb1c10).(RegisterIDcxx . . $ QTJSC/RegisterID# src, RegisterIDcxx . . $ QTJSC/RegisterID# dest);
557 void emitFastArithImmToIntcxx . . $ QTJSC/JIT#emitFastArithImmToInt(c5485d8da2f98d3e).(RegisterIDcxx . . $ QTJSC/RegisterID#);
558 void emitFastArithIntToImmNoCheckcxx . . $ QTJSC/JIT#emitFastArithIntToImmNoCheck(641b3dd381fb1c10).(RegisterIDcxx . . $ QTJSC/RegisterID# src, RegisterIDcxx . . $ QTJSC/RegisterID# dest);
559
560 void emitTagAsBoolImmediatecxx . . $ QTJSC/JIT#emitTagAsBoolImmediate(c5485d8da2f98d3e).(RegisterIDcxx . . $ QTJSC/RegisterID# reg);
561 void compileBinaryArithOpcxx . . $ QTJSC/JIT#compileBinaryArithOp(13d442ccad319258).(OpcodeIDcxx . . $ QTJSC/OpcodeID#, unsigned dst, unsigned src1, unsigned src2, OperandTypescxx . . $ QTJSC/OperandTypes# opi);
562 #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE64)
563 void compileBinaryArithOpSlowCasecxx . . $ QTJSC/JIT#compileBinaryArithOpSlowCase(5538342e9564730f).(OpcodeIDcxx . . $ QTJSC/OpcodeID#, Vector<SlowCaseEntry>::iterator&, unsigned dst, unsigned src1, unsigned src2, OperandTypescxx . . $ QTJSC/OperandTypes#, bool op1HasImmediateIntFastCase, bool op2HasImmediateIntFastCase);
564 #else
565 void compileBinaryArithOpSlowCase(OpcodeID, Vector<SlowCaseEntry>::iterator&, unsigned dst, unsigned src1, unsigned src2, OperandTypes);
566 #endif
567
568 #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(JIT_OPTIMIZE_PROPERTY_ACCESS)
569 void compileGetByIdHotPathcxx . . $ QTJSC/JIT#compileGetByIdHotPath(346e61026171af06).(int resultVReg, int baseVReg, Identifiercxx . . $ QTJSC/Identifier#* ident, unsigned propertyAccessInstructionIndex);
570 void compileGetByIdSlowCasecxx . . $ QTJSC/JIT#compileGetByIdSlowCase(7ce0eb9a12b21a86).(int resultVReg, int baseVReg, Identifiercxx . . $ QTJSC/Identifier#* ident, Vector<SlowCaseEntry>::iterator& iter, bool isMethodCheck = false);
571 #endif
572 void compileGetDirectOffsetcxx . . $ QTJSC/JIT#compileGetDirectOffset(efa3834e617d30d).(RegisterIDcxx . . $ QTJSC/RegisterID# base, RegisterIDcxx . . $ QTJSC/RegisterID# result, Structurecxx . . $ QTJSC/Structure#* structure, size_tcxx . . $ size_t# cachedOffset);
573 void compileGetDirectOffsetcxx . . $ QTJSC/JIT#compileGetDirectOffset(59f0b5b1a52678a1).(JSObjectcxx . . $ QTJSC/JSObject#* base, RegisterIDcxx . . $ QTJSC/RegisterID# temp, RegisterIDcxx . . $ QTJSC/RegisterID# result, size_tcxx . . $ size_t# cachedOffset);
574 void compileGetDirectOffsetcxx . . $ QTJSC/JIT#compileGetDirectOffset(8b328509f1cc99fd).(RegisterIDcxx . . $ QTJSC/RegisterID# base, RegisterIDcxx . . $ QTJSC/RegisterID# result, RegisterIDcxx . . $ QTJSC/RegisterID# structure, RegisterIDcxx . . $ QTJSC/RegisterID# offset, RegisterIDcxx . . $ QTJSC/RegisterID# scratch);
575 void compilePutDirectOffsetcxx . . $ QTJSC/JIT#compilePutDirectOffset(efa3834e617d30d).(RegisterIDcxx . . $ QTJSC/RegisterID# base, RegisterIDcxx . . $ QTJSC/RegisterID# value, Structurecxx . . $ QTJSC/Structure#* structure, size_tcxx . . $ size_t# cachedOffset);
576
577 #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64)
578 // These architecture specific value are used to enable patching - see comment on op_put_by_id.
579 static const int patchOffsetPutByIdStructurecxx . . $ QTJSC/JIT#patchOffsetPutByIdStructure. = 10;
580 static const int patchOffsetPutByIdExternalLoadcxx . . $ QTJSC/JIT#patchOffsetPutByIdExternalLoad. = 20;
581 static const int patchLengthPutByIdExternalLoadcxx . . $ QTJSC/JIT#patchLengthPutByIdExternalLoad. = 4;
582 static const int patchOffsetPutByIdPropertyMapOffsetcxx . . $ QTJSC/JIT#patchOffsetPutByIdPropertyMapOffset. = 31;
583 // These architecture specific value are used to enable patching - see comment on op_get_by_id.
584 static const int patchOffsetGetByIdStructurecxx . . $ QTJSC/JIT#patchOffsetGetByIdStructure. = 10;
585 static const int patchOffsetGetByIdBranchToSlowCasecxx . . $ QTJSC/JIT#patchOffsetGetByIdBranchToSlowCase. = 20;
586 static const int patchOffsetGetByIdExternalLoadcxx . . $ QTJSC/JIT#patchOffsetGetByIdExternalLoad. = 20;
587 static const int patchLengthGetByIdExternalLoadcxx . . $ QTJSC/JIT#patchLengthGetByIdExternalLoad. = 4;
588 static const int patchOffsetGetByIdPropertyMapOffsetcxx . . $ QTJSC/JIT#patchOffsetGetByIdPropertyMapOffset. = 31;
589 static const int patchOffsetGetByIdPutResultcxx . . $ QTJSC/JIT#patchOffsetGetByIdPutResult. = 31;
590 #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_SAMPLING)
591 static const int patchOffsetGetByIdSlowCaseCall = 64;
592 #else
593 static const int patchOffsetGetByIdSlowCaseCallcxx . . $ QTJSC/JIT#patchOffsetGetByIdSlowCaseCall. = 41;
594 #endif
595 static const int patchOffsetOpCallCompareToJumpcxx . . $ QTJSC/JIT#patchOffsetOpCallCompareToJump. = 9;
596
597 static const int patchOffsetMethodCheckProtoObjcxx . . $ QTJSC/JIT#patchOffsetMethodCheckProtoObj. = 20;
598 static const int patchOffsetMethodCheckProtoStructcxx . . $ QTJSC/JIT#patchOffsetMethodCheckProtoStruct. = 30;
599 static const int patchOffsetMethodCheckPutFunctioncxx . . $ QTJSC/JIT#patchOffsetMethodCheckPutFunction. = 50;
600 #elif CPU(X86)
601 // These architecture specific value are used to enable patching - see comment on op_put_by_id.
602 static const int patchOffsetPutByIdStructure = 7;
603 static const int patchOffsetPutByIdExternalLoad = 13;
604 static const int patchLengthPutByIdExternalLoad = 3;
605 static const int patchOffsetPutByIdPropertyMapOffset = 22;
606 // These architecture specific value are used to enable patching - see comment on op_get_by_id.
607 static const int patchOffsetGetByIdStructure = 7;
608 static const int patchOffsetGetByIdBranchToSlowCase = 13;
609 static const int patchOffsetGetByIdExternalLoad = 13;
610 static const int patchLengthGetByIdExternalLoad = 3;
611 static const int patchOffsetGetByIdPropertyMapOffset = 22;
612 static const int patchOffsetGetByIdPutResult = 22;
613 #if ENABLE(OPCODE_SAMPLING) && USE(JIT_STUB_ARGUMENT_VA_LIST)
614 static const int patchOffsetGetByIdSlowCaseCall = 31;
615 #elif ENABLE(OPCODE_SAMPLING)
616 static const int patchOffsetGetByIdSlowCaseCall = 33;
617 #elif USE(JIT_STUB_ARGUMENT_VA_LIST)
618 static const int patchOffsetGetByIdSlowCaseCall = 21;
619 #else
620 static const int patchOffsetGetByIdSlowCaseCall = 23;
621 #endif
622 static const int patchOffsetOpCallCompareToJump = 6;
623
624 static const int patchOffsetMethodCheckProtoObj = 11;
625 static const int patchOffsetMethodCheckProtoStruct = 18;
626 static const int patchOffsetMethodCheckPutFunction = 29;
627 #elif CPU(ARM_THUMB2)
628 // These architecture specific value are used to enable patching - see comment on op_put_by_id.
629 static const int patchOffsetPutByIdStructure = 10;
630 static const int patchOffsetPutByIdExternalLoad = 26;
631 static const int patchLengthPutByIdExternalLoad = 12;
632 static const int patchOffsetPutByIdPropertyMapOffset = 46;
633 // These architecture specific value are used to enable patching - see comment on op_get_by_id.
634 static const int patchOffsetGetByIdStructure = 10;
635 static const int patchOffsetGetByIdBranchToSlowCase = 26;
636 static const int patchOffsetGetByIdExternalLoad = 26;
637 static const int patchLengthGetByIdExternalLoad = 12;
638 static const int patchOffsetGetByIdPropertyMapOffset = 46;
639 static const int patchOffsetGetByIdPutResult = 50;
640 #if ENABLE(OPCODE_SAMPLING)
641 static const int patchOffsetGetByIdSlowCaseCall = 0; // FIMXE
642 #else
643 static const int patchOffsetGetByIdSlowCaseCall = 28;
644 #endif
645 static const int patchOffsetOpCallCompareToJump = 16;
646
647 static const int patchOffsetMethodCheckProtoObj = 24;
648 static const int patchOffsetMethodCheckProtoStruct = 34;
649 static const int patchOffsetMethodCheckPutFunction = 58;
650 #elif CPU(ARM_TRADITIONAL)
651 // These architecture specific value are used to enable patching - see comment on op_put_by_id.
652 static const int patchOffsetPutByIdStructure = 4;
653 static const int patchOffsetPutByIdExternalLoad = 16;
654 static const int patchLengthPutByIdExternalLoad = 4;
655 static const int patchOffsetPutByIdPropertyMapOffset = 20;
656 // These architecture specific value are used to enable patching - see comment on op_get_by_id.
657 static const int patchOffsetGetByIdStructure = 4;
658 static const int patchOffsetGetByIdBranchToSlowCase = 16;
659 static const int patchOffsetGetByIdExternalLoad = 16;
660 static const int patchLengthGetByIdExternalLoad = 4;
661 static const int patchOffsetGetByIdPropertyMapOffset = 20;
662 static const int patchOffsetGetByIdPutResult = 28;
663 #if ENABLE(OPCODE_SAMPLING)
664 #error "OPCODE_SAMPLING is not yet supported"
665 #else
666 static const int patchOffsetGetByIdSlowCaseCall = 28;
667 #endif
668 static const int patchOffsetOpCallCompareToJump = 12;
669
670 static const int patchOffsetMethodCheckProtoObj = 12;
671 static const int patchOffsetMethodCheckProtoStruct = 20;
672 static const int patchOffsetMethodCheckPutFunction = 32;
673
674 // sequenceOpCall
675 static const int sequenceOpCallInstructionSpace = 12;
676 static const int sequenceOpCallConstantSpace = 2;
677 // sequenceMethodCheck
678 static const int sequenceMethodCheckInstructionSpace = 40;
679 static const int sequenceMethodCheckConstantSpace = 6;
680 // sequenceGetByIdHotPath
681 static const int sequenceGetByIdHotPathInstructionSpace = 28;
682 static const int sequenceGetByIdHotPathConstantSpace = 3;
683 // sequenceGetByIdSlowCase
684 static const int sequenceGetByIdSlowCaseInstructionSpace = 32;
685 static const int sequenceGetByIdSlowCaseConstantSpace = 2;
686 // sequencePutById
687 static const int sequencePutByIdInstructionSpace = 28;
688 static const int sequencePutByIdConstantSpace = 3;
689 #endif
690 #endif // USE(JSVALUE32_64)
691
692 #if defined(ASSEMBLER_HAS_CONSTANT_POOL) && ASSEMBLER_HAS_CONSTANT_POOL
693 #define BEGIN_UNINTERRUPTED_SEQUENCE(name) beginUninterruptedSequence(name ## InstructionSpace, name ## ConstantSpace)
694 #define END_UNINTERRUPTED_SEQUENCE(name) endUninterruptedSequence(name ## InstructionSpace, name ## ConstantSpace)
695
696 void beginUninterruptedSequence(int, int);
697 void endUninterruptedSequence(int, int);
698
699 #else
700 #define BEGIN_UNINTERRUPTED_SEQUENCEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.h:700:9`!(name)
701 #define END_UNINTERRUPTED_SEQUENCEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.h:701:9`!(name)
702 #endif
703
704 void emit_op_addcxx . . $ QTJSC/JIT#emit_op_add(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
705 void emit_op_bitandcxx . . $ QTJSC/JIT#emit_op_bitand(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
706 void emit_op_bitnotcxx . . $ QTJSC/JIT#emit_op_bitnot(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
707 void emit_op_bitorcxx . . $ QTJSC/JIT#emit_op_bitor(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
708 void emit_op_bitxorcxx . . $ QTJSC/JIT#emit_op_bitxor(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
709 void emit_op_callcxx . . $ QTJSC/JIT#emit_op_call(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
710 void emit_op_call_evalcxx . . $ QTJSC/JIT#emit_op_call_eval(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
711 void emit_op_call_varargscxx . . $ QTJSC/JIT#emit_op_call_varargs(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
712 void emit_op_catchcxx . . $ QTJSC/JIT#emit_op_catch(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
713 void emit_op_constructcxx . . $ QTJSC/JIT#emit_op_construct(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
714 void emit_op_construct_verifycxx . . $ QTJSC/JIT#emit_op_construct_verify(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
715 void emit_op_convert_thiscxx . . $ QTJSC/JIT#emit_op_convert_this(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
716 void emit_op_create_argumentscxx . . $ QTJSC/JIT#emit_op_create_arguments(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
717 void emit_op_debugcxx . . $ QTJSC/JIT#emit_op_debug(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
718 void emit_op_del_by_idcxx . . $ QTJSC/JIT#emit_op_del_by_id(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
719 void emit_op_divcxx . . $ QTJSC/JIT#emit_op_div(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
720 void emit_op_endcxx . . $ QTJSC/JIT#emit_op_end(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
721 void emit_op_entercxx . . $ QTJSC/JIT#emit_op_enter(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
722 void emit_op_enter_with_activationcxx . . $ QTJSC/JIT#emit_op_enter_with_activation(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
723 void emit_op_eqcxx . . $ QTJSC/JIT#emit_op_eq(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
724 void emit_op_eq_nullcxx . . $ QTJSC/JIT#emit_op_eq_null(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
725 void emit_op_get_by_idcxx . . $ QTJSC/JIT#emit_op_get_by_id(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
726 void emit_op_get_by_valcxx . . $ QTJSC/JIT#emit_op_get_by_val(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
727 void emit_op_get_by_pnamecxx . . $ QTJSC/JIT#emit_op_get_by_pname(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
728 void emit_op_get_global_varcxx . . $ QTJSC/JIT#emit_op_get_global_var(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
729 void emit_op_get_scoped_varcxx . . $ QTJSC/JIT#emit_op_get_scoped_var(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
730 void emit_op_init_argumentscxx . . $ QTJSC/JIT#emit_op_init_arguments(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
731 void emit_op_instanceofcxx . . $ QTJSC/JIT#emit_op_instanceof(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
732 void emit_op_jeq_nullcxx . . $ QTJSC/JIT#emit_op_jeq_null(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
733 void emit_op_jfalsecxx . . $ QTJSC/JIT#emit_op_jfalse(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
734 void emit_op_jmpcxx . . $ QTJSC/JIT#emit_op_jmp(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
735 void emit_op_jmp_scopescxx . . $ QTJSC/JIT#emit_op_jmp_scopes(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
736 void emit_op_jneq_nullcxx . . $ QTJSC/JIT#emit_op_jneq_null(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
737 void emit_op_jneq_ptrcxx . . $ QTJSC/JIT#emit_op_jneq_ptr(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
738 void emit_op_jnlesscxx . . $ QTJSC/JIT#emit_op_jnless(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
739 void emit_op_jlesscxx . . $ QTJSC/JIT#emit_op_jless(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
740 void emit_op_jnlesseqcxx . . $ QTJSC/JIT#emit_op_jnlesseq(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
741 void emit_op_jsrcxx . . $ QTJSC/JIT#emit_op_jsr(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
742 void emit_op_jtruecxx . . $ QTJSC/JIT#emit_op_jtrue(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
743 void emit_op_load_varargscxx . . $ QTJSC/JIT#emit_op_load_varargs(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
744 void emit_op_loopcxx . . $ QTJSC/JIT#emit_op_loop(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
745 void emit_op_loop_if_lesscxx . . $ QTJSC/JIT#emit_op_loop_if_less(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
746 void emit_op_loop_if_lesseqcxx . . $ QTJSC/JIT#emit_op_loop_if_lesseq(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
747 void emit_op_loop_if_truecxx . . $ QTJSC/JIT#emit_op_loop_if_true(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
748 void emit_op_loop_if_falsecxx . . $ QTJSC/JIT#emit_op_loop_if_false(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
749 void emit_op_lshiftcxx . . $ QTJSC/JIT#emit_op_lshift(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
750 void emit_op_method_checkcxx . . $ QTJSC/JIT#emit_op_method_check(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
751 void emit_op_modcxx . . $ QTJSC/JIT#emit_op_mod(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
752 void emit_op_movcxx . . $ QTJSC/JIT#emit_op_mov(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
753 void emit_op_mulcxx . . $ QTJSC/JIT#emit_op_mul(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
754 void emit_op_negatecxx . . $ QTJSC/JIT#emit_op_negate(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
755 void emit_op_neqcxx . . $ QTJSC/JIT#emit_op_neq(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
756 void emit_op_neq_nullcxx . . $ QTJSC/JIT#emit_op_neq_null(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
757 void emit_op_new_arraycxx . . $ QTJSC/JIT#emit_op_new_array(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
758 void emit_op_new_errorcxx . . $ QTJSC/JIT#emit_op_new_error(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
759 void emit_op_new_funccxx . . $ QTJSC/JIT#emit_op_new_func(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
760 void emit_op_new_func_expcxx . . $ QTJSC/JIT#emit_op_new_func_exp(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
761 void emit_op_new_objectcxx . . $ QTJSC/JIT#emit_op_new_object(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
762 void emit_op_new_regexpcxx . . $ QTJSC/JIT#emit_op_new_regexp(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
763 void emit_op_get_pnamescxx . . $ QTJSC/JIT#emit_op_get_pnames(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
764 void emit_op_next_pnamecxx . . $ QTJSC/JIT#emit_op_next_pname(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
765 void emit_op_notcxx . . $ QTJSC/JIT#emit_op_not(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
766 void emit_op_nstricteqcxx . . $ QTJSC/JIT#emit_op_nstricteq(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
767 void emit_op_pop_scopecxx . . $ QTJSC/JIT#emit_op_pop_scope(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
768 void emit_op_post_deccxx . . $ QTJSC/JIT#emit_op_post_dec(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
769 void emit_op_post_inccxx . . $ QTJSC/JIT#emit_op_post_inc(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
770 void emit_op_pre_deccxx . . $ QTJSC/JIT#emit_op_pre_dec(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
771 void emit_op_pre_inccxx . . $ QTJSC/JIT#emit_op_pre_inc(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
772 void emit_op_profile_did_callcxx . . $ QTJSC/JIT#emit_op_profile_did_call(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
773 void emit_op_profile_will_callcxx . . $ QTJSC/JIT#emit_op_profile_will_call(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
774 void emit_op_push_new_scopecxx . . $ QTJSC/JIT#emit_op_push_new_scope(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
775 void emit_op_push_scopecxx . . $ QTJSC/JIT#emit_op_push_scope(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
776 void emit_op_put_by_idcxx . . $ QTJSC/JIT#emit_op_put_by_id(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
777 void emit_op_put_by_indexcxx . . $ QTJSC/JIT#emit_op_put_by_index(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
778 void emit_op_put_by_valcxx . . $ QTJSC/JIT#emit_op_put_by_val(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
779 void emit_op_put_gettercxx . . $ QTJSC/JIT#emit_op_put_getter(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
780 void emit_op_put_global_varcxx . . $ QTJSC/JIT#emit_op_put_global_var(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
781 void emit_op_put_scoped_varcxx . . $ QTJSC/JIT#emit_op_put_scoped_var(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
782 void emit_op_put_settercxx . . $ QTJSC/JIT#emit_op_put_setter(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
783 void emit_op_resolvecxx . . $ QTJSC/JIT#emit_op_resolve(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
784 void emit_op_resolve_basecxx . . $ QTJSC/JIT#emit_op_resolve_base(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
785 void emit_op_resolve_globalcxx . . $ QTJSC/JIT#emit_op_resolve_global(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
786 void emit_op_resolve_skipcxx . . $ QTJSC/JIT#emit_op_resolve_skip(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
787 void emit_op_resolve_with_basecxx . . $ QTJSC/JIT#emit_op_resolve_with_base(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
788 void emit_op_retcxx . . $ QTJSC/JIT#emit_op_ret(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
789 void emit_op_rshiftcxx . . $ QTJSC/JIT#emit_op_rshift(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
790 void emit_op_sretcxx . . $ QTJSC/JIT#emit_op_sret(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
791 void emit_op_strcatcxx . . $ QTJSC/JIT#emit_op_strcat(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
792 void emit_op_stricteqcxx . . $ QTJSC/JIT#emit_op_stricteq(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
793 void emit_op_subcxx . . $ QTJSC/JIT#emit_op_sub(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
794 void emit_op_switch_charcxx . . $ QTJSC/JIT#emit_op_switch_char(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
795 void emit_op_switch_immcxx . . $ QTJSC/JIT#emit_op_switch_imm(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
796 void emit_op_switch_stringcxx . . $ QTJSC/JIT#emit_op_switch_string(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
797 void emit_op_tear_off_activationcxx . . $ QTJSC/JIT#emit_op_tear_off_activation(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
798 void emit_op_tear_off_argumentscxx . . $ QTJSC/JIT#emit_op_tear_off_arguments(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
799 void emit_op_throwcxx . . $ QTJSC/JIT#emit_op_throw(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
800 void emit_op_to_jsnumbercxx . . $ QTJSC/JIT#emit_op_to_jsnumber(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
801 void emit_op_to_primitivecxx . . $ QTJSC/JIT#emit_op_to_primitive(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
802 void emit_op_unexpected_loadcxx . . $ QTJSC/JIT#emit_op_unexpected_load(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#*);
803
804 void emitSlow_op_addcxx . . $ QTJSC/JIT#emitSlow_op_add(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
805 void emitSlow_op_bitandcxx . . $ QTJSC/JIT#emitSlow_op_bitand(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
806 void emitSlow_op_bitnotcxx . . $ QTJSC/JIT#emitSlow_op_bitnot(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
807 void emitSlow_op_bitorcxx . . $ QTJSC/JIT#emitSlow_op_bitor(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
808 void emitSlow_op_bitxorcxx . . $ QTJSC/JIT#emitSlow_op_bitxor(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
809 void emitSlow_op_callcxx . . $ QTJSC/JIT#emitSlow_op_call(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
810 void emitSlow_op_call_evalcxx . . $ QTJSC/JIT#emitSlow_op_call_eval(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
811 void emitSlow_op_call_varargscxx . . $ QTJSC/JIT#emitSlow_op_call_varargs(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
812 void emitSlow_op_constructcxx . . $ QTJSC/JIT#emitSlow_op_construct(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
813 void emitSlow_op_construct_verifycxx . . $ QTJSC/JIT#emitSlow_op_construct_verify(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
814 void emitSlow_op_convert_thiscxx . . $ QTJSC/JIT#emitSlow_op_convert_this(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
815 void emitSlow_op_divcxx . . $ QTJSC/JIT#emitSlow_op_div(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
816 void emitSlow_op_eqcxx . . $ QTJSC/JIT#emitSlow_op_eq(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
817 void emitSlow_op_get_by_idcxx . . $ QTJSC/JIT#emitSlow_op_get_by_id(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
818 void emitSlow_op_get_by_valcxx . . $ QTJSC/JIT#emitSlow_op_get_by_val(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
819 void emitSlow_op_get_by_pnamecxx . . $ QTJSC/JIT#emitSlow_op_get_by_pname(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
820 void emitSlow_op_instanceofcxx . . $ QTJSC/JIT#emitSlow_op_instanceof(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
821 void emitSlow_op_jfalsecxx . . $ QTJSC/JIT#emitSlow_op_jfalse(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
822 void emitSlow_op_jnlesscxx . . $ QTJSC/JIT#emitSlow_op_jnless(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
823 void emitSlow_op_jlesscxx . . $ QTJSC/JIT#emitSlow_op_jless(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
824 void emitSlow_op_jnlesseqcxx . . $ QTJSC/JIT#emitSlow_op_jnlesseq(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
825 void emitSlow_op_jtruecxx . . $ QTJSC/JIT#emitSlow_op_jtrue(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
826 void emitSlow_op_loop_if_lesscxx . . $ QTJSC/JIT#emitSlow_op_loop_if_less(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
827 void emitSlow_op_loop_if_lesseqcxx . . $ QTJSC/JIT#emitSlow_op_loop_if_lesseq(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
828 void emitSlow_op_loop_if_truecxx . . $ QTJSC/JIT#emitSlow_op_loop_if_true(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
829 void emitSlow_op_loop_if_falsecxx . . $ QTJSC/JIT#emitSlow_op_loop_if_false(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
830 void emitSlow_op_lshiftcxx . . $ QTJSC/JIT#emitSlow_op_lshift(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
831 void emitSlow_op_method_checkcxx . . $ QTJSC/JIT#emitSlow_op_method_check(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
832 void emitSlow_op_modcxx . . $ QTJSC/JIT#emitSlow_op_mod(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
833 void emitSlow_op_mulcxx . . $ QTJSC/JIT#emitSlow_op_mul(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
834 void emitSlow_op_negatecxx . . $ QTJSC/JIT#emitSlow_op_negate(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
835 void emitSlow_op_neqcxx . . $ QTJSC/JIT#emitSlow_op_neq(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
836 void emitSlow_op_notcxx . . $ QTJSC/JIT#emitSlow_op_not(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
837 void emitSlow_op_nstricteqcxx . . $ QTJSC/JIT#emitSlow_op_nstricteq(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
838 void emitSlow_op_post_deccxx . . $ QTJSC/JIT#emitSlow_op_post_dec(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
839 void emitSlow_op_post_inccxx . . $ QTJSC/JIT#emitSlow_op_post_inc(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
840 void emitSlow_op_pre_deccxx . . $ QTJSC/JIT#emitSlow_op_pre_dec(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
841 void emitSlow_op_pre_inccxx . . $ QTJSC/JIT#emitSlow_op_pre_inc(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
842 void emitSlow_op_put_by_idcxx . . $ QTJSC/JIT#emitSlow_op_put_by_id(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
843 void emitSlow_op_put_by_valcxx . . $ QTJSC/JIT#emitSlow_op_put_by_val(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
844 void emitSlow_op_resolve_globalcxx . . $ QTJSC/JIT#emitSlow_op_resolve_global(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
845 void emitSlow_op_rshiftcxx . . $ QTJSC/JIT#emitSlow_op_rshift(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
846 void emitSlow_op_stricteqcxx . . $ QTJSC/JIT#emitSlow_op_stricteq(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
847 void emitSlow_op_subcxx . . $ QTJSC/JIT#emitSlow_op_sub(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
848 void emitSlow_op_to_jsnumbercxx . . $ QTJSC/JIT#emitSlow_op_to_jsnumber(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
849 void emitSlow_op_to_primitivecxx . . $ QTJSC/JIT#emitSlow_op_to_primitive(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#*, Vector<SlowCaseEntry>::iterator&);
850
851 /* These functions are deprecated: Please use JITStubCall instead. */
852 void emitPutJITStubArgcxx . . $ QTJSC/JIT#emitPutJITStubArg(2b06aa656d606281).(RegisterIDcxx . . $ QTJSC/RegisterID# src, unsigned argumentNumber);
853 #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64)
854 void emitPutJITStubArg(RegisterID tag, RegisterID payload, unsigned argumentNumber);
855 void emitPutJITStubArgFromVirtualRegister(unsigned src, unsigned argumentNumber, RegisterID scratch1, RegisterID scratch2);
856 #else
857 void emitPutJITStubArgFromVirtualRegistercxx . . $ QTJSC/JIT#emitPutJITStubArgFromVirtualRegister(a91b62135d63dbc8).(unsigned src, unsigned argumentNumber, RegisterIDcxx . . $ QTJSC/RegisterID# scratch);
858 #endif
859 void emitPutJITStubArgConstantcxx . . $ QTJSC/JIT#emitPutJITStubArgConstant(b4d55b1286ff73e8).(unsigned value, unsigned argumentNumber);
860 void emitPutJITStubArgConstantcxx . . $ QTJSC/JIT#emitPutJITStubArgConstant(67abb4dd43ac34c5).(void* value, unsigned argumentNumber);
861 void emitGetJITStubArgcxx . . $ QTJSC/JIT#emitGetJITStubArg(72cbb6ad3b856919).(unsigned argumentNumber, RegisterIDcxx . . $ QTJSC/RegisterID# dst);
862
863 void emitInitRegistercxx . . $ QTJSC/JIT#emitInitRegister(cb2f890c2fdad230).(unsigned dst);
864
865 void emitPutToCallFrameHeadercxx . . $ QTJSC/JIT#emitPutToCallFrameHeader(45c6cca8fa5f4677).(RegisterIDcxx . . $ QTJSC/RegisterID# from, RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderEntrycxx . . $ QTJSC/RegisterFile#CallFrameHeaderEntry# entry);
866 void emitPutImmediateToCallFrameHeadercxx . . $ QTJSC/JIT#emitPutImmediateToCallFrameHeader(800ccc4ec29ccd79).(void* value, RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderEntrycxx . . $ QTJSC/RegisterFile#CallFrameHeaderEntry# entry);
867 void emitGetFromCallFrameHeaderPtrcxx . . $ QTJSC/JIT#emitGetFromCallFrameHeaderPtr(3187389e431412fa).(RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderEntrycxx . . $ QTJSC/RegisterFile#CallFrameHeaderEntry# entry, RegisterIDcxx . . $ QTJSC/RegisterID# to, RegisterIDcxx . . $ QTJSC/RegisterID# from = callFrameRegister);
868 void emitGetFromCallFrameHeader32cxx . . $ QTJSC/JIT#emitGetFromCallFrameHeader32(3187389e431412fa).(RegisterFilecxx . . $ QTJSC/RegisterFile#::CallFrameHeaderEntrycxx . . $ QTJSC/RegisterFile#CallFrameHeaderEntry# entry, RegisterIDcxx . . $ QTJSC/RegisterID# to, RegisterIDcxx . . $ QTJSC/RegisterID# from = callFrameRegister);
869
870 JSValuecxx . . $ QTJSC/JSValue# getConstantOperandcxx . . $ QTJSC/JIT#getConstantOperand(65de979777e37a3b).(unsigned src);
871 bool isOperandConstantImmediateIntcxx . . $ QTJSC/JIT#isOperandConstantImmediateInt(dfa6e707f7696010).(unsigned src);
872
873 Jump getSlowCasecxx . . $ QTJSC/JIT#getSlowCase(795be11dee30bb15).(Vector<SlowCaseEntry>::iterator& iter)
874 {
875 return iter++->from;
876 }
877 void linkSlowCasecxx . . $ QTJSC/JIT#linkSlowCase(2afed6f74e8a6d90).(Vector<SlowCaseEntry>::iterator& iter)
878 {
879 iter->from.link(this);
880 ++iter;
881 }
882 void linkSlowCaseIfNotJSCellcxx . . $ QTJSC/JIT#linkSlowCaseIfNotJSCell(3108d22d6d7c43ca).(Vector<SlowCaseEntry>::iterator&, int vReg);
883
884 Jump checkStructurecxx . . $ QTJSC/JIT#checkStructure(a5c51be9f0fc38).(RegisterIDcxx . . $ QTJSC/RegisterID# reg, Structurecxx . . $ QTJSC/Structure#* structure);
885
886 void restoreArgumentReferencecxx . . $ QTJSC/JIT#restoreArgumentReference(49f6e7a06ebc5aa8).();
887 void restoreArgumentReferenceForTrampolinecxx . . $ QTJSC/JIT#restoreArgumentReferenceForTrampoline(49f6e7a06ebc5aa8).();
888
889 Call emitNakedCallcxx . . $ QTJSC/JIT#emitNakedCall(7864480464b09eea).(CodePtr function = CodePtr());
890
891 void preserveReturnAddressAfterCallcxx . . $ QTJSC/JIT#preserveReturnAddressAfterCall(c5485d8da2f98d3e).(RegisterIDcxx . . $ QTJSC/RegisterID#);
892 void restoreReturnAddressBeforeReturncxx . . $ QTJSC/JIT#restoreReturnAddressBeforeReturn(c5485d8da2f98d3e).(RegisterIDcxx . . $ QTJSC/RegisterID#);
893 void restoreReturnAddressBeforeReturncxx . . $ QTJSC/JIT#restoreReturnAddressBeforeReturn(d4f767463ce0a6b3).(Address);
894
895 void emitTimeoutCheckcxx . . $ QTJSC/JIT#emitTimeoutCheck(49f6e7a06ebc5aa8).();
896 #ifndef NDEBUGcxx . . $ `<built-in>:472:9`!
897 void printBytecodeOperandTypes(unsigned src1, unsigned src2);
898 #endif
899
900 #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(SAMPLING_FLAGS)
901 void setSamplingFlag(int32_t);
902 void clearSamplingFlag(int32_t);
903 #endif
904
905 #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(SAMPLING_COUNTERS)
906 void emitCount(AbstractSamplingCounter&, uint32_t = 1);
907 #endif
908
909 #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(OPCODE_SAMPLING)
910 void sampleInstruction(Instruction*, bool = false);
911 #endif
912
913 #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(CODEBLOCK_SAMPLING)
914 void sampleCodeBlock(CodeBlock*);
915 #else
916 void sampleCodeBlockcxx . . $ QTJSC/JIT#sampleCodeBlock(d4989c577739c98f).(CodeBlockcxx . . $ QTJSC/CodeBlock#*) {}
917 #endif
918
919 Interpretercxx . . $ QTJSC/Interpreter#* m_interpretercxx . . $ QTJSC/JIT#m_interpreter.;
920 JSGlobalDatacxx . . $ QTJSC/JSGlobalData#* m_globalDatacxx . . $ QTJSC/JIT#m_globalData.;
921 CodeBlockcxx . . $ QTJSC/CodeBlock#* m_codeBlockcxx . . $ QTJSC/JIT#m_codeBlock.;
922
923 Vector<CallRecord> m_callscxx . . $ QTJSC/JIT#m_calls.;
924 Vector<Label> m_labelscxx . . $ QTJSC/JIT#m_labels.;
925 Vector<PropertyStubCompilationInfo> m_propertyAccessCompilationInfocxx . . $ QTJSC/JIT#m_propertyAccessCompilationInfo.;
926 Vector<StructureStubCompilationInfo> m_callStructureStubCompilationInfocxx . . $ QTJSC/JIT#m_callStructureStubCompilationInfo.;
927 Vector<MethodCallCompilationInfo> m_methodCallCompilationInfocxx . . $ QTJSC/JIT#m_methodCallCompilationInfo.;
928 Vector<JumpTable> m_jmpTablecxx . . $ QTJSC/JIT#m_jmpTable.;
929
930 unsigned m_bytecodeIndexcxx . . $ QTJSC/JIT#m_bytecodeIndex.;
931 Vector<JSRInfo> m_jsrSitescxx . . $ QTJSC/JIT#m_jsrSites.;
932 Vector<SlowCaseEntry> m_slowCasescxx . . $ QTJSC/JIT#m_slowCases.;
933 Vector<SwitchRecord> m_switchescxx . . $ QTJSC/JIT#m_switches.;
934
935 unsigned m_propertyAccessInstructionIndexcxx . . $ QTJSC/JIT#m_propertyAccessInstructionIndex.;
936 unsigned m_globalResolveInfoIndexcxx . . $ QTJSC/JIT#m_globalResolveInfoIndex.;
937 unsigned m_callLinkInfoIndexcxx . . $ QTJSC/JIT#m_callLinkInfoIndex.;
938
939 #if USEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:55:9`!(JSVALUE32_64)
940 unsigned m_jumpTargetIndex;
941 unsigned m_mappedBytecodeIndex;
942 unsigned m_mappedVirtualRegisterIndex;
943 RegisterID m_mappedTag;
944 RegisterID m_mappedPayload;
945 #else
946 int m_lastResultBytecodeRegistercxx . . $ QTJSC/JIT#m_lastResultBytecodeRegister.;
947 unsigned m_jumpTargetsPositioncxx . . $ QTJSC/JIT#m_jumpTargetsPosition.;
948 #endif
949
950 #ifndef NDEBUGcxx . . $ `<built-in>:472:9`!
951 #if defined(ASSEMBLER_HAS_CONSTANT_POOL) && ASSEMBLER_HAS_CONSTANT_POOL
952 Label m_uninterruptedInstructionSequenceBegin;
953 int m_uninterruptedConstantSequenceBegin;
954 #endif
955 #endif
956 } JIT_CLASS_ALIGNMENTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/jit/JIT.h:36:9`!;
957
958 inline void JITcxx . . $ QTJSC/JIT#::emit_op_loopcxx . . $ QTJSC/JIT#emit_op_loop(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#* currentInstruction)
959 {
960 emitTimeoutCheckcxx . . $ QTJSC/JIT#emitTimeoutCheck(49f6e7a06ebc5aa8).();
961 emit_op_jmpcxx . . $ QTJSC/JIT#emit_op_jmp(b8e756c49b5eed69).(currentInstruction);
962 }
963
964 inline void JITcxx . . $ QTJSC/JIT#::emit_op_loop_if_truecxx . . $ QTJSC/JIT#emit_op_loop_if_true(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#* currentInstruction)
965 {
966 emitTimeoutCheckcxx . . $ QTJSC/JIT#emitTimeoutCheck(49f6e7a06ebc5aa8).();
967 emit_op_jtruecxx . . $ QTJSC/JIT#emit_op_jtrue(b8e756c49b5eed69).(currentInstruction);
968 }
969
970 inline void JITcxx . . $ QTJSC/JIT#::emitSlow_op_loop_if_truecxx . . $ QTJSC/JIT#emitSlow_op_loop_if_true(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#* currentInstruction, Vector<SlowCaseEntry>::iterator& iter)
971 {
972 emitSlow_op_jtrue(currentInstruction, iter);
973 }
974
975 inline void JITcxx . . $ QTJSC/JIT#::emit_op_loop_if_falsecxx . . $ QTJSC/JIT#emit_op_loop_if_false(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#* currentInstruction)
976 {
977 emitTimeoutCheckcxx . . $ QTJSC/JIT#emitTimeoutCheck(49f6e7a06ebc5aa8).();
978 emit_op_jfalsecxx . . $ QTJSC/JIT#emit_op_jfalse(b8e756c49b5eed69).(currentInstruction);
979 }
980
981 inline void JITcxx . . $ QTJSC/JIT#::emitSlow_op_loop_if_falsecxx . . $ QTJSC/JIT#emitSlow_op_loop_if_false(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#* currentInstruction, Vector<SlowCaseEntry>::iterator& iter)
982 {
983 emitSlow_op_jfalse(currentInstruction, iter);
984 }
985
986 inline void JITcxx . . $ QTJSC/JIT#::emit_op_loop_if_lesscxx . . $ QTJSC/JIT#emit_op_loop_if_less(b8e756c49b5eed69).(Instructioncxx . . $ QTJSC/Instruction#* currentInstruction)
987 {
988 emitTimeoutCheckcxx . . $ QTJSC/JIT#emitTimeoutCheck(49f6e7a06ebc5aa8).();
989 emit_op_jlesscxx . . $ QTJSC/JIT#emit_op_jless(b8e756c49b5eed69).(currentInstruction);
990 }
991
992 inline void JITcxx . . $ QTJSC/JIT#::emitSlow_op_loop_if_lesscxx . . $ QTJSC/JIT#emitSlow_op_loop_if_less(265a167ef3a7543d).(Instructioncxx . . $ QTJSC/Instruction#* currentInstruction, Vector<SlowCaseEntry>::iterator& iter)
993 {
994 emitSlow_op_jless(currentInstruction, iter);
995 }
996
997 } // namespace JSC
998
999 #endif // ENABLE(JIT)
1000
1001 #endif // JIT_h