aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4jsir.cpp
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.cpp
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.cpp')
-rw-r--r--src/qml/compiler/qv4jsir.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qml/compiler/qv4jsir.cpp b/src/qml/compiler/qv4jsir.cpp
index 69771837fe..756c076abf 100644
--- a/src/qml/compiler/qv4jsir.cpp
+++ b/src/qml/compiler/qv4jsir.cpp
@@ -546,8 +546,6 @@ void Move::dump(QTextStream &out, Mode mode)
target->dump(out);
out << ' ';
- if (op != OpInvalid)
- out << opname(op);
if (swap)
out << "<=> ";
else
@@ -836,13 +834,13 @@ Stmt *BasicBlock::EXP(Expr *expr)
return s;
}
-Stmt *BasicBlock::MOVE(Expr *target, Expr *source, AluOp op)
+Stmt *BasicBlock::MOVE(Expr *target, Expr *source)
{
if (isTerminated())
return 0;
Move *s = function->New<Move>();
- s->init(target, source, op);
+ s->init(target, source);
appendStatement(s);
return s;
}