]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove the valgrind_support parameter from LibVEX_Init. It's unused
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 22 Sep 2014 21:39:12 +0000 (21:39 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 22 Sep 2014 21:39:12 +0000 (21:39 +0000)
and looks like an anachronism. VEX is also cleaner without valgrind things
creeping in.

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

VEX/priv/main_globals.c
VEX/priv/main_globals.h
VEX/priv/main_main.c
VEX/pub/libvex.h
VEX/switchback/switchback.c
VEX/test_main.c
VEX/test_main.h

index f30f7709c23d4a4e3805b7aa7a39c2362895187e..e3d79c6b95b21c1ed79260d94caabb9f01db2eb5 100644 (file)
@@ -58,9 +58,6 @@ Int vex_debuglevel = 0;
 /* trace flags */
 Int vex_traceflags = 0;
 
-/* Are we supporting valgrind checking? */
-Bool vex_valgrind_support = False;
-
 /* Max # guest insns per bb */
 VexControl vex_control = { 0,0,False,0,0,0 };
 
index 3578812cc2e92b6e6a25beacf014fe6631912528..3b16976341ec121c1f55b0d48750f87a7a9d2e4b 100644 (file)
@@ -59,9 +59,6 @@ extern Int vex_debuglevel;
 /* trace flags */
 extern Int vex_traceflags;
 
-/* Are we supporting valgrind checking? */
-extern Bool vex_valgrind_support;
-
 /* Optimiser/front-end control */
 extern VexControl vex_control;
 
index 0322a349fe364e838a3baab95499c132d1a7a87a..d970ef9c2f6014bd8610ca34611bf23182e9278e 100644 (file)
@@ -113,8 +113,6 @@ void LibVEX_Init (
    void (*log_bytes) ( HChar*, Int nbytes ),
    /* debug paranoia level */
    Int debuglevel,
-   /* Are we supporting valgrind checking? */
-   Bool valgrind_support,
    /* Control ... */
    const VexControl* vcon
 )
@@ -195,7 +193,6 @@ void LibVEX_Init (
 
    /* Really start up .. */
    vex_debuglevel         = debuglevel;
-   vex_valgrind_support   = valgrind_support;
    vex_control            = *vcon;
    vex_initdone           = True;
    vexSetAllocMode ( VexAllocModeTEMP );
index ec48002ac7363aefa4e4505a0469cc8bdea37915..6805f81f085a829caf76f505657d4c63b4631b1a 100644 (file)
@@ -579,9 +579,6 @@ extern void LibVEX_Init (
    /* debug paranoia level */
    Int debuglevel,
 
-   /* Are we supporting valgrind checking? */
-   Bool valgrind_support,
-
    /* Control ... */
    const VexControl* vcon
 );
index 02c0b77c7776b01bf0d69ae89baed69eb3e23f10..1fa932c191fd3e753a1acda01a72ea175e1ef6a9 100644 (file)
@@ -768,7 +768,7 @@ int main ( Int argc, HChar** argv )
    vcon.guest_chase_thresh=0;
    vcon.iropt_level=2;
 
-   LibVEX_Init( failure_exit, log_bytes, 1, False, &vcon );
+   LibVEX_Init( failure_exit, log_bytes, 1, &vcon );
    LibVEX_Guest_initialise(&gst);
    gst.host_EvC_COUNTER  = 999999999; // so we should never get an exit
    gst.host_EvC_FAILADDR = 0x5a5a5a5a5a5a5a5a;
index 987ac6f8e4bcf09ab2948d0ac5e60c74284d8e7e..802827cde0a2d38170890fe55461079fd96cf7b6 100644 (file)
@@ -127,7 +127,6 @@ int main ( int argc, char** argv )
 
    LibVEX_Init ( &failure_exit, &log_bytes, 
                  1,  /* debug_paranoia */ 
-                 TEST_VSUPPORT, /* valgrind support */
                  &vcon );
 
 
index 0c537a0e51322751f02f22396666cd781591225a..720900f9baeda3094ab59ab6973ed03e1bdd7080 100644 (file)
@@ -3,7 +3,6 @@
 
 /* DEBUG RUN, ON V */
 #if 1
-#define TEST_VSUPPORT  True
 #define TEST_N_ITERS   1
 #define TEST_N_BBS     1
 #define TEST_FLAGS     (1<<7)|(0<<6)|(1<<3)|(0<<2)|(0<<1)|(0<<0)
@@ -11,7 +10,6 @@
 
 /* CHECKING RUN, ON V */
 #if 0
-#define TEST_VSUPPORT  True
 #define TEST_N_ITERS   1
 #define TEST_N_BBS     100000
 #define TEST_FLAGS     0
@@ -19,7 +17,6 @@
 
 /* PROFILING RUN, NATIVE */
 #if 0
-#define TEST_VSUPPORT  False
 #define TEST_N_ITERS   100
 #define TEST_N_BBS     1000
 #define TEST_FLAGS     0
@@ -27,7 +24,6 @@
 
 /* PROFILING RUN, REDUCED WORKLOAD */
 #if 0
-#define TEST_VSUPPORT  False
 #define TEST_N_ITERS   3
 #define TEST_N_BBS     1000
 #define TEST_FLAGS     0