V4 IR: update immediate dominators when purging unreachable basic-blocks
authorErik Verbruggen <erik.verbruggen@digia.com>
Wed, 15 Jan 2014 09:46:08 +0000 (10:46 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 16 Jan 2014 18:19:22 +0000 (19:19 +0100)
commit6f0f73e63182afc92cb1b8255b114fb8f8232f22
treeb228e3fe2eab75aa04a11986419e3f44f1f3f3e5
parentc4b4324596302b6c630187388b18dbdedaaaf7e1
V4 IR: update immediate dominators when purging unreachable basic-blocks

The basic block scheduling uses this information to place loops. When
the immediate dominator information is invalid, the scheduling can be
sub-optimal, or will sometimes forget to schedule some blocks.

Change-Id: Iaeb45f2b757b676310be25a658ceadc07d5722ec
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/qv4ssa.cpp