summaryrefslogtreecommitdiff
path: root/vm_insnhelper.h
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 /vm_insnhelper.h
parentd2f4d5a5fef6bdd393e9b6c3098cb9728fed6e95 (diff)
downloadruby-0f35174060ff1d7910d257679090ecde20eb298e.tar.gz
* 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
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index b5266dc619..de3b25f41e 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 */