From 42ffe9b193a5bd958b0853233fd0d94170722bd1 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 22 May 2015 12:31:44 +0200 Subject: Don't MOTH_END_INSTR(Debug) after beginning a Line This probably works because Debug and Line have the same internal structure, but obviously it's fragile. Change-Id: Ia27a769fa560726cec1ab73dee96f7c1e6812db0 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4vme_moth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4vme_moth.cpp') diff --git a/src/qml/jsruntime/qv4vme_moth.cpp b/src/qml/jsruntime/qv4vme_moth.cpp index 83f4264663..761e377f75 100644 --- a/src/qml/jsruntime/qv4vme_moth.cpp +++ b/src/qml/jsruntime/qv4vme_moth.cpp @@ -859,7 +859,7 @@ QV4::ReturnedValue VME::run(ExecutionEngine *engine, const uchar *code engine->currentContext()->lineNumber = instr.lineNumber; if (qt_v4IsDebugging) qt_v4CheckForBreak(context, scopes, scopeDepth); - MOTH_END_INSTR(Debug) + MOTH_END_INSTR(Line) MOTH_BEGIN_INSTR(LoadThis) VALUE(instr.result) = context->thisObject(); -- cgit v1.2.3