|
From: <sv...@va...> - 2015-10-16 17:26:34
|
Author: florian
Date: Fri Oct 16 18:26:22 2015
New Revision: 3200
Log:
Give typeOfPrimop external linkage. This allows us to simplify
memcheck/tests/vbit-test which used to have local copies of certain
functions from ir_defs.c
Modified:
trunk/priv/ir_defs.c
trunk/pub/libvex_ir.h
Modified: trunk/priv/ir_defs.c
==============================================================================
--- trunk/priv/ir_defs.c (original)
+++ trunk/priv/ir_defs.c Fri Oct 16 18:26:22 2015
@@ -2474,7 +2474,6 @@
/*--- Primop types ---*/
/*---------------------------------------------------------------*/
-static
void typeOfPrimop ( IROp op,
/*OUTs*/
IRType* t_dst,
Modified: trunk/pub/libvex_ir.h
==============================================================================
--- trunk/pub/libvex_ir.h (original)
+++ trunk/pub/libvex_ir.h Fri Oct 16 18:26:22 2015
@@ -1850,6 +1850,10 @@
/* 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
|