]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Give typeOfPrimop external linkage. This allows us to simplify
authorFlorian Krohm <florian@eich-krohm.de>
Fri, 16 Oct 2015 17:26:22 +0000 (17:26 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Fri, 16 Oct 2015 17:26:22 +0000 (17:26 +0000)
memcheck/tests/vbit-test which used to have local copies of certain
functions from ir_defs.c

git-svn-id: svn://svn.valgrind.org/vex/trunk@3200

VEX/priv/ir_defs.c
VEX/pub/libvex_ir.h

index 88a2bf0fce7fad8ec396fe678edce55751ec591b..4a7b77033b409aa1a1fd9cc72da912ea9a1c333b 100644 (file)
@@ -2474,7 +2474,6 @@ IRSB* deepCopyIRSBExceptStmts ( const IRSB* bb )
 /*--- Primop types                                            ---*/
 /*---------------------------------------------------------------*/
 
-static
 void typeOfPrimop ( IROp op, 
                     /*OUTs*/
                     IRType* t_dst, 
index 9f10991d541318a097b0536bd3426d0a5fde57d4..4c0539950dd98489958a49a957e89dfd577173b5 100644 (file)
@@ -1850,6 +1850,10 @@ typedef
 /* Pretty-print an op. */
 extern void ppIROp ( IROp );
 
+/* For a given operand return the types of its arguments and its result. */
+extern void typeOfPrimop ( IROp op,
+                           /*OUTs*/ IRType* t_dst, IRType* t_arg1,
+                           IRType* t_arg2, IRType* t_arg3, IRType* t_arg4 );
 
 /* Encoding of IEEE754-specified rounding modes.
    Note, various front and back ends rely on the actual numerical