From 1b30e8f94cc15352583e8e1f27139676683f62af Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 20 Mar 2018 22:40:07 +0100 Subject: Implement support for the ** and **= operators Change-Id: I58a21e70fdd040175b52465d6ba52e7fceaf6398 Reviewed-by: Simon Hausmann --- src/qml/compiler/qv4instr_moth.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/qml/compiler/qv4instr_moth.cpp') diff --git a/src/qml/compiler/qv4instr_moth.cpp b/src/qml/compiler/qv4instr_moth.cpp index dbdef418a0..c50e9c8379 100644 --- a/src/qml/compiler/qv4instr_moth.cpp +++ b/src/qml/compiler/qv4instr_moth.cpp @@ -608,6 +608,10 @@ void dumpBytecode(const char *code, int len, int nLocals, int nFormals, int /*st d << "acc, " << rhs; MOTH_END_INSTR(ShlConst) + MOTH_BEGIN_INSTR(Exp) + d << dumpRegister(lhs, nFormals) << ", acc"; + MOTH_END_INSTR(Exp) + MOTH_BEGIN_INSTR(Mul) d << dumpRegister(lhs, nFormals) << ", acc"; MOTH_END_INSTR(Mul) -- cgit v1.2.3