]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Duh; fix use of IROPT_LEVEL.
authorJulian Seward <jseward@acm.org>
Mon, 25 Oct 2004 00:41:11 +0000 (00:41 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 25 Oct 2004 00:41:11 +0000 (00:41 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@411

VEX/priv/ir/iropt.c

index ca8f32358f04849f0cc9929f257dbeb2ed342659..79908346a655ee828744004996352421ae072076 100644 (file)
@@ -17,7 +17,7 @@
    Set to 0 to completely disable iropt
           1 for simple optimisation
           2 for maximum optimisation (the default) */
-#define IROPT_LEVEL 0
+#define IROPT_LEVEL 2
 
 /* Set to 1 for lots of debugging output. */
 #define DEBUG_IROPT 0
@@ -3202,7 +3202,7 @@ IRBB* do_iropt_BB ( IRBB* bb0,
 
    bb = cheap_transformations( bb, specHelper );
 
-   if (IROPT_LEVEL >= 1) {
+   if (IROPT_LEVEL > 1) {
       do_expensive = hasGetIorPutI(bb);
       if (do_expensive) {
          n_expensive++;