|
From: Julian S. <se...@so...> - 2019-01-26 17:19:52
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=130ac30533aa86f3069f9ec1f574ca487d985c6c commit 130ac30533aa86f3069f9ec1f574ca487d985c6c Author: Julian Seward <js...@ac...> Date: Sat Jan 26 18:18:28 2019 +0100 s390 front end: remove unused function 'put_gpr_int'. n-i-bz. Diff: --- 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 1c4ac39..d657238 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) |