]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Sanity check goto_tb input
authorRichard Henderson <rth@twiddle.net>
Sat, 22 Sep 2012 00:18:16 +0000 (17:18 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 25 Sep 2012 22:31:17 +0000 (00:31 +0200)
commit0a209d4bb119b92eb14b9afab55cef5bc0555554
treecd74b583c63ddce227116639dc1176de2d69e358
parent717e70368bdc339d241f84aba00ed72d051e0236
tcg: Sanity check goto_tb input

Checking that we don't try for idx != [01] is trivial.  Checking
that we don't issue more than one of any index requires a tad
more data and some ifdefs protecting that new variable.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/tcg-op.h
tcg/tcg.c
tcg/tcg.h