stops gcc -Og complaining. It complains because at that relatively
low level of optimisation, its flow analysis is apparently too weak to
see that the removed path cannot be taken and so it complains
(wrongly) about a possibly uninitialised use of |result|. No
functional change.
git-svn-id: svn://svn.valgrind.org/vex/trunk@3226
if ( ty == Ity_I32 ) {
result = binop( Iop_Add32, nia, mkU32( D << 16 ) );
-
- } else if ( ty == Ity_I64 ) {
- result = binop( Iop_Add64, nia, mkU64( D << 16 ) );
-
} else {
- vex_printf("dis_pc_relative(unsupported type)\n");
+ vassert( ty == Ity_I64 );
+ result = binop( Iop_Add64, nia, mkU64( D << 16 ) );
}
+
putIReg( rT_addr, result);
}
break;