summaryrefslogtreecommitdiff
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-06 07:29:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-06 07:29:33 +0000
commit89fef02f1305887d97ddcf96cc4df9109ce414e2 (patch)
tree1af1003f121923e1b7970be82d2a8df7e7122bd7 /vm_insnhelper.h
parent60d83c5da49aade87ee4a45ca777637000f60cfb (diff)
* vm_eval.c (make_no_method_execption): extract from
raise_method_missing(). * vm_eval.c (send_internal): remove inadvertent symbol creation from public_send. based on a patch by Jeremy Evans <code AT jeremyevans.net> in [ruby-core:38576]. [Feature #5112] * vm_insnhelper.c (vm_call_method): remove inadvertent symbol creation from send and __send__, too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index 018adb6d5b..02c0cac1ac 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -226,4 +226,8 @@ static VALUE ruby_vm_global_state_version = 1;
} while (0)
static void vm_clear_all_cache(void);
+static VALUE make_no_method_execption(VALUE exc, const char *format,
+ VALUE obj, int argc, const VALUE *argv);
+
+
#endif /* RUBY_INSNHELPER_H */