This fixes an inconsistency where we use REG_ESP instead of REG_RSP. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- arch/x86/emit-code.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/emit-code.c b/arch/x86/emit-code.c index 0ed73d4..b5de4a4 100644 --- a/arch/x86/emit-code.c +++ b/arch/x86/emit-code.c @@ -1815,7 +1815,7 @@ static void __emit_membase(struct buffer *buf, unsigned char __base_reg = __encode_reg(base_reg); int needs_sib; - needs_sib = (base_reg == REG_ESP); + needs_sib = (base_reg == REG_RSP); emit(buf, opc); -- 1.6.0.6 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel