aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index 63c57b8478..7598bfb65a 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -61,6 +61,9 @@ namespace QV4 {
namespace Debugging {
class Debugger;
} // namespace Debugging
+namespace Profiling {
+class Profiler;
+} // namespace Profiling
namespace CompiledData {
struct CompilationUnit;
}
@@ -169,6 +172,7 @@ public:
IdentifierTable *identifierTable;
QV4::Debugging::Debugger *debugger;
+ QV4::Profiling::Profiler *profiler;
Object *globalObject;
@@ -291,6 +295,7 @@ public:
~ExecutionEngine();
void enableDebugger();
+ void enableProfiler();
ExecutionContext *pushGlobalContext();
void pushContext(CallContext *context);