summaryrefslogtreecommitdiffstats
path: root/eval_method.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-06 19:00:03 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-06 19:00:03 +0000
commita6a5e203099ce0597347dd39ff76133d0e54e26b (patch)
tree2f90c7d6ab23acba9e00fa773fb76673123db3f8 /eval_method.h
parentbb07d585336af2f026d7eeea61a1c36ccbff48b5 (diff)
downloadruby-a6a5e203099ce0597347dd39ff76133d0e54e26b.tar.gz
ruby-a6a5e203099ce0597347dd39ff76133d0e54e26b.tar.xz
ruby-a6a5e203099ce0597347dd39ff76133d0e54e26b.zip
* blockinlining.c, compile.c, compile.h, error.c, eval.c,
eval_intern.h, eval_jump.h, eval_load.c, eval_method.h, eval_safe.h, gc.c, insnhelper.h, insns.def, iseq.c, proc.c, process.c, signal.c, thread.c, thread_pthread.ci, thread_win32.ci, vm.c, vm.h, vm_dump.c, vm_evalbody.ci, vm_macro.def, yarv.h, yarvcore.h, yarvcore.c: change type and macro names: * yarv_*_t -> rb_*_t * yarv_*_struct -> rb_*_struct * yarv_tag -> rb_vm_tag * YARV_* -> RUBY_VM_* * proc.c, vm.c: move functions about env object creation from proc.c to vm.c. * proc.c, yarvcore.c: fix rb_cVM initialization place. * inits.c: change Init_ISeq() order (after Init_VM). * ruby.h, proc.c: change declaration place of rb_cEnv from proc.c to ruby.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_method.h')
-rw-r--r--eval_method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_method.h b/eval_method.h
index a99e6bea9..5abf06d67 100644
--- a/eval_method.h
+++ b/eval_method.h
@@ -156,7 +156,7 @@ rb_add_method(VALUE klass, ID mid, NODE * node, int noex)
}
if (mid == object_id || mid == __send || mid == __send_bang) {
- if (node && nd_type(node) == YARV_METHOD_NODE) {
+ if (node && nd_type(node) == RUBY_VM_METHOD_NODE) {
rb_warn("redefining `%s' may cause serious problem",
rb_id2name(mid));
}