aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4vme_moth.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-05-22 12:31:44 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-05-22 13:10:13 +0000
commit42ffe9b193a5bd958b0853233fd0d94170722bd1 (patch)
tree3202fc97da5e5433f13ee5d67cee8012375fbb00 /src/qml/jsruntime/qv4vme_moth.cpp
parentc2b257337b962d16bb6e017ed1c82ec4f04ef974 (diff)
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 <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4vme_moth.cpp')
-rw-r--r--src/qml/jsruntime/qv4vme_moth.cpp2
1 files changed, 1 insertions, 1 deletions
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();