aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4jsir_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@me.com>2013-09-26 14:49:44 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-30 11:28:55 +0200
commit7c3f891c454971ed0150e66c2261e6e5c36664a3 (patch)
tree067a59085a30ddf7ade38dd1cad078033a886486 /src/qml/compiler/qv4jsir_p.h
parent9194779ef37187b1b38d73099747459f9f5e745c (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/qv4jsir_p.h')
-rw-r--r--src/qml/compiler/qv4jsir_p.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qml/compiler/qv4jsir_p.h b/src/qml/compiler/qv4jsir_p.h
index 67168ef951..f28c47a61a 100644
--- a/src/qml/compiler/qv4jsir_p.h
+++ b/src/qml/compiler/qv4jsir_p.h
@@ -577,14 +577,12 @@ struct Exp: Stmt {
struct Move: Stmt {
Expr *target; // LHS - Temp, Name, Member or Subscript
Expr *source;
- AluOp op;
bool swap;
- void init(Expr *target, Expr *source, AluOp op)
+ void init(Expr *target, Expr *source)
{
this->target = target;
this->source = source;
- this->op = op;
this->swap = false;
}
@@ -826,7 +824,7 @@ struct BasicBlock {
Stmt *EXP(Expr *expr);
- Stmt *MOVE(Expr *target, Expr *source, AluOp op = V4IR::OpInvalid);
+ Stmt *MOVE(Expr *target, Expr *source);
Stmt *JUMP(BasicBlock *target);
Stmt *CJUMP(Expr *cond, BasicBlock *iftrue, BasicBlock *iffalse);