TCG: improve optimizer debugging
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 30 Jul 2011 19:18:32 +0000 (19:18 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 28 Aug 2011 07:17:27 +0000 (07:17 +0000)
commitfe0de7aa5ecb8917acb181eea6e5c29657c8c36c
tree52a550ac8151b22d0beb35587e48951e5d80fde4
parente5b34f37793dc239c2f65442046e12a5dd7b61ec
TCG: improve optimizer debugging

Use enum TCGOpcode instead of plain old int so that the name of
current op can be seen in GDB. Add a default case to switch
so that GCC does not complain about unhandled enum cases.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/optimize.c