"add imm, reg" also uses the reg, so we should put this in the use-def.
Someone should probably go through the whole list to verify that the rest
is correct too.

Signed-off-by: Vegard Nossum <vegard.nos...@gmail.com>
---
 arch/x86/use-def.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/use-def.c b/arch/x86/use-def.c
index 93bb561..02180bd 100644
--- a/arch/x86/use-def.c
+++ b/arch/x86/use-def.c
@@ -43,7 +43,7 @@ static struct insn_info insn_infos[] = {
        DECLARE_INFO(INSN_ADC_IMM_REG, DEF_DST),
        DECLARE_INFO(INSN_ADC_MEMBASE_REG, USE_SRC | DEF_DST),
        DECLARE_INFO(INSN_ADC_REG_REG, USE_SRC | DEF_DST),
-       DECLARE_INFO(INSN_ADD_IMM_REG, DEF_DST),
+       DECLARE_INFO(INSN_ADD_IMM_REG, USE_DST | DEF_DST),
        DECLARE_INFO(INSN_ADD_MEMBASE_REG, USE_SRC | DEF_DST),
        DECLARE_INFO(INSN_ADD_REG_REG, USE_SRC | DEF_DST),
        DECLARE_INFO(INSN_AND_MEMBASE_REG, USE_SRC | DEF_DST),
-- 
1.6.0.6


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to