summaryrefslogtreecommitdiff
path: root/src/lj_target_x86.h
diff options
context:
space:
mode:
authorMike Pall <mike>2011-05-17 21:26:00 +0200
committerMike Pall <mike>2011-05-17 21:26:00 +0200
commit3a942d6ceaf409874906408edc3e47de20157198 (patch)
treea3178dad2c89fa66adf4f8b3fc4033fb10f39c1c /src/lj_target_x86.h
parent3168d9aa5983c2dbdc4c8a26a9e0a4b23fb2d178 (diff)
downloadluajit2-3a942d6ceaf409874906408edc3e47de20157198.tar.gz
Portability cleanups for assembler backend.
Diffstat (limited to 'src/lj_target_x86.h')
-rw-r--r--src/lj_target_x86.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_target_x86.h b/src/lj_target_x86.h
index fd2a32fe..34b247d4 100644
--- a/src/lj_target_x86.h
+++ b/src/lj_target_x86.h
@@ -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