V4 IR: do not add unconditional jumps to work lists
authorErik Verbruggen <erik.verbruggen@me.com>
Tue, 17 Dec 2013 11:44:07 +0000 (12:44 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 2 Jan 2014 20:47:25 +0000 (21:47 +0100)
commita588c1a5038cf2b4e22101d360fcae20531d905f
treec148dcb6b9edb5e583f798dc3b1f989a33f09dad
parentd54fb6804b261a26a2b689d2e7e5157b545e3c86
V4 IR: do not add unconditional jumps to work lists

Both type inference and the optimization pass do not do anything with
unconditional jumps. So, instead of adding them to the worklist and
later on removing them again, it’s faster to never add them in the first
place.

Change-Id: Ib81d43e9ea6df2b1a70e9dd1e9b9c29cb6d345d2
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/compiler/qv4ssa.cpp