|
From: Florian K. <br...@ac...> - 2013-01-27 21:57:59
|
Attached are two patches for valgrind and VEX to make the change from Iex_Mux0X to Iex_ITE. I've regtested this on x86-64 (64-bit only), s390, and ppc64. No new regressions. arm and mips are completely untested. Basically, IRExpr_Mux0X(cond, iffalse, iftrue) gets replaced with IRExpr_ITE(cond, iftrue, iffalse). Although this is a mechanical change, swapping the arguments in an automated way (perhaps with emacs macros or so), was beyond my emacs foo. So there is a fair amount of hand work and, thusly, needs review. I'll wait for that. I've tried to avoid reformatting the context code as much as possible but for some instances in the mips port that was just impossible.. Florian |