Remove references to deleted basic blocks
authorLars Knoll <lars.knoll@digia.com>
Wed, 12 Dec 2012 17:21:36 +0000 (18:21 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Wed, 12 Dec 2012 09:05:44 +0000 (10:05 +0100)
commit3c397f6b2afabe7323141dd68cfb38d66761fc3f
treeaee8b4640a653f31b31a92e406f8682ab036312e
parent249f697824275598c85a0ca8f618e6e558a75ade
Remove references to deleted basic blocks

When linearizing, we can sometimes remove some basic blocks
that are never being jumped to. In this case we also need to
clean up the back references to these blocks from other
blocks.

This fixes a valgrind error with SHOW_CODE=1

Change-Id: I07d74cef24d6cf2c8bcc1e748e314a3a5b5ed60a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qv4codegen.cpp