Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | - | |||||||||||||||||||
2 | - | |||||||||||||||||||
3 | - | |||||||||||||||||||
4 | - | |||||||||||||||||||
5 | - | |||||||||||||||||||
6 | - | |||||||||||||||||||
7 | - | |||||||||||||||||||
8 | extern "C" { | - | ||||||||||||||||||
9 | __attribute__((visibility("default"))) void qt_v4ResolvePendingBreakpointsHook() | - | ||||||||||||||||||
10 | { | - | ||||||||||||||||||
11 | } | - | ||||||||||||||||||
12 | __attribute__((visibility("default"))) void qt_v4TriggeredBreakpointHook() | - | ||||||||||||||||||
13 | { | - | ||||||||||||||||||
14 | } | - | ||||||||||||||||||
15 | __attribute__((visibility("default"))) int qt_v4DebuggerHook(const char *json); | - | ||||||||||||||||||
16 | - | |||||||||||||||||||
17 | - | |||||||||||||||||||
18 | } | - | ||||||||||||||||||
19 | - | |||||||||||||||||||
20 | - | |||||||||||||||||||
21 | static int qt_v4BreakpointCount = 0; | - | ||||||||||||||||||
22 | static bool qt_v4IsDebugging = false; | - | ||||||||||||||||||
23 | static bool qt_v4IsStepping = false; | - | ||||||||||||||||||
24 | - | |||||||||||||||||||
25 | class Breakpoint | - | ||||||||||||||||||
26 | { | - | ||||||||||||||||||
27 | public: | - | ||||||||||||||||||
28 | Breakpoint() : bpNumber(0), lineNumber(-1) {} executed 389 times by 178 tests: end of block Executed by:
| 389 | ||||||||||||||||||
29 | - | |||||||||||||||||||
30 | bool matches(const QString &file, int line) const | - | ||||||||||||||||||
31 | { | - | ||||||||||||||||||
32 | return never executed: fullName == file && lineNumber == line;return fullName == file && lineNumber == line; never executed: return fullName == file && lineNumber == line; | 0 | ||||||||||||||||||
33 | } | - | ||||||||||||||||||
34 | - | |||||||||||||||||||
35 | int bpNumber; | - | ||||||||||||||||||
36 | int lineNumber; | - | ||||||||||||||||||
37 | QString fullName; | - | ||||||||||||||||||
38 | QString engineName; | - | ||||||||||||||||||
39 | QString condition; | - | ||||||||||||||||||
40 | }; | - | ||||||||||||||||||
41 | - | |||||||||||||||||||
42 | static QVector<Breakpoint> qt_v4Breakpoints; | - | ||||||||||||||||||
43 | static Breakpoint qt_v4LastStop; | - | ||||||||||||||||||
44 | - | |||||||||||||||||||
45 | static void qt_v4TriggerBreakpoint(const Breakpoint &bp, QV4::Function *function) | - | ||||||||||||||||||
46 | { | - | ||||||||||||||||||
47 | qt_v4LastStop = bp; | - | ||||||||||||||||||
48 | - | |||||||||||||||||||
49 | - | |||||||||||||||||||
50 | - | |||||||||||||||||||
51 | QV4::Heap::String *functionName = function->name(); | - | ||||||||||||||||||
52 | QByteArray functionNameUtf8; | - | ||||||||||||||||||
53 | if (functionName
| 0 | ||||||||||||||||||
54 | functionNameUtf8 = functionName->toQString().toUtf8(); never executed: functionNameUtf8 = functionName->toQString().toUtf8(); | 0 | ||||||||||||||||||
55 | - | |||||||||||||||||||
56 | qt_v4TriggeredBreakpointHook(); | - | ||||||||||||||||||
57 | } never executed: end of block | 0 | ||||||||||||||||||
58 | - | |||||||||||||||||||
59 | int qt_v4DebuggerHook(const char *json) | - | ||||||||||||||||||
60 | { | - | ||||||||||||||||||
61 | const int ProtocolVersion = 1; | - | ||||||||||||||||||
62 | - | |||||||||||||||||||
63 | enum { | - | ||||||||||||||||||
64 | Success = 0, | - | ||||||||||||||||||
65 | WrongProtocol, | - | ||||||||||||||||||
66 | NoSuchCommand, | - | ||||||||||||||||||
67 | NoSuchBreakpoint | - | ||||||||||||||||||
68 | }; | - | ||||||||||||||||||
69 | - | |||||||||||||||||||
70 | QJsonDocument doc = QJsonDocument::fromJson(json); | - | ||||||||||||||||||
71 | QJsonObject ob = doc.object(); | - | ||||||||||||||||||
72 | QByteArray command = ob.value(QLatin1String("command")).toString().toUtf8(); | - | ||||||||||||||||||
73 | - | |||||||||||||||||||
74 | if (command == "protocolVersion"
| 0 | ||||||||||||||||||
75 | return never executed: ProtocolVersion;return ProtocolVersion; never executed: return ProtocolVersion; | 0 | ||||||||||||||||||
76 | } | - | ||||||||||||||||||
77 | - | |||||||||||||||||||
78 | int version = ob.value(QLatin1Literal("version")).toString().toInt(); | - | ||||||||||||||||||
79 | if (version != ProtocolVersion
| 0 | ||||||||||||||||||
80 | return never executed: -WrongProtocol;return -WrongProtocol; never executed: return -WrongProtocol; | 0 | ||||||||||||||||||
81 | } | - | ||||||||||||||||||
82 | - | |||||||||||||||||||
83 | if (command == "insertBreakpoint"
| 0 | ||||||||||||||||||
84 | Breakpoint bp; | - | ||||||||||||||||||
85 | bp.bpNumber = ++qt_v4BreakpointCount; | - | ||||||||||||||||||
86 | bp.lineNumber = ob.value(QLatin1String("lineNumber")).toString().toInt(); | - | ||||||||||||||||||
87 | bp.engineName = ob.value(QLatin1String("engineName")).toString(); | - | ||||||||||||||||||
88 | bp.fullName = ob.value(QLatin1String("fullName")).toString(); | - | ||||||||||||||||||
89 | bp.condition = ob.value(QLatin1String("condition")).toString(); | - | ||||||||||||||||||
90 | qt_v4Breakpoints.append(bp); | - | ||||||||||||||||||
91 | qt_v4IsDebugging = true; | - | ||||||||||||||||||
92 | return never executed: bp.bpNumber;return bp.bpNumber; never executed: return bp.bpNumber; | 0 | ||||||||||||||||||
93 | } | - | ||||||||||||||||||
94 | - | |||||||||||||||||||
95 | if (command == "removeBreakpoint"
| 0 | ||||||||||||||||||
96 | int lineNumber = ob.value(QLatin1String("lineNumber")).toString().toInt(); | - | ||||||||||||||||||
97 | QString fullName = ob.value(QLatin1String("fullName")).toString(); | - | ||||||||||||||||||
98 | if (qt_v4Breakpoints.last().matches(fullName, lineNumber)
| 0 | ||||||||||||||||||
99 | qt_v4Breakpoints.removeLast(); | - | ||||||||||||||||||
100 | qt_v4IsDebugging = !qt_v4Breakpoints.isEmpty(); | - | ||||||||||||||||||
101 | return never executed: Success;return Success; never executed: return Success; | 0 | ||||||||||||||||||
102 | } | - | ||||||||||||||||||
103 | for (int i = 0; i + 1 < qt_v4Breakpoints.size()
| 0 | ||||||||||||||||||
104 | if (qt_v4Breakpoints.at(i).matches(fullName, lineNumber)
| 0 | ||||||||||||||||||
105 | qt_v4Breakpoints[i] = qt_v4Breakpoints.takeLast(); | - | ||||||||||||||||||
106 | return never executed: Success;return Success; never executed: return Success; | 0 | ||||||||||||||||||
107 | } | - | ||||||||||||||||||
108 | } never executed: end of block | 0 | ||||||||||||||||||
109 | return never executed: -NoSuchBreakpoint;return -NoSuchBreakpoint; never executed: return -NoSuchBreakpoint; | 0 | ||||||||||||||||||
110 | } | - | ||||||||||||||||||
111 | - | |||||||||||||||||||
112 | if (command == "prepareStep"
| 0 | ||||||||||||||||||
113 | qt_v4IsStepping = true; | - | ||||||||||||||||||
114 | return never executed: Success;return Success; never executed: return Success; | 0 | ||||||||||||||||||
115 | } | - | ||||||||||||||||||
116 | - | |||||||||||||||||||
117 | - | |||||||||||||||||||
118 | return never executed: -NoSuchCommand;return -NoSuchCommand; never executed: return -NoSuchCommand; | 0 | ||||||||||||||||||
119 | } | - | ||||||||||||||||||
120 | - | |||||||||||||||||||
121 | __attribute__((noinline)) static void qt_v4CheckForBreak(QV4::CppStackFrame *frame) | - | ||||||||||||||||||
122 | { | - | ||||||||||||||||||
123 | if (!qt_v4IsStepping
| 0 | ||||||||||||||||||
124 | return; never executed: return; | 0 | ||||||||||||||||||
125 | - | |||||||||||||||||||
126 | const int lineNumber = frame->lineNumber(); | - | ||||||||||||||||||
127 | QV4::Function *function = frame->v4Function; | - | ||||||||||||||||||
128 | QString engineName = function->sourceFile(); | - | ||||||||||||||||||
129 | - | |||||||||||||||||||
130 | if (engineName.isEmpty()
| 0 | ||||||||||||||||||
131 | return; never executed: return; | 0 | ||||||||||||||||||
132 | - | |||||||||||||||||||
133 | if (qt_v4IsStepping
| 0 | ||||||||||||||||||
134 | if (qt_v4LastStop.lineNumber != lineNumber
| 0 | ||||||||||||||||||
135 | || qt_v4LastStop.engineName != engineName
| 0 | ||||||||||||||||||
136 | qt_v4IsStepping = false; | - | ||||||||||||||||||
137 | Breakpoint bp; | - | ||||||||||||||||||
138 | bp.bpNumber = 0; | - | ||||||||||||||||||
139 | bp.lineNumber = lineNumber; | - | ||||||||||||||||||
140 | bp.engineName = engineName; | - | ||||||||||||||||||
141 | qt_v4TriggerBreakpoint(bp, function); | - | ||||||||||||||||||
142 | return; never executed: return; | 0 | ||||||||||||||||||
143 | } | - | ||||||||||||||||||
144 | } never executed: end of block | 0 | ||||||||||||||||||
145 | - | |||||||||||||||||||
146 | for (int i = qt_v4Breakpoints.size(); --
| 0 | ||||||||||||||||||
147 | const Breakpoint &bp = qt_v4Breakpoints.at(i); | - | ||||||||||||||||||
148 | if (bp.lineNumber != lineNumber
| 0 | ||||||||||||||||||
149 | continue; never executed: continue; | 0 | ||||||||||||||||||
150 | if (bp.engineName != engineName
| 0 | ||||||||||||||||||
151 | continue; never executed: continue; | 0 | ||||||||||||||||||
152 | - | |||||||||||||||||||
153 | qt_v4TriggerBreakpoint(bp, function); | - | ||||||||||||||||||
154 | } never executed: end of block | 0 | ||||||||||||||||||
155 | } never executed: end of block | 0 | ||||||||||||||||||
156 | - | |||||||||||||||||||
157 | __attribute__((noinline)) static void debug_slowPath(QV4::ExecutionEngine *engine) | - | ||||||||||||||||||
158 | { | - | ||||||||||||||||||
159 | QV4::Debugging::Debugger *debugger = engine->debugger(); | - | ||||||||||||||||||
160 | if (debugger
| 0-1208 | ||||||||||||||||||
161 | debugger->maybeBreakAtInstruction(); executed 1182 times by 2 tests: debugger->maybeBreakAtInstruction(); Executed by:
| 1182 | ||||||||||||||||||
162 | if (qt_v4IsDebugging
| 0-1208 | ||||||||||||||||||
163 | qt_v4CheckForBreak(engine->currentStackFrame); never executed: qt_v4CheckForBreak(engine->currentStackFrame); | 0 | ||||||||||||||||||
164 | } executed 1208 times by 2 tests: end of block Executed by:
| 1208 | ||||||||||||||||||
165 | - | |||||||||||||||||||
166 | - | |||||||||||||||||||
167 | - | |||||||||||||||||||
168 | - | |||||||||||||||||||
169 | using namespace QV4; | - | ||||||||||||||||||
170 | using namespace QV4::Moth; | - | ||||||||||||||||||
171 | static inline Heap::CallContext *getScope(QV4::Value *stack, int level) | - | ||||||||||||||||||
172 | { | - | ||||||||||||||||||
173 | Heap::ExecutionContext *scope = static_cast<ExecutionContext &>(stack[CallData::Context]).d(); | - | ||||||||||||||||||
174 | while (level > 0
| 16737-18669 | ||||||||||||||||||
175 | --level; | - | ||||||||||||||||||
176 | scope = scope->outer; | - | ||||||||||||||||||
177 | } executed 18669 times by 7 tests: end of block Executed by:
| 18669 | ||||||||||||||||||
178 | ((scope) ? static_cast<void>(0) : qt_assert("scope", __FILE__, 356)); | - | ||||||||||||||||||
179 | return executed 16738 times by 7 tests: static_cast<Heap::CallContext *>(scope);return static_cast<Heap::CallContext *>(scope); Executed by:
executed 16738 times by 7 tests: return static_cast<Heap::CallContext *>(scope); Executed by:
| 16738 | ||||||||||||||||||
180 | } | - | ||||||||||||||||||
181 | - | |||||||||||||||||||
182 | static inline const QV4::Value &constant(Function *function, int index) | - | ||||||||||||||||||
183 | { | - | ||||||||||||||||||
184 | return executed 9253132 times by 64 tests: function->compilationUnit->constants[index];return function->compilationUnit->constants[index]; Executed by:
executed 9253132 times by 64 tests: return function->compilationUnit->constants[index]; Executed by:
| 9253132 | ||||||||||||||||||
185 | } | - | ||||||||||||||||||
186 | - | |||||||||||||||||||
187 | static bool compareEqualInt(QV4::Value &accumulator, QV4::Value lhs, int rhs) | - | ||||||||||||||||||
188 | { | - | ||||||||||||||||||
189 | redo: | - | ||||||||||||||||||
190 | switch (lhs.quickType()) { | - | ||||||||||||||||||
191 | case executed 136 times by 3 tests: QV4::Value::QT_ManagedOrUndefined:case QV4::Value::QT_ManagedOrUndefined: Executed by:
executed 136 times by 3 tests: case QV4::Value::QT_ManagedOrUndefined: Executed by:
| 136 | ||||||||||||||||||
192 | if (lhs.isUndefined()
| 24-112 | ||||||||||||||||||
193 | return executed 24 times by 3 tests: false;return false; Executed by:
executed 24 times by 3 tests: return false; Executed by:
| 24 | ||||||||||||||||||
194 | (void)0; | - | ||||||||||||||||||
195 | case never executed: case QV4::Value::QT_ManagedOrUndefined1: code before this statement executed 112 times by 1 test: case QV4::Value::QT_ManagedOrUndefined1: Executed by:
never executed: QV4::Value::QT_ManagedOrUndefined1:case QV4::Value::QT_ManagedOrUndefined1: code before this statement executed 112 times by 1 test: case QV4::Value::QT_ManagedOrUndefined1: Executed by:
never executed: case QV4::Value::QT_ManagedOrUndefined1: | 0-112 | ||||||||||||||||||
196 | case never executed: QV4::Value::QT_ManagedOrUndefined2:case QV4::Value::QT_ManagedOrUndefined2: never executed: case QV4::Value::QT_ManagedOrUndefined2: | 0 | ||||||||||||||||||
197 | case never executed: QV4::Value::QT_ManagedOrUndefined3:case QV4::Value::QT_ManagedOrUndefined3: never executed: case QV4::Value::QT_ManagedOrUndefined3: | 0 | ||||||||||||||||||
198 | - | |||||||||||||||||||
199 | if (lhs.m()->internalClass->vtable->isString
| 4-108 | ||||||||||||||||||
200 | return executed 4 times by 1 test: RuntimeHelpers::stringToNumber(static_cast<String &>(lhs).toQString()) == rhs;return RuntimeHelpers::stringToNumber(static_cast<String &>(lhs).toQString()) == rhs; Executed by:
executed 4 times by 1 test: return RuntimeHelpers::stringToNumber(static_cast<String &>(lhs).toQString()) == rhs; Executed by:
| 4 | ||||||||||||||||||
201 | accumulator = lhs; | - | ||||||||||||||||||
202 | lhs = Primitive::fromReturnedValue(RuntimeHelpers::objectDefaultValue(&static_cast<QV4::Object &>(accumulator), PREFERREDTYPE_HINT)); | - | ||||||||||||||||||
203 | goto executed 108 times by 1 test: redo;goto redo; Executed by:
executed 108 times by 1 test: goto redo; Executed by:
| 108 | ||||||||||||||||||
204 | case never executed: QV4::Value::QT_Empty:case QV4::Value::QT_Empty: never executed: case QV4::Value::QT_Empty: | 0 | ||||||||||||||||||
205 | do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 383)); __builtin_unreachable(); } while (false); | - | ||||||||||||||||||
206 | case never executed: QV4::Value::QT_Null:case QV4::Value::QT_Null: never executed: case QV4::Value::QT_Null: code before this statement never executed: case QV4::Value::QT_Null: | 0 | ||||||||||||||||||
207 | return never executed: false;return false; never executed: return false; | 0 | ||||||||||||||||||
208 | case never executed: QV4::Value::QT_Bool:case QV4::Value::QT_Bool: never executed: case QV4::Value::QT_Bool: | 0 | ||||||||||||||||||
209 | case never executed: QV4::Value::QT_Int:case QV4::Value::QT_Int: never executed: case QV4::Value::QT_Int: | 0 | ||||||||||||||||||
210 | return never executed: lhs.int_32() == rhs;return lhs.int_32() == rhs; never executed: return lhs.int_32() == rhs; | 0 | ||||||||||||||||||
211 | default executed 260 times by 8 tests: :default: Executed by:
executed 260 times by 8 tests: default: Executed by:
| 260 | ||||||||||||||||||
212 | return executed 260 times by 8 tests: lhs.doubleValue() == rhs;return lhs.doubleValue() == rhs; Executed by:
executed 260 times by 8 tests: return lhs.doubleValue() == rhs; Executed by:
| 260 | ||||||||||||||||||
213 | } | - | ||||||||||||||||||
214 | } | - | ||||||||||||||||||
215 | ReturnedValue VME::exec(CppStackFrame *frame, ExecutionEngine *engine) | - | ||||||||||||||||||
216 | { | - | ||||||||||||||||||
217 | qt_v4ResolvePendingBreakpointsHook(); | - | ||||||||||||||||||
218 | if ((
executed 66 times by 2 tests: Encode::undefined();return Encode::undefined(); Executed by:
executed 66 times by 2 tests: ExecutionEngineCallDepthRecorder _executionEngineCallDepthRecorder(engine);;return Encode::undefined(); Executed by:
| 66-17718617 | ||||||||||||||||||
219 | - | |||||||||||||||||||
220 | Function *function = frame->v4Function; | - | ||||||||||||||||||
221 | Profiling::FunctionCallProfiler profiler(engine, function); | - | ||||||||||||||||||
222 | QV4::Debugging::Debugger *debugger = engine->debugger(); | - | ||||||||||||||||||
223 | - | |||||||||||||||||||
224 | - | |||||||||||||||||||
225 | if (debugger == nullptr
| 220-17746764 | ||||||||||||||||||
226 | if (function->jittedCode == nullptr
| 966637-16813518 | ||||||||||||||||||
227 | if (engine->canJIT(function)
| 13188-16779019 | ||||||||||||||||||
228 | QV4::JIT::BaselineJIT(function).generate(); executed 13188 times by 64 tests: QV4::JIT::BaselineJIT(function).generate(); Executed by:
| 13188 | ||||||||||||||||||
229 | else | - | ||||||||||||||||||
230 | ++ executed 16774141 times by 132 tests: function->interpreterCallCount;++function->interpreterCallCount; Executed by:
executed 16774141 times by 132 tests: ++function->interpreterCallCount; Executed by:
| 16774141 | ||||||||||||||||||
231 | } | - | ||||||||||||||||||
232 | if (function->jittedCode != nullptr
| 979825-16781237 | ||||||||||||||||||
233 | return executed 979825 times by 64 tests: function->jittedCode(frame, engine);return function->jittedCode(frame, engine); Executed by:
executed 979825 times by 64 tests: return function->jittedCode(frame, engine); Executed by:
| 979825 | ||||||||||||||||||
234 | } executed 16812564 times by 132 tests: end of block Executed by:
| 16812564 | ||||||||||||||||||
235 | - | |||||||||||||||||||
236 | - | |||||||||||||||||||
237 | - | |||||||||||||||||||
238 | if (debugger
| 220-16817682 | ||||||||||||||||||
239 | debugger->enteringFunction(); executed 220 times by 2 tests: debugger->enteringFunction(); Executed by:
| 220 | ||||||||||||||||||
240 | - | |||||||||||||||||||
241 | ReturnedValue result = interpret(frame, engine, function->codeData); | - | ||||||||||||||||||
242 | - | |||||||||||||||||||
243 | if (debugger
| 220-16733692 | ||||||||||||||||||
244 | debugger->leavingFunction(result); executed 220 times by 2 tests: debugger->leavingFunction(result); Executed by:
| 220 | ||||||||||||||||||
245 | - | |||||||||||||||||||
246 | return executed 16738500 times by 133 tests: result;return result; Executed by:
executed 16738500 times by 133 tests: return result; Executed by:
| 16738500 | ||||||||||||||||||
247 | } | - | ||||||||||||||||||
248 | - | |||||||||||||||||||
249 | QV4::ReturnedValue VME::interpret(CppStackFrame *frame, ExecutionEngine *engine, const char *code) | - | ||||||||||||||||||
250 | { | - | ||||||||||||||||||
251 | QV4::Function *function = frame->v4Function; | - | ||||||||||||||||||
252 | QV4::Value &accumulator = frame->jsFrame->accumulator; | - | ||||||||||||||||||
253 | QV4::ReturnedValue acc = accumulator.asReturnedValue(); | - | ||||||||||||||||||
254 | Value *stack = reinterpret_cast<Value *>(frame->jsFrame); | - | ||||||||||||||||||
255 | - | |||||||||||||||||||
256 | static const void *jumpTable[] = { &&op_byte_Nop, &&op_int_Nop, &&op_byte_Ret, &&op_int_Ret, &&op_byte_LoadConst, &&op_int_LoadConst, &&op_byte_LoadZero, &&op_int_LoadZero, &&op_byte_LoadTrue, &&op_int_LoadTrue, &&op_byte_LoadFalse, &&op_int_LoadFalse, &&op_byte_LoadNull, &&op_int_LoadNull, &&op_byte_LoadUndefined, &&op_int_LoadUndefined, &&op_byte_LoadInt, &&op_int_LoadInt, &&op_byte_LoadRuntimeString, &&op_int_LoadRuntimeString, &&op_byte_MoveConst, &&op_int_MoveConst, &&op_byte_LoadReg, &&op_int_LoadReg, &&op_byte_StoreReg, &&op_int_StoreReg, &&op_byte_MoveReg, &&op_int_MoveReg, &&op_byte_LoadLocal, &&op_int_LoadLocal, &&op_byte_StoreLocal, &&op_int_StoreLocal, &&op_byte_LoadScopedLocal, &&op_int_LoadScopedLocal, &&op_byte_StoreScopedLocal, &&op_int_StoreScopedLocal, &&op_byte_MoveRegExp, &&op_int_MoveRegExp, &&op_byte_LoadClosure, &&op_int_LoadClosure, &&op_byte_LoadName, &&op_int_LoadName, &&op_byte_LoadGlobalLookup, &&op_int_LoadGlobalLookup, &&op_byte_StoreNameSloppy, &&op_int_StoreNameSloppy, &&op_byte_StoreNameStrict, &&op_int_StoreNameStrict, &&op_byte_LoadElement, &&op_int_LoadElement, &&op_byte_StoreElement, &&op_int_StoreElement, &&op_byte_LoadProperty, &&op_int_LoadProperty, &&op_byte_GetLookup, &&op_int_GetLookup, &&op_byte_StoreProperty, &&op_int_StoreProperty, &&op_byte_SetLookup, &&op_int_SetLookup, &&op_byte_LoadSuperProperty, &&op_int_LoadSuperProperty, &&op_byte_StoreSuperProperty, &&op_int_StoreSuperProperty, &&op_byte_StoreScopeObjectProperty, &&op_int_StoreScopeObjectProperty, &&op_byte_StoreContextObjectProperty, &&op_int_StoreContextObjectProperty, &&op_byte_LoadScopeObjectProperty, &&op_int_LoadScopeObjectProperty, &&op_byte_LoadContextObjectProperty, &&op_int_LoadContextObjectProperty, &&op_byte_LoadIdObject, &&op_int_LoadIdObject, &&op_byte_ConvertThisToObject, &&op_int_ConvertThisToObject, &&op_byte_ToObject, &&op_int_ToObject, &&op_byte_Jump, &&op_int_Jump, &&op_byte_JumpTrue, &&op_int_JumpTrue, &&op_byte_JumpFalse, &&op_int_JumpFalse, &&op_byte_JumpNoException, &&op_int_JumpNoException, &&op_byte_JumpNotUndefined, &&op_int_JumpNotUndefined, &&op_byte_CmpEqNull, &&op_int_CmpEqNull, &&op_byte_CmpNeNull, &&op_int_CmpNeNull, &&op_byte_CmpEqInt, &&op_int_CmpEqInt, &&op_byte_CmpNeInt, &&op_int_CmpNeInt, &&op_byte_CmpEq, &&op_int_CmpEq, &&op_byte_CmpNe, &&op_int_CmpNe, &&op_byte_CmpGt, &&op_int_CmpGt, &&op_byte_CmpGe, &&op_int_CmpGe, &&op_byte_CmpLt, &&op_int_CmpLt, &&op_byte_CmpLe, &&op_int_CmpLe, &&op_byte_CmpStrictEqual, &&op_int_CmpStrictEqual, &&op_byte_CmpStrictNotEqual, &&op_int_CmpStrictNotEqual, &&op_byte_CmpIn, &&op_int_CmpIn, &&op_byte_CmpInstanceOf, &&op_int_CmpInstanceOf, &&op_byte_UNot, &&op_int_UNot, &&op_byte_UPlus, &&op_int_UPlus, &&op_byte_UMinus, &&op_int_UMinus, &&op_byte_UCompl, &&op_int_UCompl, &&op_byte_Increment, &&op_int_Increment, &&op_byte_Decrement, &&op_int_Decrement, &&op_byte_Add, &&op_int_Add, &&op_byte_BitAnd, &&op_int_BitAnd, &&op_byte_BitOr, &&op_int_BitOr, &&op_byte_BitXor, &&op_int_BitXor, &&op_byte_UShr, &&op_int_UShr, &&op_byte_Shr, &&op_int_Shr, &&op_byte_Shl, &&op_int_Shl, &&op_byte_BitAndConst, &&op_int_BitAndConst, &&op_byte_BitOrConst, &&op_int_BitOrConst, &&op_byte_BitXorConst, &&op_int_BitXorConst, &&op_byte_UShrConst, &&op_int_UShrConst, &&op_byte_ShrConst, &&op_int_ShrConst, &&op_byte_ShlConst, &&op_int_ShlConst, &&op_byte_Exp, &&op_int_Exp, &&op_byte_Mul, &&op_int_Mul, &&op_byte_Div, &&op_int_Div, &&op_byte_Mod, &&op_int_Mod, &&op_byte_Sub, &&op_int_Sub, &&op_byte_CallValue, &&op_int_CallValue, &&op_byte_CallProperty, &&op_int_CallProperty, &&op_byte_CallPropertyLookup, &&op_int_CallPropertyLookup, &&op_byte_CallElement, &&op_int_CallElement, &&op_byte_CallName, &&op_int_CallName, &&op_byte_CallPossiblyDirectEval, &&op_int_CallPossiblyDirectEval, &&op_byte_CallGlobalLookup, &&op_int_CallGlobalLookup, &&op_byte_CallScopeObjectProperty, &&op_int_CallScopeObjectProperty, &&op_byte_CallContextObjectProperty, &&op_int_CallContextObjectProperty, &&op_byte_CallWithSpread, &&op_int_CallWithSpread, &&op_byte_Construct, &&op_int_Construct, &&op_byte_ConstructWithSpread, &&op_int_ConstructWithSpread, &&op_byte_SetUnwindHandler, &&op_int_SetUnwindHandler, &&op_byte_UnwindDispatch, &&op_int_UnwindDispatch, &&op_byte_UnwindToLabel, &&op_int_UnwindToLabel, &&op_byte_ThrowException, &&op_int_ThrowException, &&op_byte_GetException, &&op_int_GetException, &&op_byte_SetException, &&op_int_SetException, &&op_byte_CreateCallContext, &&op_int_CreateCallContext, &&op_byte_PushCatchContext, &&op_int_PushCatchContext, &&op_byte_PushWithContext, &&op_int_PushWithContext, &&op_byte_PushBlockContext, &&op_int_PushBlockContext, &&op_byte_CloneBlockContext, &&op_int_CloneBlockContext, &&op_byte_PopContext, &&op_int_PopContext, &&op_byte_GetIterator, &&op_int_GetIterator, &&op_byte_IteratorNext, &&op_int_IteratorNext, &&op_byte_IteratorClose, &&op_int_IteratorClose, &&op_byte_DestructureRestElement, &&op_int_DestructureRestElement, &&op_byte_DeleteProperty, &&op_int_DeleteProperty, &&op_byte_DeleteName, &&op_int_DeleteName, &&op_byte_TypeofName, &&op_int_TypeofName, &&op_byte_TypeofValue, &&op_int_TypeofValue, &&op_byte_DeclareVar, &&op_int_DeclareVar, &&op_byte_DefineArray, &&op_int_DefineArray, &&op_byte_DefineObjectLiteral, &&op_int_DefineObjectLiteral, &&op_byte_CreateMappedArgumentsObject, &&op_int_CreateMappedArgumentsObject, &&op_byte_CreateUnmappedArgumentsObject, &&op_int_CreateUnmappedArgumentsObject, &&op_byte_CreateRestParameter, &&op_int_CreateRestParameter, &&op_byte_LoadQmlContext, &&op_int_LoadQmlContext, &&op_byte_LoadQmlImportedScripts, &&op_int_LoadQmlImportedScripts, &&op_byte_Yield, &&op_int_Yield, &&op_byte_Resume, &&op_int_Resume, &&op_byte_CreateClass, &&op_int_CreateClass, &&op_byte_LoadSuperConstructor, &&op_int_LoadSuperConstructor, &&op_byte_PushScriptContext, &&op_int_PushScriptContext, &&op_byte_PopScriptContext, &&op_int_PopScriptContext, &&op_byte_Debug, &&op_int_Debug, };; | - | ||||||||||||||||||
257 | - | |||||||||||||||||||
258 | for (;;) { | - | ||||||||||||||||||
259 | goto executed 21327641 times by 133 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 21327641 times by 133 tests: op_byte_Nop: ++code; gotogoto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
never executed: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; never executed: op_int_Nop: ++code; gotogoto *jumpTable[*reinterpret_cast<const uchar *>(code)]; executed 1208 times by 2 tests: *jumpTable[0x100 | *reinterpret_cast<const uchar *>(code)];goto *jumpTable[0x100 | *reinterpret_cast<const uchar *>(code)]; Executed by:
executed 1208 times by 2 tests: goto *jumpTable[0x100 | *reinterpret_cast<const uchar *>(code)]; Executed by:
| 0-21327641 | ||||||||||||||||||
260 | do dead code: { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 460)); __builtin_unreachable(); } while (false);do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 460)); __builtin_unreachable(); } while (false); dead code: do { ((false) ? static_cast<void>(0) : qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached", __FILE__, 460)); __builtin_unreachable(); } while (false); | - | ||||||||||||||||||
261 | - | |||||||||||||||||||
262 | { int index; op_int_LoadConst: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadConst: never executed: op_main_LoadConst;goto op_main_LoadConst; never executed: op_byte_LoadConst: code += static_cast<quintptr>(1*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadConst:goto op_main_LoadConst; code before this statement executed 28843 times by 18 tests: ;op_main_LoadConst: Executed by:
| 0-28843 | ||||||||||||||||||
263 | acc = constant(function, index).asReturnedValue(); | - | ||||||||||||||||||
264 | goto executed 28816 times by 18 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 28816 times by 18 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 28816 | ||||||||||||||||||
265 | - | |||||||||||||||||||
266 | { op_int_LoadNull: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_LoadNull;goto op_main_LoadNull; never executed: op_byte_LoadNull: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_LoadNull:goto op_main_LoadNull; code before this statement executed 47990 times by 25 tests: ;op_main_LoadNull: Executed by:
| 0-47990 | ||||||||||||||||||
267 | acc = Encode::null(); | - | ||||||||||||||||||
268 | goto executed 47974 times by 25 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 47974 times by 25 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 47974 | ||||||||||||||||||
269 | - | |||||||||||||||||||
270 | { op_int_LoadZero: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_LoadZero;goto op_main_LoadZero; never executed: op_byte_LoadZero: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_LoadZero:goto op_main_LoadZero; code before this statement executed 3724702 times by 44 tests: ;op_main_LoadZero: Executed by:
| 0-3724702 | ||||||||||||||||||
271 | acc = Encode(static_cast<int>(0)); | - | ||||||||||||||||||
272 | goto executed 3724118 times by 44 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 3724118 times by 44 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 3724118 | ||||||||||||||||||
273 | - | |||||||||||||||||||
274 | { op_int_LoadTrue: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_LoadTrue;goto op_main_LoadTrue; never executed: op_byte_LoadTrue: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_LoadTrue:goto op_main_LoadTrue; code before this statement executed 4623162 times by 51 tests: ;op_main_LoadTrue: Executed by:
| 0-4623162 | ||||||||||||||||||
275 | acc = Encode(true); | - | ||||||||||||||||||
276 | goto executed 4601737 times by 51 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 4601737 times by 51 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 4601737 | ||||||||||||||||||
277 | - | |||||||||||||||||||
278 | { op_int_LoadFalse: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_LoadFalse;goto op_main_LoadFalse; never executed: op_byte_LoadFalse: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_LoadFalse:goto op_main_LoadFalse; code before this statement executed 1093680 times by 42 tests: ;op_main_LoadFalse: Executed by:
| 0-1093680 | ||||||||||||||||||
279 | acc = Encode(false); | - | ||||||||||||||||||
280 | goto executed 1093648 times by 42 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 1093648 times by 42 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 1093648 | ||||||||||||||||||
281 | - | |||||||||||||||||||
282 | { op_int_LoadUndefined: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_LoadUndefined;goto op_main_LoadUndefined; never executed: op_byte_LoadUndefined: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_LoadUndefined:goto op_main_LoadUndefined; code before this statement executed 1370369 times by 85 tests: ;op_main_LoadUndefined: Executed by:
| 0-1370369 | ||||||||||||||||||
283 | acc = Encode::undefined(); | - | ||||||||||||||||||
284 | goto executed 1370345 times by 85 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 1370345 times by 85 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 1370345 | ||||||||||||||||||
285 | - | |||||||||||||||||||
286 | { int value; op_int_LoadInt: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); value = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadInt: executed 64725130 times by 21 tests: op_main_LoadInt;goto op_main_LoadInt; Executed by:
executed 64725130 times by 21 tests: op_byte_LoadInt: code += static_cast<quintptr>(1*sizeof(qint8) + 1); value = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadInt:goto op_main_LoadInt; Executed by:
code before this statement executed 33985349 times by 70 tests: ;op_main_LoadInt: Executed by:
| 0-64725130 | ||||||||||||||||||
287 | acc = Encode(value); | - | ||||||||||||||||||
288 | goto executed 98196208 times by 72 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 98196208 times by 72 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 98196208 | ||||||||||||||||||
289 | - | |||||||||||||||||||
290 | { int constIndex; int destTemp; op_int_MoveConst: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); constIndex = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; destTemp = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_MoveConst: executed 260 times by 2 tests: op_main_MoveConst;goto op_main_MoveConst; Executed by:
executed 260 times by 2 tests: op_byte_MoveConst: code += static_cast<quintptr>(2*sizeof(qint8) + 1); constIndex = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; destTemp = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_MoveConst:goto op_main_MoveConst; Executed by:
code before this statement executed 9224379 times by 62 tests: ;op_main_MoveConst: Executed by:
| 0-9224379 | ||||||||||||||||||
291 | stack[destTemp] = constant(function, constIndex); | - | ||||||||||||||||||
292 | goto executed 9224838 times by 62 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 9224838 times by 62 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 9224838 | ||||||||||||||||||
293 | - | |||||||||||||||||||
294 | { int reg; op_int_LoadReg: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); reg = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadReg: never executed: op_main_LoadReg;goto op_main_LoadReg; never executed: op_byte_LoadReg: code += static_cast<quintptr>(1*sizeof(qint8) + 1); reg = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadReg:goto op_main_LoadReg; code before this statement executed 55383412 times by 64 tests: ;op_main_LoadReg: Executed by:
| 0-55383412 | ||||||||||||||||||
295 | acc = stack[reg].asReturnedValue(); | - | ||||||||||||||||||
296 | goto executed 55398588 times by 64 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 55398588 times by 64 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 55398588 | ||||||||||||||||||
297 | - | |||||||||||||||||||
298 | { int reg; op_int_StoreReg: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); reg = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_StoreReg: executed 1416 times by 2 tests: op_main_StoreReg;goto op_main_StoreReg; Executed by:
executed 1416 times by 2 tests: op_byte_StoreReg: code += static_cast<quintptr>(1*sizeof(qint8) + 1); reg = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_StoreReg:goto op_main_StoreReg; Executed by:
code before this statement executed 319466033 times by 133 tests: ;op_main_StoreReg: Executed by:
| 0-319466033 | ||||||||||||||||||
299 | stack[reg] = acc; | - | ||||||||||||||||||
300 | goto executed 319939472 times by 133 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 319939472 times by 133 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 319939472 | ||||||||||||||||||
301 | - | |||||||||||||||||||
302 | { int srcReg; int destReg; op_int_MoveReg: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); srcReg = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; destReg = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_MoveReg: never executed: op_main_MoveReg;goto op_main_MoveReg; never executed: op_byte_MoveReg: code += static_cast<quintptr>(2*sizeof(qint8) + 1); srcReg = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; destReg = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_MoveReg:goto op_main_MoveReg; code before this statement executed 48721284 times by 49 tests: ;op_main_MoveReg: Executed by:
| 0-48721284 | ||||||||||||||||||
303 | stack[destReg] = stack[srcReg]; | - | ||||||||||||||||||
304 | goto executed 48760809 times by 49 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 48760809 times by 49 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 48760809 | ||||||||||||||||||
305 | - | |||||||||||||||||||
306 | { int index; op_int_LoadLocal: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadLocal: never executed: op_main_LoadLocal;goto op_main_LoadLocal; never executed: op_byte_LoadLocal: code += static_cast<quintptr>(1*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadLocal:goto op_main_LoadLocal; code before this statement executed 4465075 times by 17 tests: ;op_main_LoadLocal: Executed by:
| 0-4465075 | ||||||||||||||||||
307 | auto cc = static_cast<Heap::CallContext *>(stack[CallData::Context].m()); | - | ||||||||||||||||||
308 | ((cc->type != QV4::Heap::CallContext::Type_GlobalContext) ? static_cast<void>(0) : qt_assert("cc->type != QV4::Heap::CallContext::Type_GlobalContext", __FILE__, 508)); | - | ||||||||||||||||||
309 | acc = cc->locals[index].asReturnedValue(); | - | ||||||||||||||||||
310 | goto executed 4450434 times by 17 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 4450434 times by 17 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 4450434 | ||||||||||||||||||
311 | - | |||||||||||||||||||
312 | { int index; op_int_StoreLocal: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_StoreLocal: never executed: op_main_StoreLocal;goto op_main_StoreLocal; never executed: op_byte_StoreLocal: code += static_cast<quintptr>(1*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_StoreLocal:goto op_main_StoreLocal; code before this statement executed 28290 times by 15 tests: ;op_main_StoreLocal: Executed by:
| 0-28290 | ||||||||||||||||||
313 | if (engine->hasException
executed 120 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 120 times by 1 test: goto handleUnwind; Executed by:
| 120-28166 | ||||||||||||||||||
314 | auto cc = static_cast<Heap::CallContext *>(stack[CallData::Context].m()); | - | ||||||||||||||||||
315 | ((cc->type != QV4::Heap::CallContext::Type_GlobalContext) ? static_cast<void>(0) : qt_assert("cc->type != QV4::Heap::CallContext::Type_GlobalContext", __FILE__, 515)); | - | ||||||||||||||||||
316 | QV4::WriteBarrier::write(engine, cc, cc->locals.values[index].data_ptr(), acc); | - | ||||||||||||||||||
317 | goto executed 28178 times by 15 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 28178 times by 15 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 28178 | ||||||||||||||||||
318 | - | |||||||||||||||||||
319 | { int scope; int index; op_int_LoadScopedLocal: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); scope = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_LoadScopedLocal: never executed: op_main_LoadScopedLocal;goto op_main_LoadScopedLocal; never executed: op_byte_LoadScopedLocal: code += static_cast<quintptr>(2*sizeof(qint8) + 1); scope = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_LoadScopedLocal:goto op_main_LoadScopedLocal; code before this statement executed 16546 times by 6 tests: ;op_main_LoadScopedLocal: Executed by:
| 0-16546 | ||||||||||||||||||
320 | auto cc = getScope(stack, scope); | - | ||||||||||||||||||
321 | acc = cc->locals[index].asReturnedValue(); | - | ||||||||||||||||||
322 | goto executed 16546 times by 6 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 16546 times by 6 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 16546 | ||||||||||||||||||
323 | - | |||||||||||||||||||
324 | { int scope; int index; op_int_StoreScopedLocal: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); scope = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_StoreScopedLocal: never executed: op_main_StoreScopedLocal;goto op_main_StoreScopedLocal; never executed: op_byte_StoreScopedLocal: code += static_cast<quintptr>(2*sizeof(qint8) + 1); scope = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_StoreScopedLocal:goto op_main_StoreScopedLocal; code before this statement executed 191 times by 3 tests: ;op_main_StoreScopedLocal: Executed by:
| 0-191 | ||||||||||||||||||
325 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0-191 | ||||||||||||||||||
326 | auto cc = getScope(stack, scope); | - | ||||||||||||||||||
327 | QV4::WriteBarrier::write(engine, cc, cc->locals.values[index].data_ptr(), acc); | - | ||||||||||||||||||
328 | goto executed 192 times by 3 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 192 times by 3 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 192 | ||||||||||||||||||
329 | - | |||||||||||||||||||
330 | { int stringId; op_int_LoadRuntimeString: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); stringId = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadRuntimeString: executed 18226 times by 7 tests: op_main_LoadRuntimeString;goto op_main_LoadRuntimeString; Executed by:
executed 18226 times by 7 tests: op_byte_LoadRuntimeString: code += static_cast<quintptr>(1*sizeof(qint8) + 1); stringId = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadRuntimeString:goto op_main_LoadRuntimeString; Executed by:
code before this statement executed 43177279 times by 85 tests: ;op_main_LoadRuntimeString: Executed by:
| 0-43177279 | ||||||||||||||||||
331 | acc = function->compilationUnit->runtimeStrings[stringId]->asReturnedValue(); | - | ||||||||||||||||||
332 | goto executed 43143674 times by 85 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 43143674 times by 85 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 43143674 | ||||||||||||||||||
333 | - | |||||||||||||||||||
334 | { int regExpId; int destReg; op_int_MoveRegExp: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); regExpId = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; destReg = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_MoveRegExp: executed 512 times by 1 test: op_main_MoveRegExp;goto op_main_MoveRegExp; Executed by:
executed 512 times by 1 test: op_byte_MoveRegExp: code += static_cast<quintptr>(2*sizeof(qint8) + 1); regExpId = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; destReg = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_MoveRegExp:goto op_main_MoveRegExp; Executed by:
code before this statement executed 1052435 times by 7 tests: ;op_main_MoveRegExp: Executed by:
| 0-1052435 | ||||||||||||||||||
335 | stack[destReg] = Runtime::method_regexpLiteral(engine, regExpId); | - | ||||||||||||||||||
336 | goto executed 1053111 times by 7 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 1053111 times by 7 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 1053111 | ||||||||||||||||||
337 | - | |||||||||||||||||||
338 | { int value; op_int_LoadClosure: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); value = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadClosure: never executed: op_main_LoadClosure;goto op_main_LoadClosure; never executed: op_byte_LoadClosure: code += static_cast<quintptr>(1*sizeof(qint8) + 1); value = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadClosure:goto op_main_LoadClosure; code before this statement executed 952484 times by 30 tests: ;op_main_LoadClosure: Executed by:
| 0-952484 | ||||||||||||||||||
339 | acc = Runtime::method_closure(engine, value); | - | ||||||||||||||||||
340 | goto executed 954235 times by 30 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 954235 times by 30 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 954235 | ||||||||||||||||||
341 | - | |||||||||||||||||||
342 | { int name; op_int_LoadName: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadName: executed 296 times by 5 tests: op_main_LoadName;goto op_main_LoadName; Executed by:
executed 296 times by 5 tests: op_byte_LoadName: code += static_cast<quintptr>(1*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadName:goto op_main_LoadName; Executed by:
code before this statement executed 4444153 times by 88 tests: ;op_main_LoadName: Executed by:
| 0-4444153 | ||||||||||||||||||
343 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
344 | acc = Runtime::method_loadName(engine, name); | - | ||||||||||||||||||
345 | if (engine->hasException
executed 208 times by 14 tests: handleUnwind;goto handleUnwind; Executed by:
executed 208 times by 14 tests: goto handleUnwind; Executed by:
| 208-4444255 | ||||||||||||||||||
346 | goto executed 4444256 times by 88 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 4444256 times by 88 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 4444256 | ||||||||||||||||||
347 | - | |||||||||||||||||||
348 | { int index; op_int_LoadGlobalLookup: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadGlobalLookup: executed 5672726 times by 1 test: op_main_LoadGlobalLookup;goto op_main_LoadGlobalLookup; Executed by:
executed 5672726 times by 1 test: op_byte_LoadGlobalLookup: code += static_cast<quintptr>(1*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadGlobalLookup:goto op_main_LoadGlobalLookup; Executed by:
code before this statement executed 213415612 times by 6 tests: ;op_main_LoadGlobalLookup: Executed by:
| 0-213415612 | ||||||||||||||||||
349 | QV4::Lookup *l = function->compilationUnit->runtimeLookups + index; | - | ||||||||||||||||||
350 | acc = l->globalGetter(l, engine); | - | ||||||||||||||||||
351 | if (engine->hasException
executed 6991 times by 2 tests: handleUnwind;goto handleUnwind; Executed by:
executed 6991 times by 2 tests: goto handleUnwind; Executed by:
| 6985-217972125 | ||||||||||||||||||
352 | goto executed 218079466 times by 6 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 218079466 times by 6 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 218079466 | ||||||||||||||||||
353 | - | |||||||||||||||||||
354 | { int name; op_int_StoreNameStrict: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_StoreNameStrict: executed 199990 times by 1 test: op_main_StoreNameStrict;goto op_main_StoreNameStrict; Executed by:
executed 199990 times by 1 test: op_byte_StoreNameStrict: code += static_cast<quintptr>(1*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_StoreNameStrict:goto op_main_StoreNameStrict; Executed by:
code before this statement executed 36059869 times by 3 tests: ;op_main_StoreNameStrict: Executed by:
| 0-36059869 | ||||||||||||||||||
355 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
356 | accumulator = acc;; | - | ||||||||||||||||||
357 | Runtime::method_storeNameStrict(engine, name, accumulator); | - | ||||||||||||||||||
358 | if (engine->hasException
executed 232 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 232 times by 1 test: goto handleUnwind; Executed by:
| 231-36306838 | ||||||||||||||||||
359 | goto executed 36311800 times by 3 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 36311800 times by 3 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 36311800 | ||||||||||||||||||
360 | - | |||||||||||||||||||
361 | { int name; op_int_StoreNameSloppy: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_StoreNameSloppy: executed 199990 times by 1 test: op_main_StoreNameSloppy;goto op_main_StoreNameSloppy; Executed by:
executed 199990 times by 1 test: op_byte_StoreNameSloppy: code += static_cast<quintptr>(1*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_StoreNameSloppy:goto op_main_StoreNameSloppy; Executed by:
code before this statement executed 36962887 times by 41 tests: ;op_main_StoreNameSloppy: Executed by:
| 0-36962887 | ||||||||||||||||||
362 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
363 | accumulator = acc;; | - | ||||||||||||||||||
364 | Runtime::method_storeNameSloppy(engine, name, accumulator); | - | ||||||||||||||||||
365 | if (engine->hasException
executed 110 times by 4 tests: handleUnwind;goto handleUnwind; Executed by:
executed 110 times by 4 tests: goto handleUnwind; Executed by:
| 110-37221797 | ||||||||||||||||||
366 | goto executed 37195841 times by 40 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 37195841 times by 40 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 37195841 | ||||||||||||||||||
367 | - | |||||||||||||||||||
368 | { int base; op_int_LoadElement: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadElement: never executed: op_main_LoadElement;goto op_main_LoadElement; never executed: op_byte_LoadElement: code += static_cast<quintptr>(1*sizeof(qint8) + 1); base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadElement:goto op_main_LoadElement; code before this statement executed 34392837 times by 27 tests: ;op_main_LoadElement: Executed by:
| 0-34392837 | ||||||||||||||||||
369 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
370 | accumulator = acc;; | - | ||||||||||||||||||
371 | acc = Runtime::method_loadElement(engine, stack[base], accumulator); | - | ||||||||||||||||||
372 | if (engine->hasException
executed 716 times by 2 tests: handleUnwind;goto handleUnwind; Executed by:
executed 716 times by 2 tests: goto handleUnwind; Executed by:
| 716-34530510 | ||||||||||||||||||
373 | goto executed 34476545 times by 27 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 34476545 times by 27 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 34476545 | ||||||||||||||||||
374 | - | |||||||||||||||||||
375 | { int base; int index; op_int_StoreElement: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_StoreElement: never executed: op_main_StoreElement;goto op_main_StoreElement; never executed: op_byte_StoreElement: code += static_cast<quintptr>(2*sizeof(qint8) + 1); base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_StoreElement:goto op_main_StoreElement; code before this statement executed 68063 times by 12 tests: ;op_main_StoreElement: Executed by:
| 0-68063 | ||||||||||||||||||
376 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
377 | accumulator = acc;; | - | ||||||||||||||||||
378 | Runtime::method_storeElement(engine, stack[base], stack[index], accumulator); | - | ||||||||||||||||||
379 | if (engine->hasException
executed 2533 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 2533 times by 1 test: goto handleUnwind; Executed by:
| 2531-65513 | ||||||||||||||||||
380 | goto executed 65512 times by 12 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 65512 times by 12 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 65512 | ||||||||||||||||||
381 | - | |||||||||||||||||||
382 | { int name; op_int_LoadProperty: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadProperty: executed 1048 times by 5 tests: op_main_LoadProperty;goto op_main_LoadProperty; Executed by:
executed 1048 times by 5 tests: op_byte_LoadProperty: code += static_cast<quintptr>(1*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadProperty:goto op_main_LoadProperty; Executed by:
code before this statement executed 250797 times by 96 tests: ;op_main_LoadProperty: Executed by:
| 0-250797 | ||||||||||||||||||
383 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
384 | accumulator = acc;; | - | ||||||||||||||||||
385 | acc = Runtime::method_loadProperty(engine, accumulator, name); | - | ||||||||||||||||||
386 | if (engine->hasException
executed 214 times by 15 tests: handleUnwind;goto handleUnwind; Executed by:
executed 214 times by 15 tests: goto handleUnwind; Executed by:
| 214-251631 | ||||||||||||||||||
387 | goto executed 251631 times by 96 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 251631 times by 96 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 251631 | ||||||||||||||||||
388 | - | |||||||||||||||||||
389 | { int index; op_int_GetLookup: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_GetLookup: executed 44776 times by 1 test: op_main_GetLookup;goto op_main_GetLookup; Executed by:
executed 44776 times by 1 test: op_byte_GetLookup: code += static_cast<quintptr>(1*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_GetLookup:goto op_main_GetLookup; Executed by:
code before this statement executed 2864637 times by 7 tests: ;op_main_GetLookup: Executed by:
| 0-2864637 | ||||||||||||||||||
390 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
391 | accumulator = acc;; | - | ||||||||||||||||||
392 | QV4::Lookup *l = function->compilationUnit->runtimeLookups + index; | - | ||||||||||||||||||
393 | acc = l->getter(l, engine, accumulator); | - | ||||||||||||||||||
394 | if (engine->hasException
executed 2011 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 2011 times by 1 test: goto handleUnwind; Executed by:
| 2011-2907387 | ||||||||||||||||||
395 | goto executed 2907297 times by 7 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 2907297 times by 7 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 2907297 | ||||||||||||||||||
396 | - | |||||||||||||||||||
397 | { int name; int base; op_int_StoreProperty: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_StoreProperty: executed 900 times by 5 tests: op_main_StoreProperty;goto op_main_StoreProperty; Executed by:
executed 900 times by 5 tests: op_byte_StoreProperty: code += static_cast<quintptr>(2*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_StoreProperty:goto op_main_StoreProperty; Executed by:
code before this statement executed 18672 times by 65 tests: ;op_main_StoreProperty: Executed by:
| 0-18672 | ||||||||||||||||||
398 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
399 | accumulator = acc;; | - | ||||||||||||||||||
400 | Runtime::method_storeProperty(engine, stack[base], name, accumulator); | - | ||||||||||||||||||
401 | if (engine->hasException
executed 68 times by 4 tests: handleUnwind;goto handleUnwind; Executed by:
executed 68 times by 4 tests: goto handleUnwind; Executed by:
| 68-19504 | ||||||||||||||||||
402 | goto executed 19504 times by 65 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 19504 times by 65 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 19504 | ||||||||||||||||||
403 | - | |||||||||||||||||||
404 | { int index; int base; op_int_SetLookup: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_SetLookup: executed 49644 times by 1 test: op_main_SetLookup;goto op_main_SetLookup; Executed by:
executed 49644 times by 1 test: op_byte_SetLookup: code += static_cast<quintptr>(2*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_SetLookup:goto op_main_SetLookup; Executed by:
code before this statement executed 474665 times by 1 test: ;op_main_SetLookup: Executed by:
| 0-474665 | ||||||||||||||||||
405 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
406 | accumulator = acc;; | - | ||||||||||||||||||
407 | QV4::Lookup *l = function->compilationUnit->runtimeLookups + index; | - | ||||||||||||||||||
408 | if (!l->setter(l, engine, stack[base], accumulator)
| 195-523980 | ||||||||||||||||||
409 | engine->throwTypeError(); executed 268 times by 1 test: engine->throwTypeError(); Executed by:
| 268 | ||||||||||||||||||
410 | if (engine->hasException
executed 426 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 426 times by 1 test: goto handleUnwind; Executed by:
| 426-523990 | ||||||||||||||||||
411 | goto executed 523895 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 523895 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 523895 | ||||||||||||||||||
412 | - | |||||||||||||||||||
413 | { int property; op_int_LoadSuperProperty: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); property = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadSuperProperty: never executed: op_main_LoadSuperProperty;goto op_main_LoadSuperProperty; never executed: op_byte_LoadSuperProperty: code += static_cast<quintptr>(1*sizeof(qint8) + 1); property = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadSuperProperty:goto op_main_LoadSuperProperty; code before this statement executed 287 times by 1 test: ;op_main_LoadSuperProperty: Executed by:
| 0-287 | ||||||||||||||||||
414 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
415 | accumulator = acc;; | - | ||||||||||||||||||
416 | acc = Runtime::method_loadSuperProperty(engine, stack[property]); | - | ||||||||||||||||||
417 | if (engine->hasException
executed 44 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 44 times by 1 test: goto handleUnwind; Executed by:
| 44-243 | ||||||||||||||||||
418 | goto executed 243 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 243 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 243 | ||||||||||||||||||
419 | - | |||||||||||||||||||
420 | { int property; op_int_StoreSuperProperty: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); property = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_StoreSuperProperty: never executed: op_main_StoreSuperProperty;goto op_main_StoreSuperProperty; never executed: op_byte_StoreSuperProperty: code += static_cast<quintptr>(1*sizeof(qint8) + 1); property = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_StoreSuperProperty:goto op_main_StoreSuperProperty; code before this statement executed 40 times by 1 test: ;op_main_StoreSuperProperty: Executed by:
| 0-40 | ||||||||||||||||||
421 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
422 | accumulator = acc;; | - | ||||||||||||||||||
423 | Runtime::method_storeSuperProperty(engine, stack[property], accumulator); | - | ||||||||||||||||||
424 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0-40 | ||||||||||||||||||
425 | goto executed 40 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 40 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 40 | ||||||||||||||||||
426 | - | |||||||||||||||||||
427 | { int base; int propertyIndex; op_int_StoreScopeObjectProperty: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; propertyIndex = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_StoreScopeObjectProperty: executed 18 times by 1 test: op_main_StoreScopeObjectProperty;goto op_main_StoreScopeObjectProperty; Executed by:
executed 18 times by 1 test: op_byte_StoreScopeObjectProperty: code += static_cast<quintptr>(2*sizeof(qint8) + 1); base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; propertyIndex = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_StoreScopeObjectProperty:goto op_main_StoreScopeObjectProperty; Executed by:
code before this statement executed 5190 times by 55 tests: ;op_main_StoreScopeObjectProperty: Executed by:
| 0-5190 | ||||||||||||||||||
428 | accumulator = acc;; | - | ||||||||||||||||||
429 | Runtime::method_storeQmlScopeObjectProperty(engine, stack[base], propertyIndex, accumulator); | - | ||||||||||||||||||
430 | if (engine->hasException
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: goto handleUnwind; Executed by:
| 12-5196 | ||||||||||||||||||
431 | goto executed 5196 times by 55 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 5196 times by 55 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 5196 | ||||||||||||||||||
432 | - | |||||||||||||||||||
433 | { int propertyIndex; int base; int captureRequired; op_int_LoadScopeObjectProperty: code before this statement never executed: code += static_cast<quintptr>(3*sizeof(int) + 1); propertyIndex = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 0]));;; base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 1]));;; captureRequired = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 2]));; gotoop_int_LoadScopeObjectProperty: executed 24 times by 1 test: op_main_LoadScopeObjectProperty;goto op_main_LoadScopeObjectProperty; Executed by:
executed 24 times by 1 test: op_byte_LoadScopeObjectProperty: code += static_cast<quintptr>(3*sizeof(qint8) + 1); propertyIndex = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 0]));;; base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 1]));;; captureRequired = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 2]));; op_main_LoadScopeObjectProperty:goto op_main_LoadScopeObjectProperty; Executed by:
code before this statement executed 32346 times by 101 tests: ;op_main_LoadScopeObjectProperty: Executed by:
| 0-32346 | ||||||||||||||||||
434 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
435 | acc = Runtime::method_loadQmlScopeObjectProperty(engine, stack[base], propertyIndex, captureRequired); | - | ||||||||||||||||||
436 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0-32370 | ||||||||||||||||||
437 | goto executed 32370 times by 101 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 32370 times by 101 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 32370 | ||||||||||||||||||
438 | - | |||||||||||||||||||
439 | { int base; int propertyIndex; op_int_StoreContextObjectProperty: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; propertyIndex = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_StoreContextObjectProperty: never executed: op_main_StoreContextObjectProperty;goto op_main_StoreContextObjectProperty; never executed: op_byte_StoreContextObjectProperty: code += static_cast<quintptr>(2*sizeof(qint8) + 1); base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; propertyIndex = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_StoreContextObjectProperty:goto op_main_StoreContextObjectProperty; code before this statement never executed: ;op_main_StoreContextObjectProperty: | 0 | ||||||||||||||||||
440 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
441 | accumulator = acc;; | - | ||||||||||||||||||
442 | Runtime::method_storeQmlContextObjectProperty(engine, stack[base], propertyIndex, accumulator); | - | ||||||||||||||||||
443 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0 | ||||||||||||||||||
444 | goto never executed: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; never executed: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; | 0 | ||||||||||||||||||
445 | - | |||||||||||||||||||
446 | { int propertyIndex; int base; int captureRequired; op_int_LoadContextObjectProperty: code before this statement never executed: code += static_cast<quintptr>(3*sizeof(int) + 1); propertyIndex = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 0]));;; base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 1]));;; captureRequired = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 2]));; gotoop_int_LoadContextObjectProperty: never executed: op_main_LoadContextObjectProperty;goto op_main_LoadContextObjectProperty; never executed: op_byte_LoadContextObjectProperty: code += static_cast<quintptr>(3*sizeof(qint8) + 1); propertyIndex = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 0]));;; base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 1]));;; captureRequired = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 2]));; op_main_LoadContextObjectProperty:goto op_main_LoadContextObjectProperty; code before this statement never executed: ;op_main_LoadContextObjectProperty: | 0 | ||||||||||||||||||
447 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
448 | acc = Runtime::method_loadQmlContextObjectProperty(engine, stack[base], propertyIndex, captureRequired); | - | ||||||||||||||||||
449 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0 | ||||||||||||||||||
450 | goto never executed: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; never executed: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; | 0 | ||||||||||||||||||
451 | - | |||||||||||||||||||
452 | { int index; int base; op_int_LoadIdObject: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_LoadIdObject: never executed: op_main_LoadIdObject;goto op_main_LoadIdObject; never executed: op_byte_LoadIdObject: code += static_cast<quintptr>(2*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_LoadIdObject:goto op_main_LoadIdObject; code before this statement executed 42115 times by 80 tests: ;op_main_LoadIdObject: Executed by:
| 0-42115 | ||||||||||||||||||
453 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
454 | acc = Runtime::method_loadQmlIdObject(engine, stack[base], index); | - | ||||||||||||||||||
455 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0-42115 | ||||||||||||||||||
456 | goto executed 42115 times by 80 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 42115 times by 80 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 42115 | ||||||||||||||||||
457 | - | |||||||||||||||||||
458 | { op_int_Yield: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_Yield;goto op_main_Yield; never executed: op_byte_Yield: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_Yield:goto op_main_Yield; code before this statement executed 8193 times by 1 test: ;op_main_Yield: Executed by:
| 0-8193 | ||||||||||||||||||
459 | frame->yield = code; | - | ||||||||||||||||||
460 | return executed 8185 times by 1 test: acc;return acc; Executed by:
executed 8185 times by 1 test: return acc; Executed by:
| 8185 | ||||||||||||||||||
461 | goto dead code: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; dead code: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; | - | ||||||||||||||||||
462 | - | |||||||||||||||||||
463 | { int offset; op_int_Resume: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); offset = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_Resume: never executed: op_main_Resume;goto op_main_Resume; never executed: op_byte_Resume: code += static_cast<quintptr>(1*sizeof(qint8) + 1); offset = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_Resume:goto op_main_Resume; code before this statement executed 1688 times by 1 test: ;op_main_Resume: Executed by:
| 0-1688 | ||||||||||||||||||
464 | - | |||||||||||||||||||
465 | if (engine->hasException
| 540-1149 | ||||||||||||||||||
466 | - | |||||||||||||||||||
467 | if (engine->exceptionValue->asReturnedValue() != Primitive::emptyValue().asReturnedValue()
| 52-488 | ||||||||||||||||||
468 | goto executed 52 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 52 times by 1 test: goto handleUnwind; Executed by:
| 52 | ||||||||||||||||||
469 | engine->hasException = false; | - | ||||||||||||||||||
470 | *engine->exceptionValue = Primitive::undefinedValue(); | - | ||||||||||||||||||
471 | } executed 488 times by 1 test: else {end of block Executed by:
| 488 | ||||||||||||||||||
472 | code += offset; | - | ||||||||||||||||||
473 | } executed 1149 times by 1 test: end of block Executed by:
| 1149 | ||||||||||||||||||
474 | goto executed 1637 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 1637 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 1637 | ||||||||||||||||||
475 | - | |||||||||||||||||||
476 | { int name; int argc; int argv; op_int_CallValue: code before this statement never executed: code += static_cast<quintptr>(3*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 0]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 1]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 2]));; gotoop_int_CallValue: never executed: op_main_CallValue;goto op_main_CallValue; never executed: op_byte_CallValue: code += static_cast<quintptr>(3*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 0]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 1]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 2]));; op_main_CallValue:goto op_main_CallValue; code before this statement executed 73198 times by 11 tests: ;op_main_CallValue: Executed by:
| 0-73198 | ||||||||||||||||||
477 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
478 | Value func = stack[name]; | - | ||||||||||||||||||
479 | if (__builtin_expect(!!(!func.isFunctionObject()), false)
| 118-73099 | ||||||||||||||||||
480 | acc = engine->throwTypeError(([]() noexcept -> QString { enum { Size = sizeof(u"" "%1 is not a function")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "%1 is not a function" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return executed 118 times by 2 tests: qstring_literal_temp;return qstring_literal_temp; Executed by:
executed 118 times by 2 tests: }()).arg(func.toQStringNoThrow()));return qstring_literal_temp; Executed by:
| 118 | ||||||||||||||||||
481 | goto executed 118 times by 2 tests: handleUnwind;goto handleUnwind; Executed by:
executed 118 times by 2 tests: goto handleUnwind; Executed by:
| 118 | ||||||||||||||||||
482 | } | - | ||||||||||||||||||
483 | Value undef = Primitive::undefinedValue(); | - | ||||||||||||||||||
484 | acc = static_cast<const FunctionObject &>(func).call(&undef, stack + argv, argc); | - | ||||||||||||||||||
485 | if (engine->hasException
executed 47842 times by 3 tests: handleUnwind;goto handleUnwind; Executed by:
executed 47842 times by 3 tests: goto handleUnwind; Executed by:
| 25322-47861 | ||||||||||||||||||
486 | goto executed 25311 times by 11 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 25311 times by 11 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 25311 | ||||||||||||||||||
487 | - | |||||||||||||||||||
488 | { int name; int base; int argc; int argv; op_int_CallProperty: code before this statement never executed: code += static_cast<quintptr>(4*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 0]));;; base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 1]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 2]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 3]));; gotoop_int_CallProperty: executed 11880 times by 6 tests: op_main_CallProperty;goto op_main_CallProperty; Executed by:
executed 11880 times by 6 tests: op_byte_CallProperty: code += static_cast<quintptr>(4*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 0]));;; base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 1]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 2]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 3]));; op_main_CallProperty:goto op_main_CallProperty; Executed by:
code before this statement executed 124436 times by 77 tests: ;op_main_CallProperty: Executed by:
| 0-124436 | ||||||||||||||||||
489 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
490 | acc = Runtime::method_callProperty(engine, stack + base, name, stack + argv, argc); | - | ||||||||||||||||||
491 | if (engine->hasException
executed 542 times by 11 tests: handleUnwind;goto handleUnwind; Executed by:
executed 542 times by 11 tests: goto handleUnwind; Executed by:
| 542-135774 | ||||||||||||||||||
492 | goto executed 135774 times by 76 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 135774 times by 76 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 135774 | ||||||||||||||||||
493 | - | |||||||||||||||||||
494 | { int lookupIndex; int base; int argc; int argv; op_int_CallPropertyLookup: code before this statement never executed: code += static_cast<quintptr>(4*sizeof(int) + 1); lookupIndex = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 0]));;; base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 1]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 2]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 3]));; gotoop_int_CallPropertyLookup: executed 1171144 times by 1 test: op_main_CallPropertyLookup;goto op_main_CallPropertyLookup; Executed by:
executed 1171144 times by 1 test: op_byte_CallPropertyLookup: code += static_cast<quintptr>(4*sizeof(qint8) + 1); lookupIndex = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 0]));;; base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 1]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 2]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 3]));; op_main_CallPropertyLookup:goto op_main_CallPropertyLookup; Executed by:
code before this statement executed 24060206 times by 6 tests: ;op_main_CallPropertyLookup: Executed by:
| 0-24060206 | ||||||||||||||||||
495 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
496 | Lookup *l = function->compilationUnit->runtimeLookups + lookupIndex; | - | ||||||||||||||||||
497 | - | |||||||||||||||||||
498 | Value f = Value::fromReturnedValue(l->getter(l, engine, stack[base])); | - | ||||||||||||||||||
499 | - | |||||||||||||||||||
500 | if (__builtin_expect(!!(!f.isFunctionObject()), false)
| 8438-25180450 | ||||||||||||||||||
501 | acc = engine->throwTypeError(); | - | ||||||||||||||||||
502 | goto executed 8430 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 8430 times by 1 test: goto handleUnwind; Executed by:
| 8430 | ||||||||||||||||||
503 | } | - | ||||||||||||||||||
504 | - | |||||||||||||||||||
505 | acc = static_cast<FunctionObject &>(f).call(stack + base, stack + argv, argc); | - | ||||||||||||||||||
506 | if (engine->hasException
executed 19351 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 19351 times by 1 test: goto handleUnwind; Executed by:
| 19351-25373001 | ||||||||||||||||||
507 | goto executed 25351877 times by 6 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 25351877 times by 6 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 25351877 | ||||||||||||||||||
508 | - | |||||||||||||||||||
509 | { int base; int index; int argc; int argv; op_int_CallElement: code before this statement never executed: code += static_cast<quintptr>(4*sizeof(int) + 1); base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 0]));;; index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 1]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 2]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 3]));; gotoop_int_CallElement: never executed: op_main_CallElement;goto op_main_CallElement; never executed: op_byte_CallElement: code += static_cast<quintptr>(4*sizeof(qint8) + 1); base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 0]));;; index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 1]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 2]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 3]));; op_main_CallElement:goto op_main_CallElement; code before this statement executed 1010 times by 6 tests: ;op_main_CallElement: Executed by:
| 0-1010 | ||||||||||||||||||
510 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
511 | acc = Runtime::method_callElement(engine, stack + base, stack[index], stack + argv, argc); | - | ||||||||||||||||||
512 | if (engine->hasException
executed 386 times by 2 tests: handleUnwind;goto handleUnwind; Executed by:
executed 386 times by 2 tests: goto handleUnwind; Executed by:
| 386-624 | ||||||||||||||||||
513 | goto executed 624 times by 6 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 624 times by 6 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 624 | ||||||||||||||||||
514 | - | |||||||||||||||||||
515 | { int name; int argc; int argv; op_int_CallName: code before this statement never executed: code += static_cast<quintptr>(3*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 0]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 1]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 2]));; gotoop_int_CallName: executed 472 times by 2 tests: op_main_CallName;goto op_main_CallName; Executed by:
executed 472 times by 2 tests: op_byte_CallName: code += static_cast<quintptr>(3*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 0]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 1]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 2]));; op_main_CallName:goto op_main_CallName; Executed by:
code before this statement executed 12869 times by 42 tests: ;op_main_CallName: Executed by:
| 0-12869 | ||||||||||||||||||
516 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
517 | acc = Runtime::method_callName(engine, name, stack + argv, argc); | - | ||||||||||||||||||
518 | if (engine->hasException
executed 92 times by 9 tests: handleUnwind;goto handleUnwind; Executed by:
executed 92 times by 9 tests: goto handleUnwind; Executed by:
| 92-13250 | ||||||||||||||||||
519 | goto executed 13250 times by 42 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 13250 times by 42 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 13250 | ||||||||||||||||||
520 | - | |||||||||||||||||||
521 | { int argc; int argv; op_int_CallPossiblyDirectEval: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_CallPossiblyDirectEval: never executed: op_main_CallPossiblyDirectEval;goto op_main_CallPossiblyDirectEval; never executed: op_byte_CallPossiblyDirectEval: code += static_cast<quintptr>(2*sizeof(qint8) + 1); argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_CallPossiblyDirectEval:goto op_main_CallPossiblyDirectEval; code before this statement executed 1580516 times by 7 tests: ;op_main_CallPossiblyDirectEval: Executed by:
| 0-1580516 | ||||||||||||||||||
522 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
523 | acc = Runtime::method_callPossiblyDirectEval(engine, stack + argv, argc); | - | ||||||||||||||||||
524 | if (engine->hasException
executed 1885 times by 2 tests: handleUnwind;goto handleUnwind; Executed by:
executed 1885 times by 2 tests: goto handleUnwind; Executed by:
| 1885-1572179 | ||||||||||||||||||
525 | goto executed 1572082 times by 7 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 1572082 times by 7 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 1572082 | ||||||||||||||||||
526 | - | |||||||||||||||||||
527 | { int index; int argc; int argv; op_int_CallGlobalLookup: code before this statement never executed: code += static_cast<quintptr>(3*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 0]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 1]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 2]));; gotoop_int_CallGlobalLookup: executed 30275 times by 1 test: op_main_CallGlobalLookup;goto op_main_CallGlobalLookup; Executed by:
executed 30275 times by 1 test: op_byte_CallGlobalLookup: code += static_cast<quintptr>(3*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 0]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 1]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 2]));; op_main_CallGlobalLookup:goto op_main_CallGlobalLookup; Executed by:
code before this statement executed 26865052 times by 1 test: ;op_main_CallGlobalLookup: Executed by:
| 0-26865052 | ||||||||||||||||||
528 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
529 | acc = Runtime::method_callGlobalLookup(engine, index, stack + argv, argc); | - | ||||||||||||||||||
530 | if (engine->hasException
executed 4217464 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 4217464 times by 1 test: goto handleUnwind; Executed by:
| 4217464-22489319 | ||||||||||||||||||
531 | goto executed 22485319 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 22485319 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 22485319 | ||||||||||||||||||
532 | - | |||||||||||||||||||
533 | { int name; int base; int argc; int argv; op_int_CallScopeObjectProperty: code before this statement never executed: code += static_cast<quintptr>(4*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 0]));;; base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 1]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 2]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 3]));; gotoop_int_CallScopeObjectProperty: never executed: op_main_CallScopeObjectProperty;goto op_main_CallScopeObjectProperty; never executed: op_byte_CallScopeObjectProperty: code += static_cast<quintptr>(4*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 0]));;; base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 1]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 2]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 3]));; op_main_CallScopeObjectProperty:goto op_main_CallScopeObjectProperty; code before this statement executed 16 times by 1 test: ;op_main_CallScopeObjectProperty: Executed by:
| 0-16 | ||||||||||||||||||
534 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
535 | acc = Runtime::method_callQmlScopeObjectProperty(engine, stack + base, name, stack + argv, argc); | - | ||||||||||||||||||
536 | if (engine->hasException
executed 2 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 2 times by 1 test: goto handleUnwind; Executed by:
| 2-14 | ||||||||||||||||||
537 | goto executed 14 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 14 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 14 | ||||||||||||||||||
538 | - | |||||||||||||||||||
539 | { int name; int base; int argc; int argv; op_int_CallContextObjectProperty: code before this statement never executed: code += static_cast<quintptr>(4*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 0]));;; base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 1]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 2]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 3]));; gotoop_int_CallContextObjectProperty: never executed: op_main_CallContextObjectProperty;goto op_main_CallContextObjectProperty; never executed: op_byte_CallContextObjectProperty: code += static_cast<quintptr>(4*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 0]));;; base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 1]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 2]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 3]));; op_main_CallContextObjectProperty:goto op_main_CallContextObjectProperty; code before this statement never executed: ;op_main_CallContextObjectProperty: | 0 | ||||||||||||||||||
540 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
541 | acc = Runtime::method_callQmlContextObjectProperty(engine, stack + base, name, stack + argv, argc); | - | ||||||||||||||||||
542 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0 | ||||||||||||||||||
543 | goto never executed: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; never executed: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; | 0 | ||||||||||||||||||
544 | - | |||||||||||||||||||
545 | { int func; int thisObject; int argc; int argv; op_int_CallWithSpread: code before this statement never executed: code += static_cast<quintptr>(4*sizeof(int) + 1); func = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 0]));;; thisObject = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 1]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 2]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-4 + 3]));; gotoop_int_CallWithSpread: never executed: op_main_CallWithSpread;goto op_main_CallWithSpread; never executed: op_byte_CallWithSpread: code += static_cast<quintptr>(4*sizeof(qint8) + 1); func = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 0]));;; thisObject = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 1]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 2]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-4 + 3]));; op_main_CallWithSpread:goto op_main_CallWithSpread; code before this statement executed 100 times by 1 test: ;op_main_CallWithSpread: Executed by:
| 0-100 | ||||||||||||||||||
546 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
547 | acc = Runtime::method_callWithSpread(engine, stack[func], stack[thisObject], stack + argv, argc); | - | ||||||||||||||||||
548 | if (engine->hasException
executed 48 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 48 times by 1 test: goto handleUnwind; Executed by:
| 48-52 | ||||||||||||||||||
549 | goto executed 52 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 52 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 52 | ||||||||||||||||||
550 | - | |||||||||||||||||||
551 | { int func; int argc; int argv; op_int_Construct: code before this statement never executed: code += static_cast<quintptr>(3*sizeof(int) + 1); func = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 0]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 1]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 2]));; gotoop_int_Construct: never executed: op_main_Construct;goto op_main_Construct; never executed: op_byte_Construct: code += static_cast<quintptr>(3*sizeof(qint8) + 1); func = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 0]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 1]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 2]));; op_main_Construct:goto op_main_Construct; code before this statement executed 103521 times by 17 tests: ;op_main_Construct: Executed by:
| 0-103521 | ||||||||||||||||||
552 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
553 | acc = Runtime::method_construct(engine, stack[func], Primitive::fromReturnedValue(acc), stack + argv, argc); | - | ||||||||||||||||||
554 | if (engine->hasException
executed 2528 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 2528 times by 1 test: goto handleUnwind; Executed by:
| 2528-100815 | ||||||||||||||||||
555 | goto executed 100788 times by 17 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 100788 times by 17 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 100788 | ||||||||||||||||||
556 | - | |||||||||||||||||||
557 | { int func; int argc; int argv; op_int_ConstructWithSpread: code before this statement never executed: code += static_cast<quintptr>(3*sizeof(int) + 1); func = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 0]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 1]));;; argv = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 2]));; gotoop_int_ConstructWithSpread: never executed: op_main_ConstructWithSpread;goto op_main_ConstructWithSpread; never executed: op_byte_ConstructWithSpread: code += static_cast<quintptr>(3*sizeof(qint8) + 1); func = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 0]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 1]));;; argv = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 2]));; op_main_ConstructWithSpread:goto op_main_ConstructWithSpread; code before this statement executed 160 times by 1 test: ;op_main_ConstructWithSpread: Executed by:
| 0-160 | ||||||||||||||||||
558 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
559 | acc = Runtime::method_constructWithSpread(engine, stack[func], Primitive::fromReturnedValue(acc), stack + argv, argc); | - | ||||||||||||||||||
560 | if (engine->hasException
executed 95 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 95 times by 1 test: goto handleUnwind; Executed by:
| 64-95 | ||||||||||||||||||
561 | goto executed 64 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 64 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 64 | ||||||||||||||||||
562 | - | |||||||||||||||||||
563 | { int offset; op_int_SetUnwindHandler: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); offset = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_SetUnwindHandler: executed 263361 times by 5 tests: op_main_SetUnwindHandler;goto op_main_SetUnwindHandler; Executed by:
executed 263361 times by 5 tests: op_byte_SetUnwindHandler: code += static_cast<quintptr>(1*sizeof(qint8) + 1); offset = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_SetUnwindHandler:goto op_main_SetUnwindHandler; Executed by:
code before this statement executed 14333107 times by 20 tests: ;op_main_SetUnwindHandler: Executed by:
| 0-14333107 | ||||||||||||||||||
564 | frame->unwindHandler = offset
| 4313289-10330286 | ||||||||||||||||||
565 | goto executed 14596405 times by 20 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 14596405 times by 20 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 14596405 | ||||||||||||||||||
566 | - | |||||||||||||||||||
567 | { op_int_UnwindDispatch: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_UnwindDispatch;goto op_main_UnwindDispatch; never executed: op_byte_UnwindDispatch: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_UnwindDispatch:goto op_main_UnwindDispatch; code before this statement executed 4341969 times by 11 tests: ;op_main_UnwindDispatch: Executed by:
| 0-4341969 | ||||||||||||||||||
568 | if (engine->hasException
executed 5396 times by 3 tests: handleUnwind;goto handleUnwind; Executed by:
executed 5396 times by 3 tests: goto handleUnwind; Executed by:
| 5392-4328267 | ||||||||||||||||||
569 | if (frame->unwindLevel
| 262450-4088204 | ||||||||||||||||||
570 | --frame->unwindLevel; | - | ||||||||||||||||||
571 | if (frame->unwindLevel
| 346-262166 | ||||||||||||||||||
572 | goto executed 346 times by 2 tests: handleUnwind;goto handleUnwind; Executed by:
executed 346 times by 2 tests: goto handleUnwind; Executed by:
| 346 | ||||||||||||||||||
573 | code = frame->unwindLabel; | - | ||||||||||||||||||
574 | } executed 262181 times by 6 tests: end of block Executed by:
| 262181 | ||||||||||||||||||
575 | goto executed 4338325 times by 11 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 4338325 times by 11 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 4338325 | ||||||||||||||||||
576 | - | |||||||||||||||||||
577 | { int level; int offset; op_int_UnwindToLabel: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); level = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; offset = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_UnwindToLabel: executed 34031 times by 1 test: op_main_UnwindToLabel;goto op_main_UnwindToLabel; Executed by:
executed 34031 times by 1 test: op_byte_UnwindToLabel: code += static_cast<quintptr>(2*sizeof(qint8) + 1); level = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; offset = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_UnwindToLabel:goto op_main_UnwindToLabel; Executed by:
code before this statement executed 228215 times by 6 tests: ;op_main_UnwindToLabel: Executed by:
| 0-228215 | ||||||||||||||||||
578 | frame->unwindLevel = level; | - | ||||||||||||||||||
579 | frame->unwindLabel = code + offset; | - | ||||||||||||||||||
580 | goto executed 262213 times by 6 tests: handleUnwind;goto handleUnwind; Executed by:
executed 262213 times by 6 tests: goto handleUnwind; Executed by:
| 262213 | ||||||||||||||||||
581 | goto dead code: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; dead code: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; | - | ||||||||||||||||||
582 | - | |||||||||||||||||||
583 | { op_int_ThrowException: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_ThrowException;goto op_main_ThrowException; never executed: op_byte_ThrowException: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_ThrowException:goto op_main_ThrowException; code before this statement executed 17302 times by 8 tests: ;op_main_ThrowException: Executed by:
| 0-17302 | ||||||||||||||||||
584 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
585 | accumulator = acc;; | - | ||||||||||||||||||
586 | Runtime::method_throwException(engine, accumulator); | - | ||||||||||||||||||
587 | goto executed 17287 times by 8 tests: handleUnwind;goto handleUnwind; Executed by:
executed 17287 times by 8 tests: goto handleUnwind; Executed by:
| 17287 | ||||||||||||||||||
588 | goto dead code: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; dead code: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; | - | ||||||||||||||||||
589 | - | |||||||||||||||||||
590 | { op_int_GetException: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_GetException;goto op_main_GetException; never executed: op_byte_GetException: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_GetException:goto op_main_GetException; code before this statement executed 1808 times by 3 tests: ;op_main_GetException: Executed by:
| 0-1808 | ||||||||||||||||||
591 | acc = engine->hasException
| 218-1590 | ||||||||||||||||||
592 | : Primitive::emptyValue().asReturnedValue(); | - | ||||||||||||||||||
593 | engine->hasException = false; | - | ||||||||||||||||||
594 | goto executed 1808 times by 3 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 1808 times by 3 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 1808 | ||||||||||||||||||
595 | - | |||||||||||||||||||
596 | { op_int_SetException: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_SetException;goto op_main_SetException; never executed: op_byte_SetException: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_SetException:goto op_main_SetException; code before this statement executed 606 times by 3 tests: ;op_main_SetException: Executed by:
| 0-606 | ||||||||||||||||||
597 | if (acc != Primitive::emptyValue().asReturnedValue()
| 68-538 | ||||||||||||||||||
598 | *engine->exceptionValue = acc; | - | ||||||||||||||||||
599 | engine->hasException = true; | - | ||||||||||||||||||
600 | } executed 68 times by 2 tests: end of block Executed by:
| 68 | ||||||||||||||||||
601 | goto executed 606 times by 3 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 606 times by 3 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 606 | ||||||||||||||||||
602 | - | |||||||||||||||||||
603 | { int index; int name; op_int_PushCatchContext: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_PushCatchContext: executed 2 times by 1 test: op_main_PushCatchContext;goto op_main_PushCatchContext; Executed by:
executed 2 times by 1 test: op_byte_PushCatchContext: code += static_cast<quintptr>(2*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_PushCatchContext:goto op_main_PushCatchContext; Executed by:
code before this statement executed 4268249 times by 10 tests: ;op_main_PushCatchContext: Executed by:
| 0-4268249 | ||||||||||||||||||
604 | ExecutionContext *c = static_cast<ExecutionContext *>(stack + CallData::Context); | - | ||||||||||||||||||
605 | stack[CallData::Context] = Runtime::method_createCatchContext(c, index, name); | - | ||||||||||||||||||
606 | goto executed 4369840 times by 11 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 4369840 times by 11 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 4369840 | ||||||||||||||||||
607 | - | |||||||||||||||||||
608 | { op_int_CreateCallContext: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_CreateCallContext;goto op_main_CreateCallContext; never executed: op_byte_CreateCallContext: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_CreateCallContext:goto op_main_CreateCallContext; code before this statement executed 16029 times by 27 tests: ;op_main_CreateCallContext: Executed by:
| 0-16029 | ||||||||||||||||||
609 | stack[CallData::Context] = ExecutionContext::newCallContext(frame); | - | ||||||||||||||||||
610 | goto executed 16024 times by 27 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 16024 times by 27 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 16024 | ||||||||||||||||||
611 | - | |||||||||||||||||||
612 | { op_int_PushWithContext: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_PushWithContext;goto op_main_PushWithContext; never executed: op_byte_PushWithContext: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_PushWithContext:goto op_main_PushWithContext; code before this statement executed 667 times by 4 tests: ;op_main_PushWithContext: Executed by:
| 0-667 | ||||||||||||||||||
613 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
614 | accumulator = acc;; | - | ||||||||||||||||||
615 | auto ctx = Runtime::method_createWithContext(engine, stack); | - | ||||||||||||||||||
616 | if (engine->hasException
executed 7 times by 2 tests: handleUnwind;goto handleUnwind; Executed by:
executed 7 times by 2 tests: goto handleUnwind; Executed by:
| 7-657 | ||||||||||||||||||
617 | stack[CallData::Context] = ctx; | - | ||||||||||||||||||
618 | goto executed 658 times by 4 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 658 times by 4 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 658 | ||||||||||||||||||
619 | - | |||||||||||||||||||
620 | { int index; op_int_PushBlockContext: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_PushBlockContext: never executed: op_main_PushBlockContext;goto op_main_PushBlockContext; never executed: op_byte_PushBlockContext: code += static_cast<quintptr>(1*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_PushBlockContext:goto op_main_PushBlockContext; code before this statement executed 561 times by 2 tests: ;op_main_PushBlockContext: Executed by:
| 0-561 | ||||||||||||||||||
621 | accumulator = acc;; | - | ||||||||||||||||||
622 | ExecutionContext *c = static_cast<ExecutionContext *>(stack + CallData::Context); | - | ||||||||||||||||||
623 | stack[CallData::Context] = Runtime::method_createBlockContext(c, index); | - | ||||||||||||||||||
624 | goto executed 561 times by 2 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 561 times by 2 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 561 | ||||||||||||||||||
625 | - | |||||||||||||||||||
626 | { op_int_CloneBlockContext: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_CloneBlockContext;goto op_main_CloneBlockContext; never executed: op_byte_CloneBlockContext: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_CloneBlockContext:goto op_main_CloneBlockContext; code before this statement executed 194 times by 2 tests: ;op_main_CloneBlockContext: Executed by:
| 0-194 | ||||||||||||||||||
627 | accumulator = acc;; | - | ||||||||||||||||||
628 | ExecutionContext *c = static_cast<ExecutionContext *>(stack + CallData::Context); | - | ||||||||||||||||||
629 | stack[CallData::Context] = Runtime::method_cloneBlockContext(c); | - | ||||||||||||||||||
630 | goto executed 194 times by 2 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 194 times by 2 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 194 | ||||||||||||||||||
631 | - | |||||||||||||||||||
632 | { int index; op_int_PushScriptContext: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_PushScriptContext: never executed: op_main_PushScriptContext;goto op_main_PushScriptContext; never executed: op_byte_PushScriptContext: code += static_cast<quintptr>(1*sizeof(qint8) + 1); index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_PushScriptContext:goto op_main_PushScriptContext; code before this statement executed 5100 times by 2 tests: ;op_main_PushScriptContext: Executed by:
| 0-5100 | ||||||||||||||||||
633 | stack[CallData::Context] = Runtime::method_createScriptContext(engine, index); | - | ||||||||||||||||||
634 | goto executed 5121 times by 2 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 5121 times by 2 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 5121 | ||||||||||||||||||
635 | - | |||||||||||||||||||
636 | { op_int_PopScriptContext: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_PopScriptContext;goto op_main_PopScriptContext; never executed: op_byte_PopScriptContext: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_PopScriptContext:goto op_main_PopScriptContext; code before this statement executed 4367 times by 2 tests: ;op_main_PopScriptContext: Executed by:
| 0-4367 | ||||||||||||||||||
637 | stack[CallData::Context] = Runtime::method_popScriptContext(engine); | - | ||||||||||||||||||
638 | goto executed 4372 times by 2 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 4372 times by 2 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 4372 | ||||||||||||||||||
639 | - | |||||||||||||||||||
640 | { op_int_PopContext: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_PopContext;goto op_main_PopContext; never executed: op_byte_PopContext: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_PopContext:goto op_main_PopContext; code before this statement executed 4265522 times by 27 tests: ;op_main_PopContext: Executed by:
| 0-4265522 | ||||||||||||||||||
641 | ExecutionContext *c = static_cast<ExecutionContext *>(stack + CallData::Context); | - | ||||||||||||||||||
642 | stack[CallData::Context] = c->d()->outer; | - | ||||||||||||||||||
643 | goto executed 4308586 times by 27 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 4308586 times by 27 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 4308586 | ||||||||||||||||||
644 | - | |||||||||||||||||||
645 | { int iterator; op_int_GetIterator: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); iterator = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_GetIterator: never executed: op_main_GetIterator;goto op_main_GetIterator; never executed: op_byte_GetIterator: code += static_cast<quintptr>(1*sizeof(qint8) + 1); iterator = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_GetIterator:goto op_main_GetIterator; code before this statement executed 23148 times by 12 tests: ;op_main_GetIterator: Executed by:
| 0-23148 | ||||||||||||||||||
646 | accumulator = acc;; | - | ||||||||||||||||||
647 | acc = Runtime::method_getIterator(engine, accumulator, iterator); | - | ||||||||||||||||||
648 | if (engine->hasException
executed 699 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 699 times by 1 test: goto handleUnwind; Executed by:
| 699-22403 | ||||||||||||||||||
649 | goto executed 22386 times by 12 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 22386 times by 12 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 22386 | ||||||||||||||||||
650 | - | |||||||||||||||||||
651 | { int value; op_int_IteratorNext: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); value = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_IteratorNext: never executed: op_main_IteratorNext;goto op_main_IteratorNext; never executed: op_byte_IteratorNext: code += static_cast<quintptr>(1*sizeof(qint8) + 1); value = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_IteratorNext:goto op_main_IteratorNext; code before this statement executed 42355 times by 12 tests: ;op_main_IteratorNext: Executed by:
| 0-42355 | ||||||||||||||||||
652 | accumulator = acc;; | - | ||||||||||||||||||
653 | acc = Runtime::method_iteratorNext(engine, accumulator, &stack[value]); | - | ||||||||||||||||||
654 | if (engine->hasException
executed 763 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 763 times by 1 test: goto handleUnwind; Executed by:
| 763-41658 | ||||||||||||||||||
655 | goto executed 41665 times by 12 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 41665 times by 12 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 41665 | ||||||||||||||||||
656 | - | |||||||||||||||||||
657 | { int done; op_int_IteratorClose: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); done = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_IteratorClose: never executed: op_main_IteratorClose;goto op_main_IteratorClose; never executed: op_byte_IteratorClose: code += static_cast<quintptr>(1*sizeof(qint8) + 1); done = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_IteratorClose:goto op_main_IteratorClose; code before this statement executed 6689 times by 1 test: ;op_main_IteratorClose: Executed by:
| 0-6689 | ||||||||||||||||||
658 | accumulator = acc;; | - | ||||||||||||||||||
659 | acc = Runtime::method_iteratorClose(engine, accumulator, stack[done]); | - | ||||||||||||||||||
660 | if (engine->hasException
executed 84 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 84 times by 1 test: goto handleUnwind; Executed by:
| 84-6612 | ||||||||||||||||||
661 | goto executed 6612 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 6612 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 6612 | ||||||||||||||||||
662 | - | |||||||||||||||||||
663 | { op_int_DestructureRestElement: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_DestructureRestElement;goto op_main_DestructureRestElement; never executed: op_byte_DestructureRestElement: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_DestructureRestElement:goto op_main_DestructureRestElement; code before this statement executed 2609 times by 1 test: ;op_main_DestructureRestElement: Executed by:
| 0-2609 | ||||||||||||||||||
664 | accumulator = acc;; | - | ||||||||||||||||||
665 | acc = Runtime::method_destructureRestElement(engine, Primitive::fromReturnedValue(acc)); | - | ||||||||||||||||||
666 | if (engine->hasException
executed 360 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 360 times by 1 test: goto handleUnwind; Executed by:
| 360-2249 | ||||||||||||||||||
667 | goto executed 2248 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 2248 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 2248 | ||||||||||||||||||
668 | - | |||||||||||||||||||
669 | { int base; int index; op_int_DeleteProperty: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); base = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; index = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_DeleteProperty: never executed: op_main_DeleteProperty;goto op_main_DeleteProperty; never executed: op_byte_DeleteProperty: code += static_cast<quintptr>(2*sizeof(qint8) + 1); base = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; index = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_DeleteProperty:goto op_main_DeleteProperty; code before this statement executed 10223 times by 5 tests: ;op_main_DeleteProperty: Executed by:
| 0-10223 | ||||||||||||||||||
670 | if (!Runtime::method_deleteProperty(engine, stack[base], stack[index])
| 2757-7493 | ||||||||||||||||||
671 | if (function->isStrict()
| 1326-1428 | ||||||||||||||||||
672 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
673 | engine->throwTypeError(); | - | ||||||||||||||||||
674 | goto executed 1324 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 1324 times by 1 test: goto handleUnwind; Executed by:
| 1324 | ||||||||||||||||||
675 | } | - | ||||||||||||||||||
676 | acc = Encode(false); | - | ||||||||||||||||||
677 | } executed 1428 times by 4 tests: else {end of block Executed by:
| 1428 | ||||||||||||||||||
678 | acc = Encode(true); | - | ||||||||||||||||||
679 | } executed 7469 times by 5 tests: end of block Executed by:
| 7469 | ||||||||||||||||||
680 | goto executed 8901 times by 5 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 8901 times by 5 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 8901 | ||||||||||||||||||
681 | - | |||||||||||||||||||
682 | { int name; op_int_DeleteName: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_DeleteName: never executed: op_main_DeleteName;goto op_main_DeleteName; never executed: op_byte_DeleteName: code += static_cast<quintptr>(1*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_DeleteName:goto op_main_DeleteName; code before this statement executed 143 times by 2 tests: ;op_main_DeleteName: Executed by:
| 0-143 | ||||||||||||||||||
683 | if (!Runtime::method_deleteName(engine, name)
| 40-102 | ||||||||||||||||||
684 | if (function->isStrict()
| 0-40 | ||||||||||||||||||
685 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
686 | QString n = function->compilationUnit->runtimeStrings[name]->toQString(); | - | ||||||||||||||||||
687 | engine->throwSyntaxError(([]() noexcept -> QString { enum { Size = sizeof(u"" "Can't delete property %1")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Can't delete property %1" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: qstring_literal_temp;return qstring_literal_temp; never executed: }()).arg(n));return qstring_literal_temp; | 0 | ||||||||||||||||||
688 | goto never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0 | ||||||||||||||||||
689 | } | - | ||||||||||||||||||
690 | acc = Encode(false); | - | ||||||||||||||||||
691 | } executed 40 times by 1 test: else {end of block Executed by:
| 40 | ||||||||||||||||||
692 | acc = Encode(true); | - | ||||||||||||||||||
693 | } executed 102 times by 2 tests: end of block Executed by:
| 102 | ||||||||||||||||||
694 | goto executed 142 times by 2 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 142 times by 2 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 142 | ||||||||||||||||||
695 | - | |||||||||||||||||||
696 | { int name; op_int_TypeofName: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); name = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_TypeofName: never executed: op_main_TypeofName;goto op_main_TypeofName; never executed: op_byte_TypeofName: code += static_cast<quintptr>(1*sizeof(qint8) + 1); name = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_TypeofName:goto op_main_TypeofName; code before this statement executed 2902 times by 4 tests: ;op_main_TypeofName: Executed by:
| 0-2902 | ||||||||||||||||||
697 | acc = Runtime::method_typeofName(engine, name); | - | ||||||||||||||||||
698 | goto executed 2896 times by 4 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 2896 times by 4 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 2896 | ||||||||||||||||||
699 | - | |||||||||||||||||||
700 | { op_int_TypeofValue: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_TypeofValue;goto op_main_TypeofValue; never executed: op_byte_TypeofValue: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_TypeofValue:goto op_main_TypeofValue; code before this statement executed 81026 times by 6 tests: ;op_main_TypeofValue: Executed by:
| 0-81026 | ||||||||||||||||||
701 | accumulator = acc;; | - | ||||||||||||||||||
702 | acc = Runtime::method_typeofValue(engine, accumulator); | - | ||||||||||||||||||
703 | goto executed 81017 times by 6 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 81017 times by 6 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 81017 | ||||||||||||||||||
704 | - | |||||||||||||||||||
705 | { int varName; int isDeletable; op_int_DeclareVar: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); varName = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; isDeletable = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_DeclareVar: executed 1672 times by 1 test: op_main_DeclareVar;goto op_main_DeclareVar; Executed by:
executed 1672 times by 1 test: op_byte_DeclareVar: code += static_cast<quintptr>(2*sizeof(qint8) + 1); varName = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; isDeletable = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_DeclareVar:goto op_main_DeclareVar; Executed by:
code before this statement executed 515013 times by 20 tests: ;op_main_DeclareVar: Executed by:
| 0-515013 | ||||||||||||||||||
706 | Runtime::method_declareVar(engine, isDeletable, varName); | - | ||||||||||||||||||
707 | goto executed 517028 times by 20 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 517028 times by 20 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 517028 | ||||||||||||||||||
708 | - | |||||||||||||||||||
709 | { int argc; int args; op_int_DefineArray: code before this statement never executed: code += static_cast<quintptr>(2*sizeof(int) + 1); argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 0]));;; args = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-2 + 1]));; gotoop_int_DefineArray: executed 22 times by 1 test: op_main_DefineArray;goto op_main_DefineArray; Executed by:
executed 22 times by 1 test: op_byte_DefineArray: code += static_cast<quintptr>(2*sizeof(qint8) + 1); argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 0]));;; args = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-2 + 1]));; op_main_DefineArray:goto op_main_DefineArray; Executed by:
code before this statement executed 51865 times by 44 tests: ;op_main_DefineArray: Executed by:
| 0-51865 | ||||||||||||||||||
710 | QV4::Value *arguments = stack + args; | - | ||||||||||||||||||
711 | acc = Runtime::method_arrayLiteral(engine, arguments, argc); | - | ||||||||||||||||||
712 | goto executed 51857 times by 44 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 51857 times by 44 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 51857 | ||||||||||||||||||
713 | - | |||||||||||||||||||
714 | { int internalClassId; int argc; int args; op_int_DefineObjectLiteral: code before this statement never executed: code += static_cast<quintptr>(3*sizeof(int) + 1); internalClassId = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 0]));;; argc = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 1]));;; args = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 2]));; gotoop_int_DefineObjectLiteral: executed 244 times by 2 tests: op_main_DefineObjectLiteral;goto op_main_DefineObjectLiteral; Executed by:
executed 244 times by 2 tests: op_byte_DefineObjectLiteral: code += static_cast<quintptr>(3*sizeof(qint8) + 1); internalClassId = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 0]));;; argc = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 1]));;; args = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 2]));; op_main_DefineObjectLiteral:goto op_main_DefineObjectLiteral; Executed by:
code before this statement executed 74624 times by 36 tests: ;op_main_DefineObjectLiteral: Executed by:
| 0-74624 | ||||||||||||||||||
715 | QV4::Value *arguments = stack + args; | - | ||||||||||||||||||
716 | acc = Runtime::method_objectLiteral(engine, internalClassId, argc, arguments); | - | ||||||||||||||||||
717 | goto executed 74844 times by 36 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 74844 times by 36 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 74844 | ||||||||||||||||||
718 | - | |||||||||||||||||||
719 | { int classIndex; int heritage; int computedNames; op_int_CreateClass: code before this statement never executed: code += static_cast<quintptr>(3*sizeof(int) + 1); classIndex = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 0]));;; heritage = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 1]));;; computedNames = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-3 + 2]));; gotoop_int_CreateClass: never executed: op_main_CreateClass;goto op_main_CreateClass; never executed: op_byte_CreateClass: code += static_cast<quintptr>(3*sizeof(qint8) + 1); classIndex = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 0]));;; heritage = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 1]));;; computedNames = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-3 + 2]));; op_main_CreateClass:goto op_main_CreateClass; code before this statement executed 9029 times by 1 test: ;op_main_CreateClass: Executed by:
| 0-9029 | ||||||||||||||||||
720 | acc = Runtime::method_createClass(engine, classIndex, stack[heritage], stack + computedNames); | - | ||||||||||||||||||
721 | goto executed 9013 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 9013 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 9013 | ||||||||||||||||||
722 | - | |||||||||||||||||||
723 | { op_int_CreateMappedArgumentsObject: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_CreateMappedArgumentsObject;goto op_main_CreateMappedArgumentsObject; never executed: op_byte_CreateMappedArgumentsObject: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_CreateMappedArgumentsObject:goto op_main_CreateMappedArgumentsObject; code before this statement executed 3817 times by 11 tests: ;op_main_CreateMappedArgumentsObject: Executed by:
| 0-3817 | ||||||||||||||||||
724 | acc = Runtime::method_createMappedArgumentsObject(engine); | - | ||||||||||||||||||
725 | goto executed 3820 times by 11 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 3820 times by 11 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 3820 | ||||||||||||||||||
726 | - | |||||||||||||||||||
727 | { op_int_CreateUnmappedArgumentsObject: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_CreateUnmappedArgumentsObject;goto op_main_CreateUnmappedArgumentsObject; never executed: op_byte_CreateUnmappedArgumentsObject: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_CreateUnmappedArgumentsObject:goto op_main_CreateUnmappedArgumentsObject; code before this statement executed 3839 times by 2 tests: ;op_main_CreateUnmappedArgumentsObject: Executed by:
| 0-3839 | ||||||||||||||||||
728 | acc = Runtime::method_createUnmappedArgumentsObject(engine); | - | ||||||||||||||||||
729 | goto executed 3837 times by 2 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 3837 times by 2 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 3837 | ||||||||||||||||||
730 | - | |||||||||||||||||||
731 | { int argIndex; op_int_CreateRestParameter: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); argIndex = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CreateRestParameter: never executed: op_main_CreateRestParameter;goto op_main_CreateRestParameter; never executed: op_byte_CreateRestParameter: code += static_cast<quintptr>(1*sizeof(qint8) + 1); argIndex = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CreateRestParameter:goto op_main_CreateRestParameter; code before this statement executed 143 times by 1 test: ;op_main_CreateRestParameter: Executed by:
| 0-143 | ||||||||||||||||||
732 | acc = Runtime::method_createRestParameter(engine, argIndex); | - | ||||||||||||||||||
733 | goto executed 144 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 144 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 144 | ||||||||||||||||||
734 | - | |||||||||||||||||||
735 | { op_int_ConvertThisToObject: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_ConvertThisToObject;goto op_main_ConvertThisToObject; never executed: op_byte_ConvertThisToObject: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_ConvertThisToObject:goto op_main_ConvertThisToObject; code before this statement executed 8648 times by 11 tests: ;op_main_ConvertThisToObject: Executed by:
| 0-8648 | ||||||||||||||||||
736 | Value *t = &stack[CallData::This]; | - | ||||||||||||||||||
737 | if (!t->isObject()
| 569-8075 | ||||||||||||||||||
738 | if (t->isNullOrUndefined()
| 96-476 | ||||||||||||||||||
739 | *t = engine->globalObject->asReturnedValue(); | - | ||||||||||||||||||
740 | } executed 473 times by 2 tests: else {end of block Executed by:
| 473 | ||||||||||||||||||
741 | *t = t->toObject(engine)->asReturnedValue(); | - | ||||||||||||||||||
742 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0-96 | ||||||||||||||||||
743 | } executed 96 times by 2 tests: end of block Executed by:
| 96 | ||||||||||||||||||
744 | } | - | ||||||||||||||||||
745 | goto executed 8642 times by 11 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 8642 times by 11 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 8642 | ||||||||||||||||||
746 | - | |||||||||||||||||||
747 | { op_int_LoadSuperConstructor: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_LoadSuperConstructor;goto op_main_LoadSuperConstructor; never executed: op_byte_LoadSuperConstructor: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_LoadSuperConstructor:goto op_main_LoadSuperConstructor; code before this statement executed 287 times by 1 test: ;op_main_LoadSuperConstructor: Executed by:
| 0-287 | ||||||||||||||||||
748 | const Value *f = &stack[CallData::Function]; | - | ||||||||||||||||||
749 | if (!f->isFunctionObject()
| 10-278 | ||||||||||||||||||
750 | engine->throwTypeError(); | - | ||||||||||||||||||
751 | } executed 10 times by 1 test: else {end of block Executed by:
| 10 | ||||||||||||||||||
752 | acc = static_cast<const Object *>(f)->getPrototypeOf()->asReturnedValue(); | - | ||||||||||||||||||
753 | } executed 277 times by 1 test: end of block Executed by:
| 277 | ||||||||||||||||||
754 | if (engine->hasException
executed 10 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 10 times by 1 test: goto handleUnwind; Executed by:
| 10-277 | ||||||||||||||||||
755 | goto executed 277 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 277 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 277 | ||||||||||||||||||
756 | - | |||||||||||||||||||
757 | { op_int_ToObject: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_ToObject;goto op_main_ToObject; never executed: op_byte_ToObject: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_ToObject:goto op_main_ToObject; code before this statement executed 1152 times by 1 test: ;op_main_ToObject: Executed by:
| 0-1152 | ||||||||||||||||||
758 | acc = Primitive::fromReturnedValue(acc).toObject(engine)->asReturnedValue(); | - | ||||||||||||||||||
759 | if (engine->hasException
executed 323 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 323 times by 1 test: goto handleUnwind; Executed by:
| 323-824 | ||||||||||||||||||
760 | goto executed 824 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 824 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 824 | ||||||||||||||||||
761 | - | |||||||||||||||||||
762 | { int offset; op_int_Jump: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); offset = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_Jump: executed 22053566 times by 12 tests: op_main_Jump;goto op_main_Jump; Executed by:
executed 22053566 times by 12 tests: op_byte_Jump: code += static_cast<quintptr>(1*sizeof(qint8) + 1); offset = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_Jump:goto op_main_Jump; Executed by:
code before this statement executed 17397205 times by 57 tests: ;op_main_Jump: Executed by:
| 0-22053566 | ||||||||||||||||||
763 | code += offset; | - | ||||||||||||||||||
764 | goto executed 39423278 times by 58 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 39423278 times by 58 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 39423278 | ||||||||||||||||||
765 | - | |||||||||||||||||||
766 | { int offset; op_int_JumpTrue: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); offset = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_JumpTrue: executed 40 times by 1 test: op_main_JumpTrue;goto op_main_JumpTrue; Executed by:
executed 40 times by 1 test: op_byte_JumpTrue: code += static_cast<quintptr>(1*sizeof(qint8) + 1); offset = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_JumpTrue:goto op_main_JumpTrue; Executed by:
code before this statement executed 19370256 times by 16 tests: ;op_main_JumpTrue: Executed by:
| 0-19370256 | ||||||||||||||||||
767 | if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
| 27632-19343024 | ||||||||||||||||||
768 | if (Primitive::fromReturnedValue(acc).int_32()
| 1167095-18176064 | ||||||||||||||||||
769 | code += offset; executed 1167089 times by 9 tests: code += offset; Executed by:
| 1167089 | ||||||||||||||||||
770 | } executed 19342812 times by 16 tests: else {end of block Executed by:
| 19342812 | ||||||||||||||||||
771 | if (Primitive::fromReturnedValue(acc).toBoolean()
| 7334-20309 | ||||||||||||||||||
772 | code += offset; executed 7333 times by 1 test: code += offset; Executed by:
| 7333 | ||||||||||||||||||
773 | } executed 27641 times by 1 test: end of block Executed by:
| 27641 | ||||||||||||||||||
774 | goto executed 19370813 times by 16 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 19370813 times by 16 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 19370813 | ||||||||||||||||||
775 | - | |||||||||||||||||||
776 | { int offset; op_int_JumpFalse: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); offset = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_JumpFalse: executed 15834723 times by 12 tests: op_main_JumpFalse;goto op_main_JumpFalse; Executed by:
executed 15834723 times by 12 tests: op_byte_JumpFalse: code += static_cast<quintptr>(1*sizeof(qint8) + 1); offset = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_JumpFalse:goto op_main_JumpFalse; Executed by:
code before this statement executed 38040890 times by 66 tests: ;op_main_JumpFalse: Executed by:
| 0-38040890 | ||||||||||||||||||
777 | if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
| 1671-53702932 | ||||||||||||||||||
778 | if (!Primitive::fromReturnedValue(acc).int_32()
| 11625302-42341621 | ||||||||||||||||||
779 | code += offset; executed 11618241 times by 64 tests: code += offset; Executed by:
| 11618241 | ||||||||||||||||||
780 | } executed 53821751 times by 67 tests: else {end of block Executed by:
| 53821751 | ||||||||||||||||||
781 | if (!Primitive::fromReturnedValue(acc).toBoolean()
| 737-933 | ||||||||||||||||||
782 | code += offset; executed 738 times by 8 tests: code += offset; Executed by:
| 738 | ||||||||||||||||||
783 | } executed 1671 times by 16 tests: end of block Executed by:
| 1671 | ||||||||||||||||||
784 | goto executed 53824071 times by 67 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 53824071 times by 67 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 53824071 | ||||||||||||||||||
785 | - | |||||||||||||||||||
786 | { int offset; op_int_JumpNoException: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); offset = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_JumpNoException: executed 746 times by 1 test: op_main_JumpNoException;goto op_main_JumpNoException; Executed by:
executed 746 times by 1 test: op_byte_JumpNoException: code += static_cast<quintptr>(1*sizeof(qint8) + 1); offset = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_JumpNoException:goto op_main_JumpNoException; Executed by:
code before this statement executed 4274067 times by 11 tests: ;op_main_JumpNoException: Executed by:
| 0-4274067 | ||||||||||||||||||
787 | if (!engine->hasException
| 170-4275943 | ||||||||||||||||||
788 | code += offset; executed 170 times by 2 tests: code += offset; Executed by:
| 170 | ||||||||||||||||||
789 | goto executed 4267162 times by 11 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 4267162 times by 11 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 4267162 | ||||||||||||||||||
790 | - | |||||||||||||||||||
791 | { int offset; op_int_JumpNotUndefined: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); offset = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_JumpNotUndefined: never executed: op_main_JumpNotUndefined;goto op_main_JumpNotUndefined; never executed: op_byte_JumpNotUndefined: code += static_cast<quintptr>(1*sizeof(qint8) + 1); offset = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_JumpNotUndefined:goto op_main_JumpNotUndefined; code before this statement executed 16707 times by 1 test: ;op_main_JumpNotUndefined: Executed by:
| 0-16707 | ||||||||||||||||||
792 | if (__builtin_expect(!!(acc != QV4::Encode::undefined()), true)
| 3976-12720 | ||||||||||||||||||
793 | code += offset; executed 3976 times by 1 test: code += offset; Executed by:
| 3976 | ||||||||||||||||||
794 | goto executed 16685 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 16685 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 16685 | ||||||||||||||||||
795 | - | |||||||||||||||||||
796 | { op_int_CmpEqNull: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_CmpEqNull;goto op_main_CmpEqNull; never executed: op_byte_CmpEqNull: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_CmpEqNull:goto op_main_CmpEqNull; code before this statement executed 40 times by 5 tests: ;op_main_CmpEqNull: Executed by:
| 0-40 | ||||||||||||||||||
797 | acc = Encode(Primitive::fromReturnedValue(acc).isNullOrUndefined()); | - | ||||||||||||||||||
798 | goto executed 40 times by 5 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 40 times by 5 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 40 | ||||||||||||||||||
799 | - | |||||||||||||||||||
800 | { op_int_CmpNeNull: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_CmpNeNull;goto op_main_CmpNeNull; never executed: op_byte_CmpNeNull: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_CmpNeNull:goto op_main_CmpNeNull; code before this statement executed 120 times by 5 tests: ;op_main_CmpNeNull: Executed by:
| 0-120 | ||||||||||||||||||
801 | acc = Encode(!Primitive::fromReturnedValue(acc).isNullOrUndefined()); | - | ||||||||||||||||||
802 | goto executed 120 times by 5 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 120 times by 5 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 120 | ||||||||||||||||||
803 | - | |||||||||||||||||||
804 | { int lhs; op_int_CmpEqInt: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpEqInt: executed 8 times by 2 tests: op_main_CmpEqInt;goto op_main_CmpEqInt; Executed by:
executed 8 times by 2 tests: op_byte_CmpEqInt: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpEqInt:goto op_main_CmpEqInt; Executed by:
code before this statement executed 2360060 times by 15 tests: ;op_main_CmpEqInt: Executed by:
| 0-2360060 | ||||||||||||||||||
805 | if (Primitive::fromReturnedValue(acc).isIntOrBool()
| 40-2360028 | ||||||||||||||||||
806 | acc = Encode(Primitive::fromReturnedValue(acc).int_32() == lhs); | - | ||||||||||||||||||
807 | } executed 2360028 times by 14 tests: else {end of block Executed by:
| 2360028 | ||||||||||||||||||
808 | accumulator = acc;; | - | ||||||||||||||||||
809 | acc = Encode(compareEqualInt(accumulator, Primitive::fromReturnedValue(acc), lhs)); | - | ||||||||||||||||||
810 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0-40 | ||||||||||||||||||
811 | } executed 40 times by 5 tests: end of block Executed by:
| 40 | ||||||||||||||||||
812 | goto executed 2360068 times by 16 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 2360068 times by 16 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 2360068 | ||||||||||||||||||
813 | - | |||||||||||||||||||
814 | { int lhs; op_int_CmpNeInt: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpNeInt: executed 94 times by 6 tests: op_main_CmpNeInt;goto op_main_CmpNeInt; Executed by:
executed 94 times by 6 tests: op_byte_CmpNeInt: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpNeInt:goto op_main_CmpNeInt; Executed by:
code before this statement executed 11016 times by 13 tests: ;op_main_CmpNeInt: Executed by:
| 0-11016 | ||||||||||||||||||
815 | if (Primitive::fromReturnedValue(acc).isIntOrBool()
| 248-10862 | ||||||||||||||||||
816 | acc = Encode(bool(Primitive::fromReturnedValue(acc).int_32() != lhs)); | - | ||||||||||||||||||
817 | } executed 10862 times by 13 tests: else {end of block Executed by:
| 10862 | ||||||||||||||||||
818 | accumulator = acc;; | - | ||||||||||||||||||
819 | acc = Encode(!compareEqualInt(accumulator, Primitive::fromReturnedValue(acc), lhs)); | - | ||||||||||||||||||
820 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0-248 | ||||||||||||||||||
821 | } executed 248 times by 5 tests: end of block Executed by:
| 248 | ||||||||||||||||||
822 | goto executed 11110 times by 14 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 11110 times by 14 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 11110 | ||||||||||||||||||
823 | - | |||||||||||||||||||
824 | { int lhs; op_int_CmpEq: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpEq: never executed: op_main_CmpEq;goto op_main_CmpEq; never executed: op_byte_CmpEq: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpEq:goto op_main_CmpEq; code before this statement executed 7206 times by 41 tests: ;op_main_CmpEq: Executed by:
| 0-7206 | ||||||||||||||||||
825 | const Value left = stack[lhs]; | - | ||||||||||||||||||
826 | if (__builtin_expect(!!(left.asReturnedValue() == Primitive::fromReturnedValue(acc).asReturnedValue()), true)
| 1394-5813 | ||||||||||||||||||
827 | acc = Encode(!Primitive::fromReturnedValue(acc).isNaN()); | - | ||||||||||||||||||
828 | } executed 1394 times by 29 tests: else if (__builtin_expect(!!(left.isInteger() && Primitive::fromReturnedValue(acc).isInteger()), true)end of block Executed by:
| 626-5187 | ||||||||||||||||||
829 | acc = Encode(left.int_32() == Primitive::fromReturnedValue(acc).int_32()); | - | ||||||||||||||||||
830 | } executed 626 times by 16 tests: else {end of block Executed by:
| 626 | ||||||||||||||||||
831 | accumulator = acc;; | - | ||||||||||||||||||
832 | acc = Encode(bool(Runtime::method_compareEqual(left, accumulator))); | - | ||||||||||||||||||
833 | if (engine->hasException
executed 44 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 44 times by 1 test: goto handleUnwind; Executed by:
| 44-5143 | ||||||||||||||||||
834 | } executed 5143 times by 27 tests: end of block Executed by:
| 5143 | ||||||||||||||||||
835 | goto executed 7163 times by 41 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 7163 times by 41 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 7163 | ||||||||||||||||||
836 | - | |||||||||||||||||||
837 | { int lhs; op_int_CmpNe: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpNe: never executed: op_main_CmpNe;goto op_main_CmpNe; never executed: op_byte_CmpNe: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpNe:goto op_main_CmpNe; code before this statement executed 3757 times by 24 tests: ;op_main_CmpNe: Executed by:
| 0-3757 | ||||||||||||||||||
838 | const Value left = stack[lhs]; | - | ||||||||||||||||||
839 | if (__builtin_expect(!!(left.isInteger() && Primitive::fromReturnedValue(acc).isInteger()), true)
| 684-3073 | ||||||||||||||||||
840 | acc = Encode(bool(left.int_32() != Primitive::fromReturnedValue(acc).int_32())); | - | ||||||||||||||||||
841 | } executed 684 times by 13 tests: else {end of block Executed by:
| 684 | ||||||||||||||||||
842 | accumulator = acc;; | - | ||||||||||||||||||
843 | acc = Encode(bool(!Runtime::method_compareEqual(left, accumulator))); | - | ||||||||||||||||||
844 | if (engine->hasException
executed 16 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 16 times by 1 test: goto handleUnwind; Executed by:
| 16-3059 | ||||||||||||||||||
845 | } executed 3059 times by 22 tests: end of block Executed by:
| 3059 | ||||||||||||||||||
846 | goto executed 3742 times by 24 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 3742 times by 24 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 3742 | ||||||||||||||||||
847 | - | |||||||||||||||||||
848 | { int lhs; op_int_CmpGt: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpGt: never executed: op_main_CmpGt;goto op_main_CmpGt; never executed: op_byte_CmpGt: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpGt:goto op_main_CmpGt; code before this statement executed 1057852 times by 23 tests: ;op_main_CmpGt: Executed by:
| 0-1057852 | ||||||||||||||||||
849 | const Value left = stack[lhs]; | - | ||||||||||||||||||
850 | if (__builtin_expect(!!(left.isInteger() && Primitive::fromReturnedValue(acc).isInteger()), true)
| 1951-1055614 | ||||||||||||||||||
851 | acc = Encode(left.int_32() > Primitive::fromReturnedValue(acc).int_32()); | - | ||||||||||||||||||
852 | } executed 1055555 times by 14 tests: else if (left.isNumber()end of block Executed by:
| 47-1055555 | ||||||||||||||||||
853 | acc = Encode(left.asDouble() > Primitive::fromReturnedValue(acc).asDouble()); | - | ||||||||||||||||||
854 | } executed 1015 times by 13 tests: else {end of block Executed by:
| 1015 | ||||||||||||||||||
855 | accumulator = acc;; | - | ||||||||||||||||||
856 | acc = Encode(bool(Runtime::method_compareGreaterThan(left, accumulator))); | - | ||||||||||||||||||
857 | if (engine->hasException
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: goto handleUnwind; Executed by:
| 12-925 | ||||||||||||||||||
858 | } executed 925 times by 1 test: end of block Executed by:
| 925 | ||||||||||||||||||
859 | goto executed 1057673 times by 23 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 1057673 times by 23 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 1057673 | ||||||||||||||||||
860 | - | |||||||||||||||||||
861 | { int lhs; op_int_CmpGe: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpGe: never executed: op_main_CmpGe;goto op_main_CmpGe; never executed: op_byte_CmpGe: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpGe:goto op_main_CmpGe; code before this statement executed 3348462 times by 8 tests: ;op_main_CmpGe: Executed by:
| 0-3348462 | ||||||||||||||||||
862 | const Value left = stack[lhs]; | - | ||||||||||||||||||
863 | if (__builtin_expect(!!(left.isInteger() && Primitive::fromReturnedValue(acc).isInteger()), true)
| 1049753-2298708 | ||||||||||||||||||
864 | acc = Encode(left.int_32() >= Primitive::fromReturnedValue(acc).int_32()); | - | ||||||||||||||||||
865 | } executed 2298707 times by 8 tests: else if (left.isNumber()end of block Executed by:
| 48-2298707 | ||||||||||||||||||
866 | acc = Encode(left.asDouble() >= Primitive::fromReturnedValue(acc).asDouble()); | - | ||||||||||||||||||
867 | } executed 1049304 times by 4 tests: else {end of block Executed by:
| 1049304 | ||||||||||||||||||
868 | accumulator = acc;; | - | ||||||||||||||||||
869 | acc = Encode(bool(Runtime::method_compareGreaterEqual(left, accumulator))); | - | ||||||||||||||||||
870 | if (engine->hasException
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: goto handleUnwind; Executed by:
| 12-439 | ||||||||||||||||||
871 | } executed 439 times by 1 test: end of block Executed by:
| 439 | ||||||||||||||||||
872 | goto executed 3348449 times by 8 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 3348449 times by 8 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 3348449 | ||||||||||||||||||
873 | - | |||||||||||||||||||
874 | { int lhs; op_int_CmpLt: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpLt: never executed: op_main_CmpLt;goto op_main_CmpLt; never executed: op_byte_CmpLt: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpLt:goto op_main_CmpLt; code before this statement executed 7431198 times by 32 tests: ;op_main_CmpLt: Executed by:
| 0-7431198 | ||||||||||||||||||
875 | const Value left = stack[lhs]; | - | ||||||||||||||||||
876 | if (__builtin_expect(!!(left.isInteger() && Primitive::fromReturnedValue(acc).isInteger()), true)
| 2546-7436570 | ||||||||||||||||||
877 | acc = Encode(left.int_32() < Primitive::fromReturnedValue(acc).int_32()); | - | ||||||||||||||||||
878 | } executed 7440181 times by 29 tests: else if (left.isNumber()end of block Executed by:
| 48-7440181 | ||||||||||||||||||
879 | acc = Encode(left.asDouble() < Primitive::fromReturnedValue(acc).asDouble()); | - | ||||||||||||||||||
880 | } executed 842 times by 9 tests: else {end of block Executed by:
| 842 | ||||||||||||||||||
881 | accumulator = acc;; | - | ||||||||||||||||||
882 | acc = Encode(bool(Runtime::method_compareLessThan(left, accumulator))); | - | ||||||||||||||||||
883 | if (engine->hasException
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: goto handleUnwind; Executed by:
| 12-1690 | ||||||||||||||||||
884 | } executed 1690 times by 3 tests: end of block Executed by:
| 1690 | ||||||||||||||||||
885 | goto executed 7441577 times by 32 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 7441577 times by 32 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 7441577 | ||||||||||||||||||
886 | - | |||||||||||||||||||
887 | { int lhs; op_int_CmpLe: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpLe: never executed: op_main_CmpLe;goto op_main_CmpLe; never executed: op_byte_CmpLe: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpLe:goto op_main_CmpLe; code before this statement executed 15795838 times by 5 tests: ;op_main_CmpLe: Executed by:
| 0-15795838 | ||||||||||||||||||
888 | const Value left = stack[lhs]; | - | ||||||||||||||||||
889 | if (__builtin_expect(!!(left.isInteger() && Primitive::fromReturnedValue(acc).isInteger()), true)
| 24405-15700877 | ||||||||||||||||||
890 | acc = Encode(left.int_32() <= Primitive::fromReturnedValue(acc).int_32()); | - | ||||||||||||||||||
891 | } executed 15767165 times by 3 tests: else if (left.isNumber()end of block Executed by:
| 48-15767165 | ||||||||||||||||||
892 | acc = Encode(left.asDouble() <= Primitive::fromReturnedValue(acc).asDouble()); | - | ||||||||||||||||||
893 | } executed 17252 times by 5 tests: else {end of block Executed by:
| 17252 | ||||||||||||||||||
894 | accumulator = acc;; | - | ||||||||||||||||||
895 | acc = Encode(bool(Runtime::method_compareLessEqual(left, accumulator))); | - | ||||||||||||||||||
896 | if (engine->hasException
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: goto handleUnwind; Executed by:
| 12-7138 | ||||||||||||||||||
897 | } executed 7138 times by 1 test: end of block Executed by:
| 7138 | ||||||||||||||||||
898 | goto executed 15791671 times by 5 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 15791671 times by 5 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 15791671 | ||||||||||||||||||
899 | - | |||||||||||||||||||
900 | { int lhs; op_int_CmpStrictEqual: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpStrictEqual: never executed: op_main_CmpStrictEqual;goto op_main_CmpStrictEqual; never executed: op_byte_CmpStrictEqual: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpStrictEqual:goto op_main_CmpStrictEqual; code before this statement executed 30059521 times by 26 tests: ;op_main_CmpStrictEqual: Executed by:
| 0-30059521 | ||||||||||||||||||
901 | if (stack[lhs].rawValue() == Primitive::fromReturnedValue(acc).rawValue()
| 3594-28555274 | ||||||||||||||||||
902 | acc = Encode(true); | - | ||||||||||||||||||
903 | } executed 1484378 times by 22 tests: else {end of block Executed by:
| 1484378 | ||||||||||||||||||
904 | accumulator = acc;; | - | ||||||||||||||||||
905 | acc = Encode(bool(RuntimeHelpers::strictEqual(stack[lhs], accumulator))); | - | ||||||||||||||||||
906 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0-28405210 | ||||||||||||||||||
907 | } executed 28412690 times by 17 tests: end of block Executed by:
| 28412690 | ||||||||||||||||||
908 | goto executed 29933568 times by 26 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 29933568 times by 26 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 29933568 | ||||||||||||||||||
909 | - | |||||||||||||||||||
910 | { int lhs; op_int_CmpStrictNotEqual: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpStrictNotEqual: never executed: op_main_CmpStrictNotEqual;goto op_main_CmpStrictNotEqual; never executed: op_byte_CmpStrictNotEqual: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpStrictNotEqual:goto op_main_CmpStrictNotEqual; code before this statement executed 7811010 times by 11 tests: ;op_main_CmpStrictNotEqual: Executed by:
| 0-7811010 | ||||||||||||||||||
911 | if (stack[lhs].rawValue() != Primitive::fromReturnedValue(acc).rawValue()
| 7355-4745664 | ||||||||||||||||||
912 | accumulator = acc;; | - | ||||||||||||||||||
913 | acc = Encode(!RuntimeHelpers::strictEqual(stack[lhs], accumulator)); | - | ||||||||||||||||||
914 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0-3131247 | ||||||||||||||||||
915 | } executed 3131184 times by 9 tests: else {end of block Executed by:
| 3131184 | ||||||||||||||||||
916 | acc = Encode(false); | - | ||||||||||||||||||
917 | } executed 4750751 times by 7 tests: end of block Executed by:
| 4750751 | ||||||||||||||||||
918 | goto executed 7890446 times by 11 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 7890446 times by 11 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 7890446 | ||||||||||||||||||
919 | - | |||||||||||||||||||
920 | { int lhs; op_int_CmpIn: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpIn: never executed: op_main_CmpIn;goto op_main_CmpIn; never executed: op_byte_CmpIn: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpIn:goto op_main_CmpIn; code before this statement executed 688 times by 6 tests: ;op_main_CmpIn: Executed by:
| 0-688 | ||||||||||||||||||
921 | accumulator = acc;; | - | ||||||||||||||||||
922 | acc = Runtime::method_in(engine, stack[lhs], accumulator); | - | ||||||||||||||||||
923 | if (engine->hasException
executed 40 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 40 times by 1 test: goto handleUnwind; Executed by:
| 40-648 | ||||||||||||||||||
924 | goto executed 648 times by 6 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 648 times by 6 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 648 | ||||||||||||||||||
925 | - | |||||||||||||||||||
926 | { int lhs; op_int_CmpInstanceOf: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_CmpInstanceOf: never executed: op_main_CmpInstanceOf;goto op_main_CmpInstanceOf; never executed: op_byte_CmpInstanceOf: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_CmpInstanceOf:goto op_main_CmpInstanceOf; code before this statement executed 4289355 times by 11 tests: ;op_main_CmpInstanceOf: Executed by:
| 0-4289355 | ||||||||||||||||||
927 | accumulator = acc;; | - | ||||||||||||||||||
928 | acc = Runtime::method_instanceof(engine, stack[lhs], Primitive::fromReturnedValue(acc)); | - | ||||||||||||||||||
929 | if (engine->hasException
executed 60 times by 2 tests: handleUnwind;goto handleUnwind; Executed by:
executed 60 times by 2 tests: goto handleUnwind; Executed by:
| 60-4266577 | ||||||||||||||||||
930 | goto executed 4262427 times by 11 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 4262427 times by 11 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 4262427 | ||||||||||||||||||
931 | - | |||||||||||||||||||
932 | { op_int_UNot: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_UNot;goto op_main_UNot; never executed: op_byte_UNot: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_UNot:goto op_main_UNot; code before this statement executed 54883 times by 26 tests: ;op_main_UNot: Executed by:
| 0-54883 | ||||||||||||||||||
933 | if (Primitive::fromReturnedValue(acc).integerCompatible()
| 7200-47668 | ||||||||||||||||||
934 | acc = Encode(!static_cast<bool>(Primitive::fromReturnedValue(acc).int_32())); | - | ||||||||||||||||||
935 | } executed 47701 times by 24 tests: else {end of block Executed by:
| 47701 | ||||||||||||||||||
936 | acc = Encode(!Value::toBooleanImpl(Primitive::fromReturnedValue(acc))); | - | ||||||||||||||||||
937 | } executed 7190 times by 8 tests: end of block Executed by:
| 7190 | ||||||||||||||||||
938 | goto executed 54900 times by 26 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 54900 times by 26 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 54900 | ||||||||||||||||||
939 | - | |||||||||||||||||||
940 | { op_int_UPlus: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_UPlus;goto op_main_UPlus; never executed: op_byte_UPlus: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_UPlus:goto op_main_UPlus; code before this statement executed 53166 times by 8 tests: ;op_main_UPlus: Executed by:
| 0-53166 | ||||||||||||||||||
941 | if (__builtin_expect(!!(!Primitive::fromReturnedValue(acc).isNumber()), false)
| 459-52703 | ||||||||||||||||||
942 | acc = Encode(Primitive::fromReturnedValue(acc).toNumberImpl()); | - | ||||||||||||||||||
943 | if (engine->hasException
executed 24 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 24 times by 1 test: goto handleUnwind; Executed by:
| 24-436 | ||||||||||||||||||
944 | } executed 435 times by 1 test: end of block Executed by:
| 435 | ||||||||||||||||||
945 | goto executed 53138 times by 8 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 53138 times by 8 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 53138 | ||||||||||||||||||
946 | - | |||||||||||||||||||
947 | { op_int_UMinus: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_UMinus;goto op_main_UMinus; never executed: op_byte_UMinus: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_UMinus:goto op_main_UMinus; code before this statement executed 33810 times by 8 tests: ;op_main_UMinus: Executed by:
| 0-33810 | ||||||||||||||||||
948 | if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
| 9644-24165 | ||||||||||||||||||
949 | int a = Primitive::fromReturnedValue(acc).int_32(); | - | ||||||||||||||||||
950 | if (a == 0
| 0-9588 | ||||||||||||||||||
951 | acc = Encode(-static_cast<double>(a)); | - | ||||||||||||||||||
952 | } executed 56 times by 1 test: else {end of block Executed by:
| 56 | ||||||||||||||||||
953 | acc = sub_int32(0, Primitive::fromReturnedValue(acc).int_32()); | - | ||||||||||||||||||
954 | } executed 9588 times by 3 tests: end of block Executed by:
| 9588 | ||||||||||||||||||
955 | } else if (Primitive::fromReturnedValue(acc).isDouble()
| 80-24087 | ||||||||||||||||||
956 | acc ^= (1ull << 63); | - | ||||||||||||||||||
957 | } executed 24085 times by 7 tests: else {end of block Executed by:
| 24085 | ||||||||||||||||||
958 | acc = Encode(-Primitive::fromReturnedValue(acc).toNumberImpl()); | - | ||||||||||||||||||
959 | if (engine->hasException
executed 8 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 8 times by 1 test: goto handleUnwind; Executed by:
| 8-72 | ||||||||||||||||||
960 | } executed 72 times by 1 test: end of block Executed by:
| 72 | ||||||||||||||||||
961 | goto executed 33800 times by 8 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 33800 times by 8 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 33800 | ||||||||||||||||||
962 | - | |||||||||||||||||||
963 | { op_int_UCompl: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_UCompl;goto op_main_UCompl; never executed: op_byte_UCompl: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_UCompl:goto op_main_UCompl; code before this statement executed 160 times by 1 test: ;op_main_UCompl: Executed by:
| 0-160 | ||||||||||||||||||
964 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 28 times by 1 test: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
executed 12 times by 1 test: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue(); Executed by:
executed 16 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 16 times by 1 test: }goto handleUnwind; Executed by:
executed 104 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 116 times by 1 test: } while (false);end of block Executed by:
| 12-132 | ||||||||||||||||||
965 | acc = Encode(~a); | - | ||||||||||||||||||
966 | goto executed 144 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 144 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 144 | ||||||||||||||||||
967 | - | |||||||||||||||||||
968 | { op_int_Increment: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_Increment;goto op_main_Increment; never executed: op_byte_Increment: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_Increment:goto op_main_Increment; code before this statement executed 30958136 times by 39 tests: ;op_main_Increment: Executed by:
| 0-30958136 | ||||||||||||||||||
969 | if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
| 14359-30810485 | ||||||||||||||||||
970 | acc = add_int32(Primitive::fromReturnedValue(acc).int_32(), 1); | - | ||||||||||||||||||
971 | } executed 30921386 times by 39 tests: else if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
| 164-30921386 | ||||||||||||||||||
972 | acc = QV4::Encode(Primitive::fromReturnedValue(acc).doubleValue() + 1.); | - | ||||||||||||||||||
973 | } executed 14196 times by 3 tests: else {end of block Executed by:
| 14196 | ||||||||||||||||||
974 | acc = Encode(Primitive::fromReturnedValue(acc).toNumberImpl() + 1.); | - | ||||||||||||||||||
975 | if (engine->hasException
executed 8 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 8 times by 1 test: goto handleUnwind; Executed by:
| 8-156 | ||||||||||||||||||
976 | } executed 156 times by 1 test: end of block Executed by:
| 156 | ||||||||||||||||||
977 | goto executed 30967271 times by 39 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 30967271 times by 39 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 30967271 | ||||||||||||||||||
978 | - | |||||||||||||||||||
979 | { op_int_Decrement: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_Decrement;goto op_main_Decrement; never executed: op_byte_Decrement: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_Decrement:goto op_main_Decrement; code before this statement executed 1094179 times by 12 tests: ;op_main_Decrement: Executed by:
| 0-1094179 | ||||||||||||||||||
980 | if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
| 14731-1079448 | ||||||||||||||||||
981 | acc = sub_int32(Primitive::fromReturnedValue(acc).int_32(), 1); | - | ||||||||||||||||||
982 | } executed 1079450 times by 12 tests: else if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
| 202-1079450 | ||||||||||||||||||
983 | acc = QV4::Encode(Primitive::fromReturnedValue(acc).doubleValue() - 1.); | - | ||||||||||||||||||
984 | } executed 14529 times by 3 tests: else {end of block Executed by:
| 14529 | ||||||||||||||||||
985 | acc = Encode(Primitive::fromReturnedValue(acc).toNumberImpl() - 1.); | - | ||||||||||||||||||
986 | if (engine->hasException
executed 8 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 8 times by 1 test: goto handleUnwind; Executed by:
| 8-194 | ||||||||||||||||||
987 | } executed 194 times by 2 tests: end of block Executed by:
| 194 | ||||||||||||||||||
988 | goto executed 1094174 times by 12 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 1094174 times by 12 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 1094174 | ||||||||||||||||||
989 | - | |||||||||||||||||||
990 | { int lhs; op_int_Add: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_Add: executed 12 times by 1 test: op_main_Add;goto op_main_Add; Executed by:
executed 12 times by 1 test: op_byte_Add: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_Add:goto op_main_Add; Executed by:
code before this statement executed 99448306 times by 52 tests: ;op_main_Add: Executed by:
| 0-99448306 | ||||||||||||||||||
991 | const Value left = stack[lhs]; | - | ||||||||||||||||||
992 | if (__builtin_expect(!!(Value::integerCompatible(left, Primitive::fromReturnedValue(acc))), true)
| 41763007-57844625 | ||||||||||||||||||
993 | acc = add_int32(left.int_32(), Primitive::fromReturnedValue(acc).int_32()); | - | ||||||||||||||||||
994 | } executed 41785715 times by 28 tests: else if (left.isNumber()end of block Executed by:
| 4622-57946899 | ||||||||||||||||||
995 | acc = Encode(left.asDouble() + Primitive::fromReturnedValue(acc).asDouble()); | - | ||||||||||||||||||
996 | } executed 43622 times by 24 tests: else {end of block Executed by:
| 43622 | ||||||||||||||||||
997 | accumulator = acc;; | - | ||||||||||||||||||
998 | acc = Runtime::method_add(engine, left, accumulator); | - | ||||||||||||||||||
999 | if (engine->hasException
executed 96 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 96 times by 1 test: goto handleUnwind; Executed by:
| 96-57813841 | ||||||||||||||||||
1000 | } executed 57786442 times by 37 tests: end of block Executed by:
| 57786442 | ||||||||||||||||||
1001 | goto executed 99150304 times by 52 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 99150304 times by 52 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 99150304 | ||||||||||||||||||
1002 | - | |||||||||||||||||||
1003 | { int lhs; op_int_Sub: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_Sub: never executed: op_main_Sub;goto op_main_Sub; never executed: op_byte_Sub: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_Sub:goto op_main_Sub; code before this statement executed 16754706 times by 27 tests: ;op_main_Sub: Executed by:
| 0-16754706 | ||||||||||||||||||
1004 | const Value left = stack[lhs]; | - | ||||||||||||||||||
1005 | if (__builtin_expect(!!(Value::integerCompatible(left, Primitive::fromReturnedValue(acc))), true)
| 1015002-15728149 | ||||||||||||||||||
1006 | acc = sub_int32(left.int_32(), Primitive::fromReturnedValue(acc).int_32()); | - | ||||||||||||||||||
1007 | } executed 15756849 times by 9 tests: else if (left.isNumber()end of block Executed by:
| 64-15756849 | ||||||||||||||||||
1008 | acc = Encode(left.asDouble() - Primitive::fromReturnedValue(acc).asDouble()); | - | ||||||||||||||||||
1009 | } executed 1014520 times by 22 tests: else {end of block Executed by:
| 1014520 | ||||||||||||||||||
1010 | accumulator = acc;; | - | ||||||||||||||||||
1011 | acc = Runtime::method_sub(left, accumulator); | - | ||||||||||||||||||
1012 | if (engine->hasException
executed 28 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 28 times by 1 test: goto handleUnwind; Executed by:
| 28-454 | ||||||||||||||||||
1013 | } executed 454 times by 1 test: end of block Executed by:
| 454 | ||||||||||||||||||
1014 | goto executed 16766540 times by 27 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 16766540 times by 27 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 16766540 | ||||||||||||||||||
1015 | - | |||||||||||||||||||
1016 | { int lhs; op_int_Exp: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_Exp: never executed: op_main_Exp;goto op_main_Exp; never executed: op_byte_Exp: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_Exp:goto op_main_Exp; code before this statement executed 858 times by 1 test: ;op_main_Exp: Executed by:
| 0-858 | ||||||||||||||||||
1017 | const Value left = stack[lhs]; | - | ||||||||||||||||||
1018 | double base = left.toNumber(); | - | ||||||||||||||||||
1019 | double exp = Primitive::fromReturnedValue(acc).toNumber(); | - | ||||||||||||||||||
1020 | if (qIsInf(exp)
| 8-730 | ||||||||||||||||||
1021 | acc = Encode(qSNaN()); executed 16 times by 1 test: acc = Encode(qSNaN()); Executed by:
| 16 | ||||||||||||||||||
1022 | else | - | ||||||||||||||||||
1023 | acc = Encode(pow(base,exp)); executed 842 times by 1 test: acc = Encode(pow(base,exp)); Executed by:
| 842 | ||||||||||||||||||
1024 | goto executed 856 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 856 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 856 | ||||||||||||||||||
1025 | - | |||||||||||||||||||
1026 | { int lhs; op_int_Mul: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_Mul: never executed: op_main_Mul;goto op_main_Mul; never executed: op_byte_Mul: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_Mul:goto op_main_Mul; code before this statement executed 25505817 times by 25 tests: ;op_main_Mul: Executed by:
| 0-25505817 | ||||||||||||||||||
1027 | const Value left = stack[lhs]; | - | ||||||||||||||||||
1028 | if (__builtin_expect(!!(Value::integerCompatible(left, Primitive::fromReturnedValue(acc))), true)
| 770972-24731958 | ||||||||||||||||||
1029 | acc = mul_int32(left.int_32(), Primitive::fromReturnedValue(acc).int_32()); | - | ||||||||||||||||||
1030 | } executed 24759827 times by 14 tests: else if (left.isNumber()end of block Executed by:
| 68-24759827 | ||||||||||||||||||
1031 | acc = Encode(left.asDouble() * Primitive::fromReturnedValue(acc).asDouble()); | - | ||||||||||||||||||
1032 | } executed 770384 times by 19 tests: else {end of block Executed by:
| 770384 | ||||||||||||||||||
1033 | accumulator = acc;; | - | ||||||||||||||||||
1034 | acc = Runtime::method_mul(left, accumulator); | - | ||||||||||||||||||
1035 | if (engine->hasException
executed 28 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 28 times by 1 test: goto handleUnwind; Executed by:
| 28-561 | ||||||||||||||||||
1036 | } executed 561 times by 1 test: end of block Executed by:
| 561 | ||||||||||||||||||
1037 | goto executed 25515136 times by 25 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 25515136 times by 25 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 25515136 | ||||||||||||||||||
1038 | - | |||||||||||||||||||
1039 | { int lhs; op_int_Div: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_Div: never executed: op_main_Div;goto op_main_Div; never executed: op_byte_Div: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_Div:goto op_main_Div; code before this statement executed 2185914 times by 26 tests: ;op_main_Div: Executed by:
| 0-2185914 | ||||||||||||||||||
1040 | accumulator = acc;; | - | ||||||||||||||||||
1041 | acc = Runtime::method_div(stack[lhs], accumulator); | - | ||||||||||||||||||
1042 | if (engine->hasException
executed 28 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 28 times by 1 test: goto handleUnwind; Executed by:
| 28-2186620 | ||||||||||||||||||
1043 | goto executed 2185192 times by 26 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 2185192 times by 26 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 2185192 | ||||||||||||||||||
1044 | - | |||||||||||||||||||
1045 | { int lhs; op_int_Mod: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_Mod: never executed: op_main_Mod;goto op_main_Mod; never executed: op_byte_Mod: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_Mod:goto op_main_Mod; code before this statement executed 33594 times by 8 tests: ;op_main_Mod: Executed by:
| 0-33594 | ||||||||||||||||||
1046 | accumulator = acc;; | - | ||||||||||||||||||
1047 | acc = Runtime::method_mod(stack[lhs], accumulator); | - | ||||||||||||||||||
1048 | if (engine->hasException
executed 28 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 28 times by 1 test: goto handleUnwind; Executed by:
| 28-33566 | ||||||||||||||||||
1049 | goto executed 33566 times by 8 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 33566 times by 8 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 33566 | ||||||||||||||||||
1050 | - | |||||||||||||||||||
1051 | { int lhs; op_int_BitAnd: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_BitAnd: never executed: op_main_BitAnd;goto op_main_BitAnd; never executed: op_byte_BitAnd: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_BitAnd:goto op_main_BitAnd; code before this statement executed 515 times by 3 tests: ;op_main_BitAnd: Executed by:
| 0-515 | ||||||||||||||||||
1052 | int l; do { if (__builtin_expect(!!(stack[lhs].integerCompatible()), true)
executed 261 times by 3 tests: else { double d; if (stack[lhs].isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = stack[lhs].toNumberImpl(); if (engine->hasExceptiond = stack[lhs].doubleValue();
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: }goto handleUnwind; Executed by:
executed 244 times by 1 test: l = Double::toInt32(d); }end of block Executed by:
executed 244 times by 1 test: } while (false);end of block Executed by:
| 0-261 | ||||||||||||||||||
1053 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 201 times by 3 tests: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue();
executed 8 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 8 times by 1 test: }goto handleUnwind; Executed by:
executed 296 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 296 times by 1 test: } while (false);end of block Executed by:
| 0-304 | ||||||||||||||||||
1054 | acc = Encode(l & a); | - | ||||||||||||||||||
1055 | goto executed 497 times by 3 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 497 times by 3 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 497 | ||||||||||||||||||
1056 | - | |||||||||||||||||||
1057 | { int lhs; op_int_BitOr: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_BitOr: never executed: op_main_BitOr;goto op_main_BitOr; never executed: op_byte_BitOr: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_BitOr:goto op_main_BitOr; code before this statement executed 405 times by 8 tests: ;op_main_BitOr: Executed by:
| 0-405 | ||||||||||||||||||
1058 | int l; do { if (__builtin_expect(!!(stack[lhs].integerCompatible()), true)
executed 148 times by 7 tests: else { double d; if (stack[lhs].isDouble()end of block Executed by:
executed 2 times by 1 test: else { accumulator = acc;; d = stack[lhs].toNumberImpl(); if (engine->hasExceptiond = stack[lhs].doubleValue(); Executed by:
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: }goto handleUnwind; Executed by:
executed 244 times by 1 test: l = Double::toInt32(d); }end of block Executed by:
executed 246 times by 2 tests: } while (false);end of block Executed by:
| 2-258 | ||||||||||||||||||
1059 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 88 times by 7 tests: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
executed 2 times by 1 test: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue(); Executed by:
executed 8 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 8 times by 1 test: }goto handleUnwind; Executed by:
executed 295 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 297 times by 2 tests: } while (false);end of block Executed by:
| 2-306 | ||||||||||||||||||
1060 | acc = Encode(l | a); | - | ||||||||||||||||||
1061 | goto executed 385 times by 8 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 385 times by 8 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 385 | ||||||||||||||||||
1062 | - | |||||||||||||||||||
1063 | { int lhs; op_int_BitXor: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_BitXor: never executed: op_main_BitXor;goto op_main_BitXor; never executed: op_byte_BitXor: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_BitXor:goto op_main_BitXor; code before this statement executed 342 times by 1 test: ;op_main_BitXor: Executed by:
| 0-342 | ||||||||||||||||||
1064 | int l; do { if (__builtin_expect(!!(stack[lhs].integerCompatible()), true)
executed 86 times by 1 test: else { double d; if (stack[lhs].isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = stack[lhs].toNumberImpl(); if (engine->hasExceptiond = stack[lhs].doubleValue();
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: }goto handleUnwind; Executed by:
executed 244 times by 1 test: l = Double::toInt32(d); }end of block Executed by:
executed 244 times by 1 test: } while (false);end of block Executed by:
| 0-256 | ||||||||||||||||||
1065 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 26 times by 1 test: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue();
executed 8 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 8 times by 1 test: }goto handleUnwind; Executed by:
executed 296 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 296 times by 1 test: } while (false);end of block Executed by:
| 0-303 | ||||||||||||||||||
1066 | acc = Encode(l ^ a); | - | ||||||||||||||||||
1067 | goto executed 322 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 322 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 322 | ||||||||||||||||||
1068 | - | |||||||||||||||||||
1069 | { int lhs; op_int_UShr: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_UShr: never executed: op_main_UShr;goto op_main_UShr; never executed: op_byte_UShr: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_UShr:goto op_main_UShr; code before this statement executed 426 times by 1 test: ;op_main_UShr: Executed by:
| 0-426 | ||||||||||||||||||
1070 | int l; do { if (__builtin_expect(!!(stack[lhs].integerCompatible()), true)
executed 170 times by 1 test: else { double d; if (stack[lhs].isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = stack[lhs].toNumberImpl(); if (engine->hasExceptiond = stack[lhs].doubleValue();
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: }goto handleUnwind; Executed by:
executed 244 times by 1 test: l = Double::toInt32(d); }end of block Executed by:
executed 244 times by 1 test: } while (false);end of block Executed by:
| 0-256 | ||||||||||||||||||
1071 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 30 times by 1 test: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue();
executed 16 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 16 times by 1 test: }goto handleUnwind; Executed by:
executed 368 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 368 times by 1 test: } while (false);end of block Executed by:
| 0-384 | ||||||||||||||||||
1072 | acc = Encode(static_cast<uint>(l) >> uint(a & 0x1f)); | - | ||||||||||||||||||
1073 | goto executed 398 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 398 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 398 | ||||||||||||||||||
1074 | - | |||||||||||||||||||
1075 | { int lhs; op_int_Shr: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_Shr: never executed: op_main_Shr;goto op_main_Shr; never executed: op_byte_Shr: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_Shr:goto op_main_Shr; code before this statement executed 442 times by 1 test: ;op_main_Shr: Executed by:
| 0-442 | ||||||||||||||||||
1076 | int l; do { if (__builtin_expect(!!(stack[lhs].integerCompatible()), true)
executed 186 times by 1 test: else { double d; if (stack[lhs].isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = stack[lhs].toNumberImpl(); if (engine->hasExceptiond = stack[lhs].doubleValue();
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: }goto handleUnwind; Executed by:
executed 244 times by 1 test: l = Double::toInt32(d); }end of block Executed by:
executed 244 times by 1 test: } while (false);end of block Executed by:
| 0-256 | ||||||||||||||||||
1077 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 46 times by 1 test: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue();
executed 16 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 16 times by 1 test: }goto handleUnwind; Executed by:
executed 368 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 368 times by 1 test: } while (false);end of block Executed by:
| 0-384 | ||||||||||||||||||
1078 | acc = Encode(l >> (a & 0x1f)); | - | ||||||||||||||||||
1079 | goto executed 414 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 414 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 414 | ||||||||||||||||||
1080 | - | |||||||||||||||||||
1081 | { int lhs; op_int_Shl: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); lhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_Shl: never executed: op_main_Shl;goto op_main_Shl; never executed: op_byte_Shl: code += static_cast<quintptr>(1*sizeof(qint8) + 1); lhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_Shl:goto op_main_Shl; code before this statement executed 474 times by 1 test: ;op_main_Shl: Executed by:
| 0-474 | ||||||||||||||||||
1082 | int l; do { if (__builtin_expect(!!(stack[lhs].integerCompatible()), true)
executed 218 times by 1 test: else { double d; if (stack[lhs].isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = stack[lhs].toNumberImpl(); if (engine->hasExceptiond = stack[lhs].doubleValue();
executed 12 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 12 times by 1 test: }goto handleUnwind; Executed by:
executed 244 times by 1 test: l = Double::toInt32(d); }end of block Executed by:
executed 244 times by 1 test: } while (false);end of block Executed by:
| 0-256 | ||||||||||||||||||
1083 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 78 times by 1 test: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue();
executed 16 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 16 times by 1 test: }goto handleUnwind; Executed by:
executed 368 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 368 times by 1 test: } while (false);end of block Executed by:
| 0-384 | ||||||||||||||||||
1084 | acc = Encode(l << (a & 0x1f)); | - | ||||||||||||||||||
1085 | goto executed 446 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 446 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 446 | ||||||||||||||||||
1086 | - | |||||||||||||||||||
1087 | { int rhs; op_int_BitAndConst: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); rhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_BitAndConst: executed 16766578 times by 1 test: op_main_BitAndConst;goto op_main_BitAndConst; Executed by:
executed 16766578 times by 1 test: op_byte_BitAndConst: code += static_cast<quintptr>(1*sizeof(qint8) + 1); rhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_BitAndConst:goto op_main_BitAndConst; Executed by:
code before this statement executed 57986556 times by 2 tests: ;op_main_BitAndConst: Executed by:
| 0-57986556 | ||||||||||||||||||
1088 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 74475874 times by 2 tests: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue();
executed 8 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 8 times by 1 test: }goto handleUnwind; Executed by:
executed 218 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 218 times by 1 test: } while (false);end of block Executed by:
| 0-74475874 | ||||||||||||||||||
1089 | acc = Encode(a & rhs); | - | ||||||||||||||||||
1090 | if (engine->hasException
never executed: handleUnwind;goto handleUnwind; never executed: goto handleUnwind; | 0-74495849 | ||||||||||||||||||
1091 | goto executed 74536297 times by 2 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 74536297 times by 2 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 74536297 | ||||||||||||||||||
1092 | - | |||||||||||||||||||
1093 | { int rhs; op_int_BitOrConst: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); rhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_BitOrConst: never executed: op_main_BitOrConst;goto op_main_BitOrConst; never executed: op_byte_BitOrConst: code += static_cast<quintptr>(1*sizeof(qint8) + 1); rhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_BitOrConst:goto op_main_BitOrConst; code before this statement executed 356 times by 2 tests: ;op_main_BitOrConst: Executed by:
| 0-356 | ||||||||||||||||||
1094 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 130 times by 1 test: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
executed 2 times by 1 test: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue(); Executed by:
executed 8 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 8 times by 1 test: }goto handleUnwind; Executed by:
executed 218 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 220 times by 2 tests: } while (false);end of block Executed by:
| 2-227 | ||||||||||||||||||
1095 | acc = Encode(a | rhs); | - | ||||||||||||||||||
1096 | goto executed 350 times by 2 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 350 times by 2 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 350 | ||||||||||||||||||
1097 | - | |||||||||||||||||||
1098 | { int rhs; op_int_BitXorConst: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); rhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_BitXorConst: never executed: op_main_BitXorConst;goto op_main_BitXorConst; never executed: op_byte_BitXorConst: code += static_cast<quintptr>(1*sizeof(qint8) + 1); rhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_BitXorConst:goto op_main_BitXorConst; code before this statement executed 356 times by 1 test: ;op_main_BitXorConst: Executed by:
| 0-356 | ||||||||||||||||||
1099 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 130 times by 1 test: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
never executed: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue();
executed 8 times by 1 test: handleUnwind;goto handleUnwind; Executed by:
executed 8 times by 1 test: }goto handleUnwind; Executed by:
executed 218 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 218 times by 1 test: } while (false);end of block Executed by:
| 0-226 | ||||||||||||||||||
1100 | acc = Encode(a ^ rhs); | - | ||||||||||||||||||
1101 | goto executed 348 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 348 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 348 | ||||||||||||||||||
1102 | - | |||||||||||||||||||
1103 | { int rhs; op_int_UShrConst: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); rhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_UShrConst: never executed: op_main_UShrConst;goto op_main_UShrConst; never executed: op_byte_UShrConst: code += static_cast<quintptr>(1*sizeof(qint8) + 1); rhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_UShrConst:goto op_main_UShrConst; code before this statement executed 5614116 times by 1 test: ;op_main_UShrConst: Executed by:
| 0-5614116 | ||||||||||||||||||
1104 | acc = Encode(Primitive::fromReturnedValue(acc).toUInt32() >> uint(rhs)); | - | ||||||||||||||||||
1105 | goto executed 5615891 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 5615891 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 5615891 | ||||||||||||||||||
1106 | - | |||||||||||||||||||
1107 | { int rhs; op_int_ShrConst: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); rhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_ShrConst: never executed: op_main_ShrConst;goto op_main_ShrConst; never executed: op_byte_ShrConst: code += static_cast<quintptr>(1*sizeof(qint8) + 1); rhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_ShrConst:goto op_main_ShrConst; code before this statement executed 18032605 times by 1 test: ;op_main_ShrConst: Executed by:
| 0-18032605 | ||||||||||||||||||
1108 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 18079050 times by 1 test: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
executed 40 times by 1 test: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue(); Executed by:
never executed: handleUnwind;goto handleUnwind; never executed: }goto handleUnwind; executed 146 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 186 times by 1 test: } while (false);end of block Executed by:
| 0-18079050 | ||||||||||||||||||
1109 | acc = Encode(a >> rhs); | - | ||||||||||||||||||
1110 | goto executed 18091225 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 18091225 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 18091225 | ||||||||||||||||||
1111 | - | |||||||||||||||||||
1112 | { int rhs; op_int_ShlConst: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); rhs = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_ShlConst: never executed: op_main_ShlConst;goto op_main_ShlConst; never executed: op_byte_ShlConst: code += static_cast<quintptr>(1*sizeof(qint8) + 1); rhs = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_ShlConst:goto op_main_ShlConst; code before this statement executed 9068 times by 1 test: ;op_main_ShlConst: Executed by:
| 0-9068 | ||||||||||||||||||
1113 | int a; do { if (__builtin_expect(!!(Primitive::fromReturnedValue(acc).integerCompatible()), true)
executed 8734 times by 1 test: else { double d; if (Primitive::fromReturnedValue(acc).isDouble()end of block Executed by:
executed 172 times by 1 test: else { accumulator = acc;; d = Primitive::fromReturnedValue(acc).toNumberImpl(); if (engine->hasExceptiond = Primitive::fromReturnedValue(acc).doubleValue(); Executed by:
never executed: handleUnwind;goto handleUnwind; never executed: }goto handleUnwind; executed 162 times by 1 test: a = Double::toInt32(d); }end of block Executed by:
executed 334 times by 1 test: } while (false);end of block Executed by:
| 0-8734 | ||||||||||||||||||
1114 | acc = Encode(a << rhs); | - | ||||||||||||||||||
1115 | goto executed 9068 times by 1 test: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 9068 times by 1 test: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 9068 | ||||||||||||||||||
1116 | - | |||||||||||||||||||
1117 | { op_int_Ret: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_Ret;goto op_main_Ret; never executed: op_byte_Ret: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_Ret:goto op_main_Ret; code before this statement executed 16679206 times by 133 tests: ;op_main_Ret: Executed by:
| 0-16679206 | ||||||||||||||||||
1118 | return executed 16674956 times by 133 tests: acc;return acc; Executed by:
executed 16674956 times by 133 tests: return acc; Executed by:
| 16674956 | ||||||||||||||||||
1119 | goto dead code: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; dead code: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; | - | ||||||||||||||||||
1120 | - | |||||||||||||||||||
1121 | { op_int_Debug: code += static_cast<quintptr>(0*sizeof(int) + 1); goto never executed: op_main_Debug;goto op_main_Debug; never executed: op_byte_Debug: code += static_cast<quintptr>(0*sizeof(qint8) + 1); op_main_Debug:goto op_main_Debug; code before this statement executed 1208 times by 2 tests: ;op_main_Debug: Executed by:
| 0-1208 | ||||||||||||||||||
1122 | - | |||||||||||||||||||
1123 | frame->instructionPointer = int(code - function->codeData);; | - | ||||||||||||||||||
1124 | debug_slowPath(engine); | - | ||||||||||||||||||
1125 | - | |||||||||||||||||||
1126 | goto executed 1208 times by 2 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 1208 times by 2 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 1208 | ||||||||||||||||||
1127 | - | |||||||||||||||||||
1128 | { int result; op_int_LoadQmlContext: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); result = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadQmlContext: never executed: op_main_LoadQmlContext;goto op_main_LoadQmlContext; never executed: op_byte_LoadQmlContext: code += static_cast<quintptr>(1*sizeof(qint8) + 1); result = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadQmlContext:goto op_main_LoadQmlContext; code before this statement executed 158343 times by 127 tests: ;op_main_LoadQmlContext: Executed by:
| 0-158343 | ||||||||||||||||||
1129 | stack[result] = Runtime::method_loadQmlContext(static_cast<QV4::NoThrowEngine*>(engine)); | - | ||||||||||||||||||
1130 | goto executed 158343 times by 127 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 158343 times by 127 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 158343 | ||||||||||||||||||
1131 | - | |||||||||||||||||||
1132 | { int result; op_int_LoadQmlImportedScripts: code before this statement never executed: code += static_cast<quintptr>(1*sizeof(int) + 1); result = qFromLittleEndian<int>( static_cast<const void *>( &reinterpret_cast<const int *>(code)[-1 + 0]));; gotoop_int_LoadQmlImportedScripts: never executed: op_main_LoadQmlImportedScripts;goto op_main_LoadQmlImportedScripts; never executed: op_byte_LoadQmlImportedScripts: code += static_cast<quintptr>(1*sizeof(qint8) + 1); result = qFromLittleEndian<qint8>( static_cast<const void *>( &reinterpret_cast<const qint8 *>(code)[-1 + 0]));; op_main_LoadQmlImportedScripts:goto op_main_LoadQmlImportedScripts; code before this statement executed 158343 times by 127 tests: ;op_main_LoadQmlImportedScripts: Executed by:
| 0-158343 | ||||||||||||||||||
1133 | stack[result] = Runtime::method_loadQmlImportedScripts(static_cast<QV4::NoThrowEngine*>(engine)); | - | ||||||||||||||||||
1134 | goto executed 158343 times by 127 tests: *jumpTable[*reinterpret_cast<const uchar *>(code)];goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
executed 158343 times by 127 tests: }goto *jumpTable[*reinterpret_cast<const uchar *>(code)]; Executed by:
| 158343 | ||||||||||||||||||
1135 | - | |||||||||||||||||||
1136 | handleUnwind: | - | ||||||||||||||||||
1137 | ((engine->hasException || frame->unwindLevel) ? static_cast<void>(0) : qt_assert("engine->hasException || frame->unwindLevel", __FILE__, 1337)); | - | ||||||||||||||||||
1138 | if (!frame->unwindHandler
| 83198-4565886 | ||||||||||||||||||
1139 | acc = Encode::undefined(); | - | ||||||||||||||||||
1140 | return executed 83196 times by 29 tests: acc;return acc; Executed by:
executed 83196 times by 29 tests: return acc; Executed by:
| 83196 | ||||||||||||||||||
1141 | } | - | ||||||||||||||||||
1142 | code = frame->unwindHandler; | - | ||||||||||||||||||
1143 | } executed 4555106 times by 11 tests: end of block Executed by:
| 4555106 | ||||||||||||||||||
1144 | } never executed: end of block | 0 | ||||||||||||||||||
Switch to Source code | Preprocessed file |