aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-01-20 13:57:16 +0100
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2016-01-21 14:49:43 +0000
commitce093497f2d4164fa8abc06cf976f9e36798e11e (patch)
tree98c3926f5a64b4bf8f8b3838b6fbcde8ad9152c7 /src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
parentebb08ee84e8141042ed16dfc5892697ef96077c4 (diff)
Clean up QV4DataCollector
We don't need to pass engines around as the data collector already has all the necessary information. Also, the exception collect job is only used in the test case, so we don't need to define it in the collector. Change-Id: I9e9f092a10295e3dc970f7b5f440e8f242ea1d54 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h')
-rw-r--r--src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h b/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
index 1c3a05960c..aea03d2257 100644
--- a/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
+++ b/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
@@ -56,12 +56,12 @@ public:
typedef QVector<uint> Refs;
static const Ref s_invalidRef;
- static QV4::CallContext *findContext(QV4::ExecutionEngine *engine, int frame);
static QV4::Heap::CallContext *findScope(QV4::ExecutionContext *ctxt, int scope);
- static QVector<QV4::Heap::ExecutionContext::ContextType> getScopeTypes(
- QV4::ExecutionEngine *engine, int frame);
static int encodeScopeType(QV4::Heap::ExecutionContext::ContextType scopeType);
+ QVector<QV4::Heap::ExecutionContext::ContextType> getScopeTypes(int frame);
+ QV4::CallContext *findContext(int frame);
+
QV4DataCollector(QV4::ExecutionEngine *engine);
Ref collect(const QV4::ScopedValue &value);