diff options
author | Erik Verbruggen <erik.verbruggen@me.com> | 2013-09-26 14:49:44 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-30 11:28:55 +0200 |
commit | 7c3f891c454971ed0150e66c2261e6e5c36664a3 (patch) | |
tree | 067a59085a30ddf7ade38dd1cad078033a886486 /src/qml/compiler/qv4instr_moth_p.h | |
parent | 9194779ef37187b1b38d73099747459f9f5e745c (diff) |
V4: remove inplace operations
Inplace operations are expanded when building the IR, so the neither the
IR, nor the instruction selection backends or runtime need to handle
them.
Change-Id: Id01f9544e137dd52364cf2ed2c10931c31ddfff3
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4instr_moth_p.h')
-rw-r--r-- | src/qml/compiler/qv4instr_moth_p.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/qml/compiler/qv4instr_moth_p.h b/src/qml/compiler/qv4instr_moth_p.h index af1ca0ae76..100b6f65a6 100644 --- a/src/qml/compiler/qv4instr_moth_p.h +++ b/src/qml/compiler/qv4instr_moth_p.h @@ -99,10 +99,7 @@ QT_BEGIN_NAMESPACE F(AddNumberParams, addNumberParams) \ F(MulNumberParams, mulNumberParams) \ F(SubNumberParams, subNumberParams) \ - F(LoadThis, loadThis) \ - F(InplaceElementOp, inplaceElementOp) \ - F(InplaceMemberOp, inplaceMemberOp) \ - F(InplaceNameOp, inplaceNameOp) + F(LoadThis, loadThis) #if defined(Q_CC_GNU) && (!defined(Q_CC_INTEL) || __INTEL_COMPILER >= 1200) # define MOTH_THREADED_INTERPRETER @@ -484,26 +481,6 @@ union Instr MOTH_INSTR_HEADER Param result; }; - struct instr_inplaceElementOp { - MOTH_INSTR_HEADER - QV4::InplaceBinOpElement alu; - Param base; - Param index; - Param source; - }; - struct instr_inplaceMemberOp { - MOTH_INSTR_HEADER - QV4::InplaceBinOpMember alu; - int member; - Param base; - Param source; - }; - struct instr_inplaceNameOp { - MOTH_INSTR_HEADER - QV4::InplaceBinOpName alu; - int name; - Param source; - }; instr_common common; instr_ret ret; @@ -556,9 +533,6 @@ union Instr instr_mulNumberParams mulNumberParams; instr_subNumberParams subNumberParams; instr_loadThis loadThis; - instr_inplaceElementOp inplaceElementOp; - instr_inplaceMemberOp inplaceMemberOp; - instr_inplaceNameOp inplaceNameOp; static int size(Type type); }; |