aboutsummaryrefslogtreecommitdiffstats
path: root/vm_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_exec.c')
-rw-r--r--vm_exec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm_exec.c b/vm_exec.c
index 5e4ff94a8b..fcdc600b3a 100644
--- a/vm_exec.c
+++ b/vm_exec.c
@@ -88,16 +88,16 @@ vm_exec_core(rb_thread_t *th, VALUE initial)
#undef RESTORE_REGS
#define RESTORE_REGS() \
{ \
- REG_CFP = th->cfp; \
+ VM_REG_CFP = th->cfp; \
reg_pc = reg_cfp->pc; \
}
-#undef REG_PC
-#define REG_PC reg_pc
+#undef VM_REG_PC
+#define VM_REG_PC reg_pc
#undef GET_PC
#define GET_PC() (reg_pc)
#undef SET_PC
-#define SET_PC(x) (reg_cfp->pc = REG_PC = (x))
+#define SET_PC(x) (reg_cfp->pc = VM_REG_PC = (x))
#endif
#if OPT_TOKEN_THREADED_CODE || OPT_DIRECT_THREADED_CODE