diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-08-09 13:02:26 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-08-10 08:19:44 +0000 |
commit | 25c5e356353aab15dbf144391a455811c160c3e4 (patch) | |
tree | fde3f9dd9e16ee941564bb268f9ab62bed6017f0 /src/qml/compiler/qv4instr_moth_p.h | |
parent | 5fa0bd1f0323bd8c031224e22d52027e38ea9702 (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_p.h')
-rw-r--r-- | src/qml/compiler/qv4instr_moth_p.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/qml/compiler/qv4instr_moth_p.h b/src/qml/compiler/qv4instr_moth_p.h index 52d0497926..d840cda090 100644 --- a/src/qml/compiler/qv4instr_moth_p.h +++ b/src/qml/compiler/qv4instr_moth_p.h @@ -85,7 +85,8 @@ QT_BEGIN_NAMESPACE F(LoadClosure, loadClosure) \ F(LoadName, loadName) \ F(GetGlobalLookup, getGlobalLookup) \ - F(StoreName, storeName) \ + F(StoreNameSloppy, storeNameSloppy) \ + F(StoreNameStrict, storeNameStrict) \ F(LoadElement, loadElement) \ F(LoadElementA, loadElementA) \ F(StoreElement, storeElement) \ @@ -322,7 +323,11 @@ union Instr MOTH_INSTR_HEADER int index; }; - struct instr_storeName { + struct instr_storeNameSloppy { + MOTH_INSTR_HEADER + int name; + }; + struct instr_storeNameStrict { MOTH_INSTR_HEADER int name; }; @@ -706,7 +711,8 @@ union Instr instr_loadClosure loadClosure; instr_loadName loadName; instr_getGlobalLookup getGlobalLookup; - instr_storeName storeName; + instr_storeNameSloppy storeNameSloppy; + instr_storeNameStrict storeNameStrict; instr_loadElement loadElement; instr_loadElementA loadElementA; instr_storeElement storeElement; |