aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4instr_moth.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-08-24 16:33:27 +0200
committerLars Knoll <lars.knoll@qt.io>2017-08-28 13:19:09 +0000
commit41a4e387222a117e1cb47c119858c69e0d193e4f (patch)
treee905125c51543fd10608a088e56dc17a61ed1eb5 /src/qml/compiler/qv4instr_moth.cpp
parent2951f6105ad3851b38fa66348a4edd3fe7cfa47e (diff)
Compress all non jump instructions
Change-Id: I90daee5388f5aba5a5c1cd643379adc9a8e05039 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4instr_moth.cpp')
-rw-r--r--src/qml/compiler/qv4instr_moth.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4instr_moth.cpp b/src/qml/compiler/qv4instr_moth.cpp
index 2716bed5ad..8f639453bd 100644
--- a/src/qml/compiler/qv4instr_moth.cpp
+++ b/src/qml/compiler/qv4instr_moth.cpp
@@ -107,6 +107,11 @@ QT_BEGIN_NAMESPACE
namespace QV4 {
namespace Moth {
+const int Instr::argumentCount[] = {
+ FOR_EACH_MOTH_INSTR(MOTH_COLLECT_NARGS)
+};
+
+
void dumpConstantTable(const Value *constants, uint count)
{
QDebug d = qDebug();