From c3667c268d9ae74757eb4c032f08a7eacaeddfea Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Mon, 13 Apr 2015 11:33:29 +0000 Subject: [PATCH] Remove unused function "lshift". git-svn-id: svn://svn.valgrind.org/vex/trunk@3128 --- VEX/priv/guest_tilegx_helpers.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/VEX/priv/guest_tilegx_helpers.c b/VEX/priv/guest_tilegx_helpers.c index 5276c24ac2..cda5499539 100644 --- a/VEX/priv/guest_tilegx_helpers.c +++ b/VEX/priv/guest_tilegx_helpers.c @@ -46,15 +46,6 @@ { offsetof(VexGuestTILEGXState, field), \ (sizeof ((VexGuestTILEGXState*)0)->field) } -/* generalised left-shifter */ -static inline UInt lshift ( UInt x, Int n ) -{ - if (n >= 0) - return x << n; - else - return x >> (-n); -} - IRExpr *guest_tilegx_spechelper ( const HChar * function_name, IRExpr ** args, IRStmt ** precedingStmts, Int n_precedingStmts) { -- 2.47.2