]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Disable all optimisation until such time as the 2.3.X route works
authorJulian Seward <jseward@acm.org>
Wed, 20 Oct 2004 09:38:58 +0000 (09:38 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 20 Oct 2004 09:38:58 +0000 (09:38 +0000)
better.  In particular, redundant-Put removal is removing assignments
to x86 guest %esp, which messes up the segfault-based stack extender.

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

VEX/priv/guest-x86/toIR.c
VEX/priv/ir/iropt.c

index 5b2773d3b444975258438c267b89696e695eb31b..b5eb8a76ca028eba2f0246963ddc1434f214c8cf 100644 (file)
@@ -127,7 +127,7 @@ IRBB* bbToIR_X86Instr ( UChar* x86code,
    DisResult  dres;
    static Int n_resteers = 0;
    Int        d_resteers = 0;
-   Int        resteerBelow = 10;  /* the threshold value */
+   Int        resteerBelow = 0; //10;  /* the threshold value */
 
    /* Set up globals. */
    host_is_bigendian = host_bigendian;
index 096a706cf3f0ce4a005ea7d3609d097fee798bbe..eb2fb2d8492c9a36cb0cf117737179acc6bf8668 100644 (file)
@@ -3138,7 +3138,7 @@ IRBB* do_iropt_BB ( IRBB* bb0,
 
    Bool show_res = False;
    Bool do_expensive;
-
+return bb0;
    IRBB *bb, *bb2;
 
    n_total++;