aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/v4/main.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/v4/main.cpp b/tools/v4/main.cpp
index cc1dc71b60..558055e677 100644
--- a/tools/v4/main.cpp
+++ b/tools/v4/main.cpp
@@ -43,7 +43,6 @@
# include "private/qv4_llvm_p.h"
#endif // QMLJS_WITH_LLVM
-#include "private/qv4debugging_p.h"
#include "private/qv4object_p.h"
#include "private/qv4runtime_p.h"
#include "private/qv4functionobject_p.h"
@@ -287,17 +286,9 @@ int main(int argc, char *argv[])
#ifdef QMLJS_WITH_LLVM
QQmlJS::LLVMOutputType fileType = QQmlJS::LLVMOutputObject;
#endif // QMLJS_WITH_LLVM
- bool enableDebugging = false;
bool runAsQml = false;
if (!args.isEmpty()) {
- if (args.first() == QLatin1String("-d") || args.first() == QLatin1String("--debug")) {
- enableDebugging = true;
- args.removeFirst();
- }
- }
-
- if (!args.isEmpty()) {
if (args.first() == QLatin1String("--jit")) {
mode = use_masm;
args.removeFirst();
@@ -375,11 +366,6 @@ int main(int argc, char *argv[])
QV4::ExecutionEngine vm(iSelFactory);
- QScopedPointer<QQmlJS::Debugging::Debugger> debugger;
- if (enableDebugging)
- debugger.reset(new QQmlJS::Debugging::Debugger(&vm));
- vm.debugger = debugger.data();
-
QV4::ExecutionContext *ctx = vm.rootContext;
QV4::Object *globalObject = vm.globalObject;