summaryrefslogtreecommitdiff
path: root/vm_exec.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-05 16:31:25 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-05 16:31:25 (GMT)
commitb0569e3dde14df7b9acc703c6a4c7325573094f5 (patch)
tree33bb63496d9256f3382200d50969f6057e561ca8 /vm_exec.c
parenta44c3bb26f9f32e6f5a63c80f5d6a7ef096caec5 (diff)
* vm_insnhelper.h: rename REG_(CFP|PC|SP|EP) to VM_REG_....
[Bug #12527] * vm_exec.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 5e4ff94..fcdc600 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