Discussion:
vex: r3301 - /trunk/priv/guest_mips_toIR.c
(too old to reply)
s***@valgrind.org
2017-02-11 10:40:48 UTC
Permalink
Raw Message
Author: tom
Date: Sat Feb 11 10:40:48 2017
New Revision: 3301

Log:
Fix non-mips build breakage from VEX r3300

Modified:
trunk/priv/guest_mips_toIR.c

Modified: trunk/priv/guest_mips_toIR.c
==============================================================================
--- trunk/priv/guest_mips_toIR.c (original)
+++ trunk/priv/guest_mips_toIR.c Sat Feb 11 10:40:48 2017
@@ -2196,9 +2196,9 @@

cas = mkIRCAS(IRTemp_INVALID, old_mem,
#if defined (_MIPSEL)
- Iend_LE, mkexpr(op1addr),
-#elif defined (_MIPSEB)
- Iend_BE, mkexpr(op1addr),
+ Iend_LE, mkexpr(op1addr),
+#else /* _MIPSEB */
+ Iend_BE, mkexpr(op1addr),
#endif
NULL, mkexpr(expd), /* expected value */
NULL, mkexpr(new_val) /* new value */);
@@ -2220,9 +2220,9 @@
vassert(mode64);
cas = mkIRCAS(IRTemp_INVALID, old_mem,
#if defined (_MIPSEL)
- Iend_LE, mkexpr(op1addr),
-#elif defined (_MIPSEB)
- Iend_BE, mkexpr(op1addr),
+ Iend_LE, mkexpr(op1addr),
+#else /* _MIPSEB */
+ Iend_BE, mkexpr(op1addr),
#endif
NULL, mkexpr(expd), /* expected value */
NULL, mkexpr(new_val) /* new value */);

Loading...