aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4vme_moth.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-06-06 14:22:38 +0200
committerLars Knoll <lars.knoll@qt.io>2018-06-21 19:43:20 +0000
commit5454b37f308e78e240ac19947121fae344cda606 (patch)
tree0ae53cb9914fcee7bdf9d1fdfc13fcbb92e95bce /src/qml/jsruntime/qv4vme_moth.cpp
parent0363f0f4f8870db20c630cd2af94e0b05255d036 (diff)
Get rid of the unused JumpEmpty instruction
Change-Id: I117687939e0f02d801dbad8de7761b4c799f2035 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4vme_moth.cpp')
-rw-r--r--src/qml/jsruntime/qv4vme_moth.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4vme_moth.cpp b/src/qml/jsruntime/qv4vme_moth.cpp
index 165902ed36..a5d114dd78 100644
--- a/src/qml/jsruntime/qv4vme_moth.cpp
+++ b/src/qml/jsruntime/qv4vme_moth.cpp
@@ -1127,11 +1127,6 @@ QV4::ReturnedValue VME::interpret(CppStackFrame &frame, const char *code)
code += offset;
MOTH_END_INSTR(JumpNotUndefined)
- MOTH_BEGIN_INSTR(JumpEmpty)
- if (Q_UNLIKELY(acc == QV4::Primitive::emptyValue().asReturnedValue()))
- code += offset;
- MOTH_END_INSTR(JumpEmpty)
-
MOTH_BEGIN_INSTR(CmpEqNull)
acc = Encode(ACC.isNullOrUndefined());
MOTH_END_INSTR(CmpEqNull)