aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2015-05-04 10:20:20 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-05-04 10:20:49 +0200
commit1648c166dbb541bbe663f3d6e5ad2a39d0735aea (patch)
tree099a31921aa2f9ab605fb1d8c3ffcaa030f75793 /src/qml/compiler
parent6c1d99c2490e1af5c42d03cf10e8fe4d2e30c025 (diff)
parent2fdb6eba0a58b629db32f9eefec2f26df08d3d2e (diff)
Merge remote-tracking branch 'origin/5.4' into 5.5
Diffstat (limited to 'src/qml/compiler')
-rw-r--r--src/qml/compiler/qv4codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp
index 02274ca793..9168889c8c 100644
--- a/src/qml/compiler/qv4codegen.cpp
+++ b/src/qml/compiler/qv4codegen.cpp
@@ -538,7 +538,7 @@ IR::Expr *Codegen::subscript(IR::Expr *base, IR::Expr *index)
IR::Expr *Codegen::argument(IR::Expr *expr)
{
- if (expr && !expr->asTemp() && !expr->asArgLocal()) {
+ if (expr && !expr->asTemp()) {
const unsigned t = _block->newTemp();
move(_block->TEMP(t), expr);
expr = _block->TEMP(t);