summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-09 02:10:51 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-09 02:10:51 (GMT)
commitd53e1a7937b8c68ed5230fb3e7a1f9fb9524a898 (patch)
tree51ca56138c98ae09d6154c8c0fc12abf8b695be8 /vm_core.h
parentea67287ac14e1b7f2be1ef586ab9770f709a4f7b (diff)
* vm_core.h: remove rb_call_info_t::klass because
rb_callable_method_entry_t has information about defined class. * vm_insnhelper.c (vm_search_method): don't set ci->klass because it is removed. * vm_insnhelper.c (rb_equal_opt): ditto. * vm_insnhelper.c (vm_search_superclass): removed because it is too simple to write code directly. * vm_insnhelper.c (vm_defined): don't use vm_search_superclass(). This fix avoid searching current callable `me' twice. * vm_insnhelper.c (vm_search_super_method): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 6e1e41d..a7687ed 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -180,7 +180,6 @@ typedef struct rb_call_info_struct {
/* inline cache: keys */
rb_serial_t method_state;
rb_serial_t class_serial;
- VALUE klass;
/* inline cache: values */
const rb_callable_method_entry_t *me;