From: Julian Seward Date: Mon, 13 Apr 2015 11:33:29 +0000 (+0000) Subject: Remove unused function "lshift". X-Git-Tag: svn/VALGRIND_3_11_0^2~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3667c268d9ae74757eb4c032f08a7eacaeddfea;p=thirdparty%2Fvalgrind.git Remove unused function "lshift". git-svn-id: svn://svn.valgrind.org/vex/trunk@3128 --- 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) {