diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2016-01-22 15:31:11 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2016-01-22 14:43:07 +0000 |
commit | 2fb5c2342b96115ba87e244b3683501b641c25f3 (patch) | |
tree | ad3ac797bf90dacd0867416debe4cf1e87aa0a67 /src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp | |
parent | 60d27c228e6e17ed782ca0a4202768ffe2e46740 (diff) |
Remove some dead code.
Change-Id: I511252cee0b6420670af839796b2e35915c35e50
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp')
-rw-r--r-- | src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp b/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp index f85c7f704d..96f60b24bb 100644 --- a/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp +++ b/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp @@ -55,9 +55,6 @@ QT_BEGIN_NAMESPACE -const QV4DataCollector::Ref QV4DataCollector::s_invalidRef = - std::numeric_limits<QV4DataCollector::Ref>::max(); - QV4::CallContext *QV4DataCollector::findContext(int frame) { QV4::ExecutionContext *ctx = engine()->currentContext; @@ -108,17 +105,13 @@ int QV4DataCollector::encodeScopeType(QV4::Heap::ExecutionContext::ContextType s switch (scopeType) { case QV4::Heap::ExecutionContext::Type_GlobalContext: return 0; - break; case QV4::Heap::ExecutionContext::Type_CatchContext: return 4; - break; case QV4::Heap::ExecutionContext::Type_WithContext: return 2; - break; case QV4::Heap::ExecutionContext::Type_SimpleCallContext: case QV4::Heap::ExecutionContext::Type_CallContext: return 1; - break; case QV4::Heap::ExecutionContext::Type_QmlContext: default: return -1; |