From: Arthur Huillet <arthur.huil...@free.fr> Signed-off-by: Vegard Nossum <vegard.nos...@gmail.com> --- arch/x86/use-def.c | 4 ++-- test/arch-x86/use-def-test_32.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/use-def.c b/arch/x86/use-def.c index d1965e2..cc12c5d 100644 --- a/arch/x86/use-def.c +++ b/arch/x86/use-def.c @@ -44,8 +44,8 @@ static struct insn_info insn_infos[] = { DECLARE_INFO(INSN_ADC_MEMBASE_REG, USE_SRC | USE_DST | DEF_DST), DECLARE_INFO(INSN_ADC_REG_REG, USE_SRC | USE_DST | 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_ADD_MEMBASE_REG, USE_SRC | USE_DST | DEF_DST), + DECLARE_INFO(INSN_ADD_REG_REG, USE_SRC | USE_DST | DEF_DST), DECLARE_INFO(INSN_AND_MEMBASE_REG, USE_SRC | DEF_DST), DECLARE_INFO(INSN_AND_REG_REG, USE_SRC | DEF_DST), DECLARE_INFO(INSN_CALL_REG, USE_SRC | DEF_xAX | DEF_xCX | DEF_xDX), diff --git a/test/arch-x86/use-def-test_32.c b/test/arch-x86/use-def-test_32.c index 3b5b916..65f543b 100644 --- a/test/arch-x86/use-def-test_32.c +++ b/test/arch-x86/use-def-test_32.c @@ -145,7 +145,7 @@ void test_memlocal_reg_defines_target(void) void test_membase_reg_uses_source_defines_target(void) { - assert_uses_r0_defines_r1(membase_reg_insn(INSN_ADD_MEMBASE_REG, &r0, 0, &r1)); + assert_uses_r0_r1_defines_r1(membase_reg_insn(INSN_ADD_MEMBASE_REG, &r0, 0, &r1)); assert_uses_r0_defines_r1(membase_reg_insn(INSN_AND_MEMBASE_REG, &r0, 0, &r1)); assert_uses_r0_defines_r1(membase_reg_insn(INSN_CMP_MEMBASE_REG, &r0, 0, &r1)); assert_uses_r0_defines_r1(membase_reg_insn(INSN_DIV_MEMBASE_REG, &r0, 0, &r1)); -- 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