]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove unused function "lshift".
authorJulian Seward <jseward@acm.org>
Mon, 13 Apr 2015 11:33:29 +0000 (11:33 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 13 Apr 2015 11:33:29 +0000 (11:33 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@3128

VEX/priv/guest_tilegx_helpers.c

index 5276c24ac212f0e8ba99175eb6b09c8daeda4221..cda5499539d3bcf30f3ea2f1632033bdb2bfa0f6 100644 (file)
   { 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)
 {