V4 JIT: fix invalid sanity assert.
authorErik Verbruggen <erik.verbruggen@me.com>
Tue, 12 Nov 2013 10:29:17 +0000 (11:29 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 12 Nov 2013 13:40:22 +0000 (14:40 +0100)
commit4ed95774ed15f195da157c7c17a45e0c8c895054
treeee6529ef983da38dd1b7be60e501f578dfd6055a
parent2e8dfb5d5cd02cf2ca281f19bfb9966c97f35db7
V4 JIT: fix invalid sanity assert.

If there are multiple incoming edges to a block, and there are one or
more phi nodes at the start, then only check the temp uses for the edge
we are resolving.

Task-number: QTBUG-34770

Change-Id: Ibb5c7c323d6be8bc1ed492b08ed098de2f2726cc
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
src/qml/compiler/qv4regalloc.cpp