aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4instr_moth.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-08-09 13:02:26 +0200
committerLars Knoll <lars.knoll@qt.io>2017-08-10 08:19:44 +0000
commit25c5e356353aab15dbf144391a455811c160c3e4 (patch)
treefde3f9dd9e16ee941564bb268f9ab62bed6017f0 /src/qml/compiler/qv4instr_moth.cpp
parent5fa0bd1f0323bd8c031224e22d52027e38ea9702 (diff)
Split StoreName into StoreNameStrict and StoreNameSloppy
And adjust the name of the corresponding runtime functions. Change-Id: I4adf7b0e069d9b0dff9162cd1271dafc60be854b 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.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4instr_moth.cpp b/src/qml/compiler/qv4instr_moth.cpp
index db68c2d76f..52f2190959 100644
--- a/src/qml/compiler/qv4instr_moth.cpp
+++ b/src/qml/compiler/qv4instr_moth.cpp
@@ -173,9 +173,13 @@ void dumpBytecode(const char *code, int len, int nFormals)
d << instr.index;
MOTH_END_INSTR(GetGlobalLookup)
- MOTH_BEGIN_INSTR(StoreName)
+ MOTH_BEGIN_INSTR(StoreNameSloppy)
d << instr.name;
- MOTH_END_INSTR(StoreName)
+ MOTH_END_INSTR(StoreNameSloppy)
+
+ MOTH_BEGIN_INSTR(StoreNameStrict)
+ d << instr.name;
+ MOTH_END_INSTR(StoreNameStrict)
MOTH_BEGIN_INSTR(LoadElement)
d << instr.base.dump(nFormals) << "[" << instr.index.dump(nFormals) << "]";