summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--vm_insnhelper.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3d1993b..ab37390 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 2 18:04:13 2015 Koichi Sasada <ko1@atdot.net>
+
+ * vm_insnhelper.h (GET_PC_COUNT): remove unused macro.
+
Wed Sep 2 17:18:37 2015 Chris Schneider <chris@christopher-schneider.com>
* process.c (proc_detach): [DOC] fix typo "intent" as "intend" in
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index b5266dc..de3b25f 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -101,8 +101,6 @@ enum vm_regan_acttype {
#define GET_CURRENT_INSN() (*GET_PC())
#define GET_OPERAND(n) (GET_PC()[(n)])
#define ADD_PC(n) (SET_PC(REG_PC + (n)))
-
-#define GET_PC_COUNT() (REG_PC - GET_ISEQ()->iseq_encoded)
#define JUMP(dst) (REG_PC += (dst))
/* frame pointer, environment pointer */