aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-10-20 10:09:01 +0200
committerLars Knoll <lars.knoll@qt.io>2017-11-07 07:24:29 +0000
commit07980a034609383e79132c9819b682c88d343a95 (patch)
treec9ca269529da5ab1009ca3a7de7765e336f094e0 /src/plugins
parent9ac383f8a5c33b1dba2e5226ebe8d540fcf2cb34 (diff)
Get rid of the unusued canUseSimpleCall flag
Change-Id: I5230342db4647bd95793475f751213f0725d6965 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp b/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp
index b4216663ac..a538956e8e 100644
--- a/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp
+++ b/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp
@@ -262,15 +262,6 @@ bool QV4DataCollector::collectScope(QJsonObject *dict, int frameNr, int scopeNr)
QStringList names;
QV4::Scope scope(engine());
- QV4::CppStackFrame *frame = findFrame(frameNr);
- if (frame->v4Function->canUseSimpleCall) {
- if (!scopeNr) {
- // ### collect locals from the stack frame
- } else {
- // the current call context is actually the parent's context
- --scopeNr;
- }
- }
QV4::Scoped<QV4::CallContext> ctxt(scope, findScope(findContext(frameNr), scopeNr));
if (!ctxt)