vex: r3357 - /branches/VEX_JIT_HACKS/priv/host_x86_isel.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

vex: r3357 - /branches/VEX_JIT_HACKS/priv/host_x86_isel.c

svn-2
Author: iraisr
Date: Sat Apr 29 11:55:56 2017
New Revision: 3357

Log:
An important comment

Modified:
    branches/VEX_JIT_HACKS/priv/host_x86_isel.c

Modified: branches/VEX_JIT_HACKS/priv/host_x86_isel.c
==============================================================================
--- branches/VEX_JIT_HACKS/priv/host_x86_isel.c (original)
+++ branches/VEX_JIT_HACKS/priv/host_x86_isel.c Sat Apr 29 11:55:56 2017
@@ -3927,6 +3927,8 @@
                                             ite->hint, &n_phis);
 
       X86CondCode   cc       = iselCondCode(env, ite->cond);
+      /* Note: do not insert any instructions which alter |cc| before it
+         is consumed by the corresponding branch. */
       HInstrIfThenElse* hite = newHInstrIfThenElse(cc, phi_nodes, n_phis);
       X86Instr* instr        = X86Instr_IfThenElse(hite);
       addInstr(env, instr);


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers