summaryrefslogtreecommitdiff
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-27 07:11:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-27 07:11:10 +0000
commitb3392daaadcbec9a2ab10824f207f72f49056ec3 (patch)
treec585b8ff36f12240028d8811aa3c28910aa2365a /vm_insnhelper.h
parent92d7cdc29a3850b49dded341cf2708ad069bd4d1 (diff)
vm_insnhelper.h: RBASIC_CLASS
* vm_insnhelper.c (opt_eq_func): use RBASIC_CLASS() instead of HEAP_CLASS_OF(). * insns.def (opt_plus, opt_minus, opt_mult, opt_div, opt_mod, opt_lt), (opt_gt, opt_ltlt, opt_aref, opt_aset, opt_length, opt_size), (opt_empty_p, opt_succ): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index 62d9781bc9..de5319cedd 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -246,7 +246,6 @@ enum vm_regan_acttype {
#else
#define FLONUM_2_P(a, b) 0
#endif
-#define HEAP_CLASS_OF(obj) (RBASIC(obj)->klass)
#ifndef USE_IC_FOR_SPECIALIZED_METHOD
#define USE_IC_FOR_SPECIALIZED_METHOD 1