Use MIPSRH_Reg to get MIPSRH for Iop_Max32U. Without it, under specific
circumstances, the code may explode and exceed Valgrind instruction buffer
due to multiple calls to iselWordExpr_R through iselWordExpr_RH.
Issue discovered while testing Valgrind on Android.
Patch by Tamara Vlahovic.
HReg r_dst = newVRegI(env);
HReg argL = iselWordExpr_R(env, e->Iex.Binop.arg1);
HReg argR = iselWordExpr_R(env, e->Iex.Binop.arg2);
- MIPSRH *argRH = iselWordExpr_RH(env, False /*signed */ ,
- e->Iex.Binop.arg2);
+ MIPSRH *argRH = MIPSRH_Reg(argR);
/* max (v0, s0)
------------
slt v1, v0, s0