s390x : misc cleanups
- Remove fixs390 regarding storing the instruction address in the
IP_AT_SYSCALL slot in the guest state. I'm not sure this is used
but it certainly makes sense.
- Remove fixs390 in function s390_irgen_XONC. This was missed in
VEX r2113.
Partial fix for #271501. (Florian Krohm, britzel@acm.org)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2135 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/priv/guest_s390_toIR.c b/priv/guest_s390_toIR.c
index 722f0ea..2cd353e 100644
--- a/priv/guest_s390_toIR.c
+++ b/priv/guest_s390_toIR.c
@@ -308,8 +308,7 @@
/* Store the system call number in the pseudo register. */
stmt(IRStmt_Put(OFFSET_s390x_SYSNO, sysno));
- /* Store the current IA into guest_IP_AT_SYSCALL. libvex_ir.h says so.
- fixs390: As we do not use it, can we get rid of it ?? */
+ /* Store the current IA into guest_IP_AT_SYSCALL. libvex_ir.h says so. */
stmt(IRStmt_Put(OFFSET_s390x_IP_AT_SYSCALL, mkU64(guest_IA_curr_instr)));
/* It's important that all ArchRegs carry their up-to-date value
@@ -9174,7 +9173,6 @@
assign(new1, binop(op, mkexpr(old1), mkexpr(old2)));
/* Special case: xc is used to zero memory */
- /* fixs390: we also want an instrumentation time shortcut */
if (op == Iop_Xor8) {
store(mkexpr(addr1),
IRExpr_Mux0X(unop(Iop_1Uto8, binop(Iop_CmpEQ64, mkexpr(start1),