target-ppc: avoid nop to override next instruction
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 29 Mar 2009 01:18:03 +0000 (01:18 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 29 Mar 2009 01:18:03 +0000 (01:18 +0000)
commite0482610bfd353e8aa05a855e103e058033bb8bf
treed3d8895036656ebde5a1527bacd25afd2fbc4ce2
parentb1318101eec68b97e1b4212e368332cdb423154b
target-ppc: avoid nop to override next instruction

While searching PC, always store the pc of a new instruction.
Instructions that didn't generate tcg code (such as nop) prevented the
next one to be referenced.

Based on patch for target-alpha, r6930.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6931 c046a42c-6fe2-441c-8c8c-71466251a162
target-ppc/translate.c