|
From: <sv...@va...> - 2017-04-29 10:56:06
|
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);
|