Portability cleanups for assembler backend.

This commit is contained in:
Mike Pall
2011-05-17 21:26:00 +02:00
parent 3168d9aa59
commit 3a942d6cea
3 changed files with 8 additions and 7 deletions

View File

@@ -43,10 +43,10 @@ enum {
/* These definitions must match with the *.dasc file(s): */
RID_BASE = RID_EDX, /* Interpreter BASE. */
#if LJ_64 && !LJ_ABI_WIN
RID_PC = RID_EBX, /* Interpreter PC. */
RID_LPC = RID_EBX, /* Interpreter PC. */
RID_DISPATCH = RID_R14D, /* Interpreter DISPATCH table. */
#else
RID_PC = RID_ESI, /* Interpreter PC. */
RID_LPC = RID_ESI, /* Interpreter PC. */
RID_DISPATCH = RID_EBX, /* Interpreter DISPATCH table. */
#endif