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

diff --git a/arch/x86/insn-selector.brg b/arch/x86/insn-selector.brg
index 66744bb..e5da1a9 100644
--- a/arch/x86/insn-selector.brg
+++ b/arch/x86/insn-selector.brg
@@ -1425,7 +1425,7 @@ reg:      EXPR_CONVERSION(reg)
                 * We cannot use non-fixed register here because we cannot
                 * address lowest byte of %esi and %edi in r/m8 addressing.
                 */
-               tmp = get_fixed_var(s->b_parent, MACH_REG_ECX);
+               tmp = get_fixed_var(s->b_parent, MACH_REG_xCX);
                state->reg1 = state->left->reg1;
                select_insn(s, tree, reg_reg_insn(INSN_MOV_REG_REG, 
state->left->reg1, tmp));
                select_insn(s, tree, reg_reg_insn(INSN_MOVSX_8_REG_REG, tmp, 
state->left->reg1));
-- 
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