From 25c5e356353aab15dbf144391a455811c160c3e4 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 9 Aug 2017 13:02:26 +0200 Subject: Split StoreName into StoreNameStrict and StoreNameSloppy And adjust the name of the corresponding runtime functions. Change-Id: I4adf7b0e069d9b0dff9162cd1271dafc60be854b Reviewed-by: Simon Hausmann --- src/qml/compiler/qv4instr_moth_p.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/qml/compiler/qv4instr_moth_p.h') 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; -- cgit v1.2.3