This is a better fix for a previous breakage. Instead of defining word-size independent registers, we simply alias REG_Exx to REG_Rxx.
Signed-off-by: Eduard - Gabriel Munteanu <[email protected]> --- arch/x86/include/arch/registers_64.h | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/x86/include/arch/registers_64.h b/arch/x86/include/arch/registers_64.h index b3bd8db..a6383be 100644 --- a/arch/x86/include/arch/registers_64.h +++ b/arch/x86/include/arch/registers_64.h @@ -25,17 +25,17 @@ enum machine_reg { REG_RSP = NR_REGISTERS, /* R4 */ REG_RBP, /* R5 */ - /* Either-R**-or-E** variants (for word-size independent code). */ - REG_XAX = REG_RAX, - REG_XCX, - REG_XDX, - REG_XBX, - REG_XSI, - REG_XDI, - REG_XSP = REG_RSP, - REG_XBP, - REG_UNASSIGNED = ~0UL, + + /* Aliases that aid the reuse of code from x86-32. */ + REG_EAX = REG_RAX, + REG_ECX, + REG_EDX, + REG_EBX, + REG_ESI, + RED_EDI, + REG_ESP = REG_RSP, + REG_EBP, }; const char *reg_name(enum machine_reg reg); -- 1.6.0.6 ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Jatovm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jatovm-devel
