V4 IR: add immediate dominator re-calculation.
authorErik Verbruggen <erik.verbruggen@digia.com>
Wed, 23 Jul 2014 10:17:28 +0000 (12:17 +0200)
committerErik Verbruggen <erik.verbruggen@digia.com>
Mon, 18 Aug 2014 14:05:51 +0000 (16:05 +0200)
commit7e5a589b905969a5712b801cec01be257fbc237c
tree77474e5ba865779da494463a3bab2a4fafd10183
parent23193dbdd1ed777731e34b25d0ab19d190014152
V4 IR: add immediate dominator re-calculation.

When removing edges, the control-flow graph changes, so some immediate
dominators might need to be updated. This change collects all candidates
and processes them in a single batch.

Change-Id: I928f42232427a84bcb9658e314dadd0bd021b12f
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
src/qml/compiler/qv4jsir.cpp
src/qml/compiler/qv4jsir_p.h
src/qml/compiler/qv4ssa.cpp