OpenCoverage

CodeLocation.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/assembler/CodeLocation.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4namespace JSC {-
5-
6class CodeLocationInstruction;-
7class CodeLocationLabel;-
8class CodeLocationJump;-
9class CodeLocationCall;-
10class CodeLocationNearCall;-
11class CodeLocationDataLabelCompact;-
12class CodeLocationDataLabel32;-
13class CodeLocationDataLabelPtr;-
14class CodeLocationConvertibleLoad;-
15class CodeLocationCommon : public MacroAssemblerCodePtr {-
16public:-
17 CodeLocationInstruction instructionAtOffset(int offset);-
18 CodeLocationLabel labelAtOffset(int offset);-
19 CodeLocationJump jumpAtOffset(int offset);-
20 CodeLocationCall callAtOffset(int offset);-
21 CodeLocationNearCall nearCallAtOffset(int offset);-
22 CodeLocationDataLabelPtr dataLabelPtrAtOffset(int offset);-
23 CodeLocationDataLabel32 dataLabel32AtOffset(int offset);-
24 CodeLocationDataLabelCompact dataLabelCompactAtOffset(int offset);-
25 CodeLocationConvertibleLoad convertibleLoadAtOffset(int offset);-
26-
27protected:-
28 CodeLocationCommon()-
29 {-
30 }-
31-
32 CodeLocationCommon(MacroAssemblerCodePtr location)-
33 : MacroAssemblerCodePtr(location)-
34 {-
35 }
executed 612 times by 10 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicktextinput
  • tst_qquickworkerscript
  • tst_testfiltering
612
36};-
37-
38class CodeLocationInstruction : public CodeLocationCommon {-
39public:-
40 CodeLocationInstruction() {}-
41 explicit CodeLocationInstruction(MacroAssemblerCodePtr location)-
42 : CodeLocationCommon(location) {}
never executed: end of block
0
43 explicit CodeLocationInstruction(void* location)-
44 : CodeLocationCommon(MacroAssemblerCodePtr(location)) {}
never executed: end of block
0
45};-
46-
47class CodeLocationLabel : public CodeLocationCommon {-
48public:-
49 CodeLocationLabel() {}-
50 explicit CodeLocationLabel(MacroAssemblerCodePtr location)-
51 : CodeLocationCommon(location) {}
never executed: end of block
0
52 explicit CodeLocationLabel(void* location)-
53 : CodeLocationCommon(MacroAssemblerCodePtr(location)) {}
executed 612 times by 10 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicktextinput
  • tst_qquickworkerscript
  • tst_testfiltering
612
54};-
55-
56class CodeLocationJump : public CodeLocationCommon {-
57public:-
58 CodeLocationJump() {}-
59 explicit CodeLocationJump(MacroAssemblerCodePtr location)-
60 : CodeLocationCommon(location) {}
never executed: end of block
0
61 explicit CodeLocationJump(void* location)-
62 : CodeLocationCommon(MacroAssemblerCodePtr(location)) {}
never executed: end of block
0
63};-
64-
65class CodeLocationCall : public CodeLocationCommon {-
66public:-
67 CodeLocationCall() {}-
68 explicit CodeLocationCall(MacroAssemblerCodePtr location)-
69 : CodeLocationCommon(location) {}
never executed: end of block
0
70 explicit CodeLocationCall(void* location)-
71 : CodeLocationCommon(MacroAssemblerCodePtr(location)) {}
never executed: end of block
0
72};-
73-
74class CodeLocationNearCall : public CodeLocationCommon {-
75public:-
76 CodeLocationNearCall() {}-
77 explicit CodeLocationNearCall(MacroAssemblerCodePtr location)-
78 : CodeLocationCommon(location) {}
never executed: end of block
0
79 explicit CodeLocationNearCall(void* location)-
80 : CodeLocationCommon(MacroAssemblerCodePtr(location)) {}
never executed: end of block
0
81};-
82-
83class CodeLocationDataLabel32 : public CodeLocationCommon {-
84public:-
85 CodeLocationDataLabel32() {}-
86 explicit CodeLocationDataLabel32(MacroAssemblerCodePtr location)-
87 : CodeLocationCommon(location) {}
never executed: end of block
0
88 explicit CodeLocationDataLabel32(void* location)-
89 : CodeLocationCommon(MacroAssemblerCodePtr(location)) {}
never executed: end of block
0
90};-
91-
92class CodeLocationDataLabelCompact : public CodeLocationCommon {-
93public:-
94 CodeLocationDataLabelCompact() { }-
95 explicit CodeLocationDataLabelCompact(MacroAssemblerCodePtr location)-
96 : CodeLocationCommon(location) { }
never executed: end of block
0
97 explicit CodeLocationDataLabelCompact(void* location)-
98 : CodeLocationCommon(MacroAssemblerCodePtr(location)) { }
never executed: end of block
0
99};-
100-
101class CodeLocationDataLabelPtr : public CodeLocationCommon {-
102public:-
103 CodeLocationDataLabelPtr() {}-
104 explicit CodeLocationDataLabelPtr(MacroAssemblerCodePtr location)-
105 : CodeLocationCommon(location) {}
never executed: end of block
0
106 explicit CodeLocationDataLabelPtr(void* location)-
107 : CodeLocationCommon(MacroAssemblerCodePtr(location)) {}
never executed: end of block
0
108};-
109-
110class CodeLocationConvertibleLoad : public CodeLocationCommon {-
111public:-
112 CodeLocationConvertibleLoad() { }-
113 explicit CodeLocationConvertibleLoad(MacroAssemblerCodePtr location)-
114 : CodeLocationCommon(location) { }
never executed: end of block
0
115 explicit CodeLocationConvertibleLoad(void* location)-
116 : CodeLocationCommon(MacroAssemblerCodePtr(location)) { }
never executed: end of block
0
117};-
118-
119inline CodeLocationInstruction CodeLocationCommon::instructionAtOffset(int offset)-
120{-
121 ;-
122 return
never executed: return CodeLocationInstruction(reinterpret_cast<char*>(dataLocation()) + offset);
CodeLocationInstruction(reinterpret_cast<char*>(dataLocation()) + offset);
never executed: return CodeLocationInstruction(reinterpret_cast<char*>(dataLocation()) + offset);
0
123}-
124-
125inline CodeLocationLabel CodeLocationCommon::labelAtOffset(int offset)-
126{-
127 ;-
128 return
never executed: return CodeLocationLabel(reinterpret_cast<char*>(dataLocation()) + offset);
CodeLocationLabel(reinterpret_cast<char*>(dataLocation()) + offset);
never executed: return CodeLocationLabel(reinterpret_cast<char*>(dataLocation()) + offset);
0
129}-
130-
131inline CodeLocationJump CodeLocationCommon::jumpAtOffset(int offset)-
132{-
133 ;-
134 return
never executed: return CodeLocationJump(reinterpret_cast<char*>(dataLocation()) + offset);
CodeLocationJump(reinterpret_cast<char*>(dataLocation()) + offset);
never executed: return CodeLocationJump(reinterpret_cast<char*>(dataLocation()) + offset);
0
135}-
136-
137inline CodeLocationCall CodeLocationCommon::callAtOffset(int offset)-
138{-
139 ;-
140 return
never executed: return CodeLocationCall(reinterpret_cast<char*>(dataLocation()) + offset);
CodeLocationCall(reinterpret_cast<char*>(dataLocation()) + offset);
never executed: return CodeLocationCall(reinterpret_cast<char*>(dataLocation()) + offset);
0
141}-
142-
143inline CodeLocationNearCall CodeLocationCommon::nearCallAtOffset(int offset)-
144{-
145 ;-
146 return
never executed: return CodeLocationNearCall(reinterpret_cast<char*>(dataLocation()) + offset);
CodeLocationNearCall(reinterpret_cast<char*>(dataLocation()) + offset);
never executed: return CodeLocationNearCall(reinterpret_cast<char*>(dataLocation()) + offset);
0
147}-
148-
149inline CodeLocationDataLabelPtr CodeLocationCommon::dataLabelPtrAtOffset(int offset)-
150{-
151 ;-
152 return
never executed: return CodeLocationDataLabelPtr(reinterpret_cast<char*>(dataLocation()) + offset);
CodeLocationDataLabelPtr(reinterpret_cast<char*>(dataLocation()) + offset);
never executed: return CodeLocationDataLabelPtr(reinterpret_cast<char*>(dataLocation()) + offset);
0
153}-
154-
155inline CodeLocationDataLabel32 CodeLocationCommon::dataLabel32AtOffset(int offset)-
156{-
157 ;-
158 return
never executed: return CodeLocationDataLabel32(reinterpret_cast<char*>(dataLocation()) + offset);
CodeLocationDataLabel32(reinterpret_cast<char*>(dataLocation()) + offset);
never executed: return CodeLocationDataLabel32(reinterpret_cast<char*>(dataLocation()) + offset);
0
159}-
160-
161inline CodeLocationDataLabelCompact CodeLocationCommon::dataLabelCompactAtOffset(int offset)-
162{-
163 ;-
164 return
never executed: return CodeLocationDataLabelCompact(reinterpret_cast<char*>(dataLocation()) + offset);
CodeLocationDataLabelCompact(reinterpret_cast<char*>(dataLocation()) + offset);
never executed: return CodeLocationDataLabelCompact(reinterpret_cast<char*>(dataLocation()) + offset);
0
165}-
166-
167inline CodeLocationConvertibleLoad CodeLocationCommon::convertibleLoadAtOffset(int offset)-
168{-
169 ;-
170 return
never executed: return CodeLocationConvertibleLoad(reinterpret_cast<char*>(dataLocation()) + offset);
CodeLocationConvertibleLoad(reinterpret_cast<char*>(dataLocation()) + offset);
never executed: return CodeLocationConvertibleLoad(reinterpret_cast<char*>(dataLocation()) + offset);
0
171}-
172-
173}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0