From: Julian Seward Date: Wed, 20 Oct 2004 09:38:58 +0000 (+0000) Subject: Disable all optimisation until such time as the 2.3.X route works X-Git-Tag: svn/VALGRIND_3_0_1^2~951 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=612ee5a502acafa140cd003aca7db8946b2304d4;p=thirdparty%2Fvalgrind.git Disable all optimisation until such time as the 2.3.X route works 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 --- diff --git a/VEX/priv/guest-x86/toIR.c b/VEX/priv/guest-x86/toIR.c index 5b2773d3b4..b5eb8a76ca 100644 --- a/VEX/priv/guest-x86/toIR.c +++ b/VEX/priv/guest-x86/toIR.c @@ -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; diff --git a/VEX/priv/ir/iropt.c b/VEX/priv/ir/iropt.c index 096a706cf3..eb2fb2d849 100644 --- a/VEX/priv/ir/iropt.c +++ b/VEX/priv/ir/iropt.c @@ -3138,7 +3138,7 @@ IRBB* do_iropt_BB ( IRBB* bb0, Bool show_res = False; Bool do_expensive; - +return bb0; IRBB *bb, *bb2; n_total++;