summaryrefslogtreecommitdiff
path: root/vm_trace.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-02 07:54:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-02 07:54:17 +0000
commit97982e823fd6772ce475c250676a73c03fbf3d94 (patch)
tree4560c76be107b254fd1cd6f96cfce3e9634faf1a /vm_trace.c
parent149f8f17efbe4e4dfde350af7b1bf5b54cfb5c1a (diff)
id.def: predefined IDs
* defs/id.def: add more predefined IDs used in core. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c
index 6fafa37..2a40578 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -582,7 +582,7 @@ call_trace_func(rb_event_flag_t event, VALUE proc, VALUE self, ID id, VALUE klas
klass = RBASIC(klass)->klass;
}
else if (FL_TEST(klass, FL_SINGLETON)) {
- klass = rb_iv_get(klass, "__attached__");
+ klass = rb_ivar_get(klass, id__attached__);
}
}