summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-02 09:05:16 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-02 09:05:16 +0000
commit0f35174060ff1d7910d257679090ecde20eb298e (patch)
tree6548d5a47a05c189c5d32adc245d615c4ce77884
parentd2f4d5a5fef6bdd393e9b6c3098cb9728fed6e95 (diff)
* vm_insnhelper.h (GET_PC_COUNT): remove unused macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 */