OpenCoverage

qv4functionobject_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6struct QQmlSourceLocation;-
7-
8namespace QV4 {-
9-
10struct IndexedBuiltinFunction;-
11struct JSCallData;-
12-
13namespace Heap {-
14struct FunctionObjectOffsetStruct { Pointer<ExecutionContext *, 0> scope; Function * function; VTable::Call jsCall; VTable::CallAsConstructor jsConstruct; }; struct FunctionObjectSizeStruct : Object, FunctionObjectOffsetStruct {}; struct FunctionObjectData { typedef Object SuperClass; static constexpr size_t baseOffset = sizeof(FunctionObjectSizeStruct) - sizeof(FunctionObjectOffsetStruct); Pointer<ExecutionContext *, -
15__builtin_offsetof (-
16FunctionObjectOffsetStruct-
17, -
18scope-
19) -
20+ baseOffset> scope; Function * function; VTable::Call jsCall; VTable::CallAsConstructor jsConstruct; }; static_assert(bool(sizeof(FunctionObjectSizeStruct) == sizeof(FunctionObjectData) + FunctionObjectData::baseOffset), "sizeof(FunctionObjectSizeStruct) == sizeof(FunctionObjectData) + FunctionObjectData::baseOffset"); struct FunctionObject : Object, FunctionObjectData {-
21 static void markObjects(Heap::Base *b, MarkStack *stack) { FunctionObject *o = static_cast<FunctionObject *>(b); FunctionObjectData::SuperClass::markObjects(o, stack); if (o->scope
o->scopeDescription
TRUEevaluated 111380 times by 27 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_qquickwindow
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • ...
FALSEnever evaluated
) o->scope.heapObject()->mark(stack);
executed 111380 times by 27 tests: o->scope.heapObject()->mark(stack);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_qquickwindow
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • ...
}
executed 111380 times by 27 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_qquickwindow
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • ...
;
0-111380
22 enum {-
23 Index_Prototype = 0,-
24 Index_ProtoConstructor = 0-
25 };-
26-
27 __attribute__((visibility("default"))) void init(QV4::ExecutionContext *scope, QV4::String *name, ReturnedValue (*code)(const QV4::FunctionObject *, const Value *thisObject, const Value *argv, int argc));-
28 void init(QV4::ExecutionContext *scope, QV4::String *name = nullptr, bool createProto = false);-
29 void init(QV4::ExecutionContext *scope, QV4::Function *function, bool createProto = false);-
30 void init(QV4::ExecutionContext *scope, const QString &name, bool createProto = false);-
31 void init();-
32 void destroy();-
33-
34 void setFunction(Function *f);-
35-
36 unsigned int formalParameterCount() { return
executed 5764 times by 34 tests: return function ? function->nFormals : 0;
Executed by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
function ? function->nFormals : 0;
executed 5764 times by 34 tests: return function ? function->nFormals : 0;
Executed by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
}
5764
37 unsigned int varCount() { return
never executed: return function ? function->compiledFunction->nLocals : 0;
function ? function->compiledFunction->nLocals : 0;
never executed: return function ? function->compiledFunction->nLocals : 0;
}
0
38-
39 const QV4::Object *protoProperty() const { return
executed 4285299 times by 12 tests: return propertyData(Index_Prototype)->as<QV4::Object>();
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickworkerscript
propertyData(Index_Prototype)->as<QV4::Object>();
executed 4285299 times by 12 tests: return propertyData(Index_Prototype)->as<QV4::Object>();
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickworkerscript
}
4285299
40};-
41-
42struct FunctionCtor : FunctionObject {-
43 void init(QV4::ExecutionContext *scope);-
44};-
45-
46struct FunctionPrototype : FunctionObject {-
47 void init();-
48};-
49-
50struct IndexedBuiltinFunction : FunctionObject {-
51 inline void init(QV4::ExecutionContext *scope, uint index, ReturnedValue (*code)(const QV4::FunctionObject *, const Value *, const Value *, int));-
52 uint index;-
53};-
54-
55-
56-
57-
58struct ScriptFunctionOffsetStruct { Pointer<InternalClass *, 0> cachedClassForConstructor; }; struct ScriptFunctionSizeStruct : FunctionObject, ScriptFunctionOffsetStruct {}; struct ScriptFunctionData { typedef FunctionObject SuperClass; static constexpr size_t baseOffset = sizeof(ScriptFunctionSizeStruct) - sizeof(ScriptFunctionOffsetStruct); Pointer<InternalClass *, -
59__builtin_offsetof (-
60ScriptFunctionOffsetStruct-
61, -
62cachedClassForConstructor-
63) -
64+ baseOffset> cachedClassForConstructor; }; static_assert(bool(sizeof(ScriptFunctionSizeStruct) == sizeof(ScriptFunctionData) + ScriptFunctionData::baseOffset), "sizeof(ScriptFunctionSizeStruct) == sizeof(ScriptFunctionData) + ScriptFunctionData::baseOffset"); struct ScriptFunction : FunctionObject, ScriptFunctionData {-
65 static void markObjects(Heap::Base *b, MarkStack *stack) { ScriptFunction *o = static_cast<ScriptFunction *>(b); ScriptFunctionData::SuperClass::markObjects(o, stack); if (o->cachedClassForConstructor
o->cachedClassForConstructorDescription
TRUEnever evaluated
FALSEevaluated 93564 times by 17 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
) o->cachedClassForConstructor.heapObject()->mark(stack);
never executed: o->cachedClassForConstructor.heapObject()->mark(stack);
}
executed 93564 times by 17 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
0-93564
66 enum {-
67 Index_Name = FunctionObject::Index_Prototype + 1,-
68 Index_Length-
69 };-
70 void init(QV4::ExecutionContext *scope, Function *function);-
71};-
72-
73struct ConstructorFunction : ScriptFunction-
74{-
75 bool isDerivedConstructor;-
76};-
77-
78struct MemberFunction : ScriptFunction-
79{-
80};-
81-
82struct DefaultClassConstructorFunction : FunctionObject-
83{-
84 bool isDerivedConstructor;-
85};-
86-
87-
88-
89-
90-
91-
92struct BoundFunctionOffsetStruct { Pointer<FunctionObject *, 0> target; HeapValue<0> boundThis; Pointer<MemberData *, 0> boundArgs; }; struct BoundFunctionSizeStruct : FunctionObject, BoundFunctionOffsetStruct {}; struct BoundFunctionData { typedef FunctionObject SuperClass; static constexpr size_t baseOffset = sizeof(BoundFunctionSizeStruct) - sizeof(BoundFunctionOffsetStruct); Pointer<FunctionObject *, -
93__builtin_offsetof (-
94BoundFunctionOffsetStruct-
95, -
96target-
97) -
98+ baseOffset> target; HeapValue<-
99__builtin_offsetof (-
100BoundFunctionOffsetStruct-
101, -
102boundThis-
103) -
104+ baseOffset> boundThis; Pointer<MemberData *, -
105__builtin_offsetof (-
106BoundFunctionOffsetStruct-
107, -
108boundArgs-
109) -
110+ baseOffset> boundArgs; }; static_assert(bool(sizeof(BoundFunctionSizeStruct) == sizeof(BoundFunctionData) + BoundFunctionData::baseOffset), "sizeof(BoundFunctionSizeStruct) == sizeof(BoundFunctionData) + BoundFunctionData::baseOffset"); struct BoundFunction : FunctionObject, BoundFunctionData {-
111 static void markObjects(Heap::Base *b, MarkStack *stack) { BoundFunction *o = static_cast<BoundFunction *>(b); BoundFunctionData::SuperClass::markObjects(o, stack); if (o->target
o->targetDescription
TRUEnever evaluated
FALSEnever evaluated
) o->target.heapObject()->mark(stack);
never executed: o->target.heapObject()->mark(stack);
o->boundThis.mark(stack); if (o->boundArgs
o->boundArgsDescription
TRUEnever evaluated
FALSEnever evaluated
) o->boundArgs.heapObject()->mark(stack);
never executed: o->boundArgs.heapObject()->mark(stack);
}
never executed: end of block
;
0
112-
113 void init(QV4::ExecutionContext *scope, QV4::FunctionObject *target, const Value &boundThis, QV4::MemberData *boundArgs);-
114};-
115-
116}-
117-
118struct __attribute__((visibility("default"))) FunctionObject: Object {-
119 enum {-
120 IsFunctionObject = true-
121 };-
122 private: FunctionObject() = delete; FunctionObject(const FunctionObject &) = delete; FunctionObject &operator=(const FunctionObject &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; }
never executed: end of block
typedef QV4::Heap::FunctionObject Data; typedef Object SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 102974416 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
&static_vtbl;
executed 102974416 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::FunctionObject *d_unchecked() const { return
executed 202037829 times by 154 tests: return static_cast<QV4::Heap::FunctionObject *>(m());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
static_cast<QV4::Heap::FunctionObject *>(m());
executed 202037829 times by 154 tests: return static_cast<QV4::Heap::FunctionObject *>(m());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} QV4::Heap::FunctionObject *d() const { QV4::Heap::FunctionObject *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 168245430 times by 154 tests: return dptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
dptr;
executed 168245430 times by 154 tests: return dptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} static_assert(bool(std::is_trivial< QV4::Heap::FunctionObject >::value), "std::is_trivial< QV4::Heap::FunctionObject >::value");
0-202037829
123 public: enum { MyType = Type_FunctionObject };-
124 static Heap::InternalClass *defaultInternalClass(QV4::EngineBase *e) { return
executed 37769959 times by 154 tests: return e->internalClasses(QV4::EngineBase::Class_FunctionObject);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
e->internalClasses(QV4::EngineBase::Class_FunctionObject);
executed 37769959 times by 154 tests: return e->internalClasses(QV4::EngineBase::Class_FunctionObject);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
}
37769959
125 static QV4::Object *defaultPrototype(QV4::ExecutionEngine *e) { return
executed 39311498 times by 154 tests: return e->functionPrototype();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
e->functionPrototype();
executed 39311498 times by 154 tests: return e->functionPrototype();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
}
39311498
126 static void virtualDestroy(QV4::Heap::Base *b) { static_cast<Data *>(b)->destroy(); }
never executed: end of block
0
127 enum { NInlineProperties = 1 };-
128-
129 Heap::ExecutionContext *scope() const { return
executed 15910012 times by 154 tests: return d()->scope;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
d()->scope;
executed 15910012 times by 154 tests: return d()->scope;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
}
15910012
130 Function *function() const { return
executed 15022628 times by 60 tests: return d()->function;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • ...
d()->function;
executed 15022628 times by 60 tests: return d()->function;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • ...
}
15022628
131-
132 ReturnedValue name() const;-
133 unsigned int formalParameterCount() const { return
executed 5764 times by 34 tests: return d()->formalParameterCount();
Executed by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
d()->formalParameterCount();
executed 5764 times by 34 tests: return d()->formalParameterCount();
Executed by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
}
5764
134 unsigned int varCount() const { return
never executed: return d()->varCount();
d()->varCount();
never executed: return d()->varCount();
}
0
135-
136 void setName(String *name) {-
137 defineReadonlyConfigurableProperty(engine()->id_name(), *name);-
138 }
executed 38967115 times by 154 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
38967115
139 void createDefaultPrototypeProperty(uint protoSlot, uint protoConstructorSlot);-
140-
141 inline ReturnedValue callAsConstructor(const JSCallData &data) const;-
142 ReturnedValue callAsConstructor(const Value *argv, int argc, const Value *newTarget = nullptr) const {-
143 return
executed 117811 times by 18 tests: return d()->jsConstruct(this, argv, argc, newTarget ? newTarget : this);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
d()->jsConstruct(this, argv, argc, newTarget ? newTarget : this);
executed 117811 times by 18 tests: return d()->jsConstruct(this, argv, argc, newTarget ? newTarget : this);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
117811
144 }-
145 inline ReturnedValue call(const JSCallData &data) const;-
146 ReturnedValue call(const Value *thisObject, const Value *argv, int argc) const {-
147 return
executed 57429125 times by 87 tests: return d()->jsCall(this, thisObject, argv, argc);
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
d()->jsCall(this, thisObject, argv, argc);
executed 57429125 times by 87 tests: return d()->jsCall(this, thisObject, argv, argc);
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
57429125
148 }-
149 static ReturnedValue virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *);-
150 static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc);-
151-
152 static Heap::FunctionObject *createScriptFunction(ExecutionContext *scope, Function *function);-
153 static Heap::FunctionObject *createConstructorFunction(ExecutionContext *scope, Function *function, bool isDerivedConstructor);-
154 static Heap::FunctionObject *createMemberFunction(ExecutionContext *scope, Function *function);-
155 static Heap::FunctionObject *createBuiltinFunction(ExecutionEngine *engine, StringOrSymbol *nameOrSymbol, VTable::Call code, int argumentCount);-
156-
157 bool strictMode() const { return
never executed: return d()->function ? d()->function->isStrict() : false;
d()->function ? d()->function->isStrict() : false;
never executed: return d()->function ? d()->function->isStrict() : false;
}
0
158 bool isBinding() const;-
159 bool isBoundFunction() const;-
160-
161 QQmlSourceLocation sourceLocation() const;-
162};-
163-
164template<>-
165inline const FunctionObject *Value::as() const {-
166 return
executed 12476520 times by 154 tests: return isManaged() && m()->internalClass->vtable->isFunctionObject ? reinterpret_cast<const FunctionObject *>(this) : nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
isManaged() && m()->internalClass->vtable->isFunctionObject ? reinterpret_cast<const FunctionObject *>(this) : nullptr;
executed 12476520 times by 154 tests: return isManaged() && m()->internalClass->vtable->isFunctionObject ? reinterpret_cast<const FunctionObject *>(this) : nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
12476520
167}-
168-
169-
170struct FunctionCtor: FunctionObject-
171{-
172 private: FunctionCtor() = delete; FunctionCtor(const FunctionCtor &) = delete; FunctionCtor &operator=(const FunctionCtor &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; }
never executed: end of block
typedef QV4::Heap::FunctionCtor Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 296941 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
&static_vtbl;
executed 296941 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::FunctionCtor *d_unchecked() const { return
executed 197825 times by 154 tests: return static_cast<QV4::Heap::FunctionCtor *>(m());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
static_cast<QV4::Heap::FunctionCtor *>(m());
executed 197825 times by 154 tests: return static_cast<QV4::Heap::FunctionCtor *>(m());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} QV4::Heap::FunctionCtor *d() const { QV4::Heap::FunctionCtor *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 99044 times by 154 tests: return dptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
dptr;
executed 99044 times by 154 tests: return dptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} static_assert(bool(std::is_trivial< QV4::Heap::FunctionCtor >::value), "std::is_trivial< QV4::Heap::FunctionCtor >::value");
0-296941
173-
174 static ReturnedValue virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *);-
175 static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc);-
176protected:-
177 enum Type {-
178 Type_Function,-
179 Type_Generator-
180 };-
181 static QQmlRefPointer<CompiledData::CompilationUnit> parse(ExecutionEngine *engine, const Value *argv, int argc, Type t = Type_Function);-
182};-
183-
184struct FunctionPrototype: FunctionObject-
185{-
186 private: FunctionPrototype() = delete; FunctionPrototype(const FunctionPrototype &) = delete; FunctionPrototype &operator=(const FunctionPrototype &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; }
never executed: end of block
typedef QV4::Heap::FunctionPrototype Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 296938 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
&static_vtbl;
executed 296938 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::FunctionPrototype *d_unchecked() const { return
never executed: return static_cast<QV4::Heap::FunctionPrototype *>(m());
static_cast<QV4::Heap::FunctionPrototype *>(m());
never executed: return static_cast<QV4::Heap::FunctionPrototype *>(m());
} QV4::Heap::FunctionPrototype *d() const { QV4::Heap::FunctionPrototype *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
never executed: return dptr;
dptr;
never executed: return dptr;
} static_assert(bool(std::is_trivial< QV4::Heap::FunctionPrototype >::value), "std::is_trivial< QV4::Heap::FunctionPrototype >::value");
0-296938
187-
188 void init(ExecutionEngine *engine, Object *ctor);-
189-
190 static ReturnedValue method_toString(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
191 static ReturnedValue method_apply(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
192 static ReturnedValue method_call(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
193 static ReturnedValue method_bind(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
194 static ReturnedValue method_hasInstance(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
195};-
196-
197struct IndexedBuiltinFunction : FunctionObject-
198{-
199 private: IndexedBuiltinFunction() = delete; IndexedBuiltinFunction(const IndexedBuiltinFunction &) = delete; IndexedBuiltinFunction &operator=(const IndexedBuiltinFunction &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; }
never executed: end of block
typedef QV4::Heap::IndexedBuiltinFunction Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 5616 times by 2 tests: return &static_vtbl;
Executed by:
  • tst_examples
  • tst_qquickvisualdatamodel
&static_vtbl;
executed 5616 times by 2 tests: return &static_vtbl;
Executed by:
  • tst_examples
  • tst_qquickvisualdatamodel
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::IndexedBuiltinFunction *d_unchecked() const { return
executed 6364 times by 2 tests: return static_cast<QV4::Heap::IndexedBuiltinFunction *>(m());
Executed by:
  • tst_examples
  • tst_qquickvisualdatamodel
static_cast<QV4::Heap::IndexedBuiltinFunction *>(m());
executed 6364 times by 2 tests: return static_cast<QV4::Heap::IndexedBuiltinFunction *>(m());
Executed by:
  • tst_examples
  • tst_qquickvisualdatamodel
} QV4::Heap::IndexedBuiltinFunction *d() const { QV4::Heap::IndexedBuiltinFunction *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 4492 times by 2 tests: return dptr;
Executed by:
  • tst_examples
  • tst_qquickvisualdatamodel
dptr;
executed 4492 times by 2 tests: return dptr;
Executed by:
  • tst_examples
  • tst_qquickvisualdatamodel
} static_assert(bool(std::is_trivial< QV4::Heap::IndexedBuiltinFunction >::value), "std::is_trivial< QV4::Heap::IndexedBuiltinFunction >::value");
0-6364
200};-
201-
202void Heap::IndexedBuiltinFunction::init(QV4::ExecutionContext *scope, uint index,-
203 ReturnedValue (*code)(const QV4::FunctionObject *, const Value *thisObject, const Value *argv, int argc))-
204{-
205 Heap::FunctionObject::init(scope);-
206 this->jsCall = code;-
207 this->index = index;-
208}
executed 1872 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickvisualdatamodel
1872
209-
210-
211struct ScriptFunction : FunctionObject {-
212 private: ScriptFunction() = delete; ScriptFunction(const ScriptFunction &) = delete; ScriptFunction &operator=(const ScriptFunction &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; }
never executed: end of block
typedef QV4::Heap::ScriptFunction Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 4620740 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
&static_vtbl;
executed 4620740 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::ScriptFunction *d_unchecked() const { return
executed 3077016 times by 62 tests: return static_cast<QV4::Heap::ScriptFunction *>(m());
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
static_cast<QV4::Heap::ScriptFunction *>(m());
executed 3077016 times by 62 tests: return static_cast<QV4::Heap::ScriptFunction *>(m());
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
} QV4::Heap::ScriptFunction *d() const { QV4::Heap::ScriptFunction *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 1569928 times by 62 tests: return dptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
dptr;
executed 1569928 times by 62 tests: return dptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
} static_assert(bool(std::is_trivial< QV4::Heap::ScriptFunction >::value), "std::is_trivial< QV4::Heap::ScriptFunction >::value");
0-4620740
213 static Heap::InternalClass *defaultInternalClass(QV4::EngineBase *e) { return
executed 1509217 times by 62 tests: return e->internalClasses(QV4::EngineBase::Class_ScriptFunction);
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
e->internalClasses(QV4::EngineBase::Class_ScriptFunction);
executed 1509217 times by 62 tests: return e->internalClasses(QV4::EngineBase::Class_ScriptFunction);
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
}
1509217
214 enum { NInlineProperties = 3 };-
215-
216 static ReturnedValue virtualCallAsConstructor(const FunctionObject *, const Value *argv, int argc, const Value *);-
217 static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc);-
218-
219 Heap::InternalClass *classForConstructor() const;-
220};-
221-
222struct ConstructorFunction : ScriptFunction {-
223 private: ConstructorFunction() = delete; ConstructorFunction(const ConstructorFunction &) = delete; ConstructorFunction &operator=(const ConstructorFunction &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; }
never executed: end of block
typedef QV4::Heap::ConstructorFunction Data; typedef ScriptFunction SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 101054 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
&static_vtbl;
executed 101054 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::ConstructorFunction *d_unchecked() const { return
executed 1918 times by 1 test: return static_cast<QV4::Heap::ConstructorFunction *>(m());
Executed by:
  • tst_ecmascripttests
static_cast<QV4::Heap::ConstructorFunction *>(m());
executed 1918 times by 1 test: return static_cast<QV4::Heap::ConstructorFunction *>(m());
Executed by:
  • tst_ecmascripttests
} QV4::Heap::ConstructorFunction *d() const { QV4::Heap::ConstructorFunction *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 1259 times by 1 test: return dptr;
Executed by:
  • tst_ecmascripttests
dptr;
executed 1259 times by 1 test: return dptr;
Executed by:
  • tst_ecmascripttests
} static_assert(bool(std::is_trivial< QV4::Heap::ConstructorFunction >::value), "std::is_trivial< QV4::Heap::ConstructorFunction >::value");
0-101054
224 static Heap::InternalClass *defaultInternalClass(QV4::EngineBase *e) { return
executed 660 times by 1 test: return e->internalClasses(QV4::EngineBase::Class_ConstructorFunction);
Executed by:
  • tst_ecmascripttests
e->internalClasses(QV4::EngineBase::Class_ConstructorFunction);
executed 660 times by 1 test: return e->internalClasses(QV4::EngineBase::Class_ConstructorFunction);
Executed by:
  • tst_ecmascripttests
}
660
225 static ReturnedValue virtualCallAsConstructor(const FunctionObject *, const Value *argv, int argc, const Value *);-
226 static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc);-
227};-
228-
229struct MemberFunction : ScriptFunction {-
230 private: MemberFunction() = delete; MemberFunction(const MemberFunction &) = delete; MemberFunction &operator=(const MemberFunction &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; }
never executed: end of block
typedef QV4::Heap::MemberFunction Data; typedef ScriptFunction SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 113220 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
&static_vtbl;
executed 113220 times by 154 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::MemberFunction *d_unchecked() const { return
executed 9452 times by 1 test: return static_cast<QV4::Heap::MemberFunction *>(m());
Executed by:
  • tst_ecmascripttests
static_cast<QV4::Heap::MemberFunction *>(m());
executed 9452 times by 1 test: return static_cast<QV4::Heap::MemberFunction *>(m());
Executed by:
  • tst_ecmascripttests
} QV4::Heap::MemberFunction *d() const { QV4::Heap::MemberFunction *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 4745 times by 1 test: return dptr;
Executed by:
  • tst_ecmascripttests
dptr;
executed 4745 times by 1 test: return dptr;
Executed by:
  • tst_ecmascripttests
} static_assert(bool(std::is_trivial< QV4::Heap::MemberFunction >::value), "std::is_trivial< QV4::Heap::MemberFunction >::value");
0-113220
231 static Heap::InternalClass *defaultInternalClass(QV4::EngineBase *e) { return
executed 4732 times by 1 test: return e->internalClasses(QV4::EngineBase::Class_MemberFunction);
Executed by:
  • tst_ecmascripttests
e->internalClasses(QV4::EngineBase::Class_MemberFunction);
executed 4732 times by 1 test: return e->internalClasses(QV4::EngineBase::Class_MemberFunction);
Executed by:
  • tst_ecmascripttests
}
4732
232 static ReturnedValue virtualCallAsConstructor(const FunctionObject *, const Value *argv, int argc, const Value *);-
233};-
234-
235-
236struct DefaultClassConstructorFunction : FunctionObject {-
237 private: DefaultClassConstructorFunction() = delete; DefaultClassConstructorFunction(const DefaultClassConstructorFunction &) = delete; DefaultClassConstructorFunction &operator=(const DefaultClassConstructorFunction &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; }
never executed: end of block
typedef QV4::Heap::DefaultClassConstructorFunction Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 25054 times by 1 test: return &static_vtbl;
Executed by:
  • tst_ecmascripttests
&static_vtbl;
executed 25054 times by 1 test: return &static_vtbl;
Executed by:
  • tst_ecmascripttests
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::DefaultClassConstructorFunction *d_unchecked() const { return
executed 19848 times by 1 test: return static_cast<QV4::Heap::DefaultClassConstructorFunction *>(m());
Executed by:
  • tst_ecmascripttests
static_cast<QV4::Heap::DefaultClassConstructorFunction *>(m());
executed 19848 times by 1 test: return static_cast<QV4::Heap::DefaultClassConstructorFunction *>(m());
Executed by:
  • tst_ecmascripttests
} QV4::Heap::DefaultClassConstructorFunction *d() const { QV4::Heap::DefaultClassConstructorFunction *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 11498 times by 1 test: return dptr;
Executed by:
  • tst_ecmascripttests
dptr;
executed 11498 times by 1 test: return dptr;
Executed by:
  • tst_ecmascripttests
} static_assert(bool(std::is_trivial< QV4::Heap::DefaultClassConstructorFunction >::value), "std::is_trivial< QV4::Heap::DefaultClassConstructorFunction >::value");
0-25054
238 static ReturnedValue virtualCallAsConstructor(const FunctionObject *, const Value *argv, int argc, const Value *);-
239 static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc);-
240};-
241-
242struct BoundFunction: FunctionObject {-
243 private: BoundFunction() = delete; BoundFunction(const BoundFunction &) = delete; BoundFunction &operator=(const BoundFunction &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; }
never executed: end of block
typedef QV4::Heap::BoundFunction Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 4306107 times by 17 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickworkerscript
&static_vtbl;
executed 4306107 times by 17 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickworkerscript
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::BoundFunction *d_unchecked() const { return
executed 1980 times by 3 tests: return static_cast<QV4::Heap::BoundFunction *>(m());
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
static_cast<QV4::Heap::BoundFunction *>(m());
executed 1980 times by 3 tests: return static_cast<QV4::Heap::BoundFunction *>(m());
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
} QV4::Heap::BoundFunction *d() const { QV4::Heap::BoundFunction *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 1409 times by 3 tests: return dptr;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
dptr;
executed 1409 times by 3 tests: return dptr;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
} static_assert(bool(std::is_trivial< QV4::Heap::BoundFunction >::value), "std::is_trivial< QV4::Heap::BoundFunction >::value");
0-4306107
244-
245 static Heap::BoundFunction *create(ExecutionContext *scope, FunctionObject *target, const Value &boundThis, QV4::MemberData *boundArgs)-
246 {-
247 return
executed 575 times by 3 tests: return scope->engine()->memoryManager->allocate<BoundFunction>(scope, target, boundThis, boundArgs);
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
scope->engine()->memoryManager->allocate<BoundFunction>(scope, target, boundThis, boundArgs);
executed 575 times by 3 tests: return scope->engine()->memoryManager->allocate<BoundFunction>(scope, target, boundThis, boundArgs);
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
575
248 }-
249-
250 Heap::FunctionObject *target() const { return
executed 310 times by 2 tests: return d()->target;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
d()->target;
executed 310 times by 2 tests: return d()->target;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
}
310
251 Value boundThis() const { return
executed 207 times by 2 tests: return d()->boundThis;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
d()->boundThis;
executed 207 times by 2 tests: return d()->boundThis;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
}
207
252 Heap::MemberData *boundArgs() const { return
executed 309 times by 3 tests: return d()->boundArgs;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
d()->boundArgs;
executed 309 times by 3 tests: return d()->boundArgs;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
}
309
253-
254 static ReturnedValue virtualCallAsConstructor(const FunctionObject *, const Value *argv, int argc, const Value *);-
255 static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc);-
256};-
257-
258}-
259-
260-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0