From 130ac30533aa86f3069f9ec1f574ca487d985c6c Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Sat, 26 Jan 2019 18:18:28 +0100 Subject: [PATCH] s390 front end: remove unused function 'put_gpr_int'. n-i-bz. --- VEX/priv/guest_s390_toIR.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/VEX/priv/guest_s390_toIR.c b/VEX/priv/guest_s390_toIR.c index 1c4ac390aa..d657238869 100644 --- a/VEX/priv/guest_s390_toIR.c +++ b/VEX/priv/guest_s390_toIR.c @@ -1095,16 +1095,6 @@ gpr_w0_offset(UInt archreg) return gpr_offset(archreg) + 0; } -/* Write an integer right-aligned into a gpr. */ -static __inline__ void -put_gpr_int(UInt archreg, IRExpr *expr) -{ - UInt siz = sizeofIRType(typeOfIRExpr(irsb->tyenv, expr)); - - vassert(siz <= 8); - stmt(IRStmt_Put(gpr_offset(archreg) + 8 - siz, expr)); -} - /* Read an integer of given type from a gpr. */ static __inline__ IRExpr * get_gpr_int(UInt archreg, IRType ty) -- 2.47.2