aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-03-15 01:00:09 +0100
committerUlf Hermann <ulf.hermann@qt.io>2019-03-15 11:20:40 +0100
commit67cc0be410e0325ff5c8757684cacd02eea91572 (patch)
treed41a8a73b6792e6ebd70b94cd439d6b33bdcadda /src/qml/compiler/qv4codegen.cpp
parent662c53dc583188d0278c86f59ab6b80056dbd419 (diff)
parentf10ac43ebb839b61315bd3b370b77683b625e4c4 (diff)
Merge remote-tracking branch 'origin/5.13' into dev
Conflicts: src/qml/compiler/qv4codegen.cpp Change-Id: I604517d0948fb5056ce36cc104f13ac956fbcc24
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
-rw-r--r--src/qml/compiler/qv4codegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp
index fcd93bb600..448fbff27b 100644
--- a/src/qml/compiler/qv4codegen.cpp
+++ b/src/qml/compiler/qv4codegen.cpp
@@ -1216,6 +1216,7 @@ bool Codegen::visit(ArrayPattern *ast)
bytecodeGenerator->addInstruction(close);
};
ControlFlowLoop flow(this, &end, &in, cleanup);
+
in.link();
bytecodeGenerator->addLoopStart(in);
iterator.loadInAccumulator();