summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-17 01:30:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-17 01:30:05 +0000
commitdef3714be2436413c85811005e3166ccf5633554 (patch)
tree66521b7f9a5a194c326f6fe3274f89f86b7a11c5 /vm_eval.c
parent21249d849bb70217e0780b12d5f398826bd3b8d3 (diff)
prefixed functions exported for mjit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 61c112a..ba75fbb 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -640,8 +640,8 @@ rb_method_missing(int argc, const VALUE *argv, VALUE obj)
}
MJIT_FUNC_EXPORTED VALUE
-make_no_method_exception(VALUE exc, VALUE format, VALUE obj,
- int argc, const VALUE *argv, int priv)
+rb_make_no_method_exception(VALUE exc, VALUE format, VALUE obj,
+ int argc, const VALUE *argv, int priv)
{
int n = 0;
enum {
@@ -700,8 +700,8 @@ raise_method_missing(rb_execution_context_t *ec, int argc, const VALUE *argv, VA
}
{
- exc = make_no_method_exception(exc, format, obj, argc, argv,
- last_call_status & (MISSING_FCALL|MISSING_VCALL));
+ exc = rb_make_no_method_exception(exc, format, obj, argc, argv,
+ last_call_status & (MISSING_FCALL|MISSING_VCALL));
if (!(last_call_status & MISSING_MISSING)) {
rb_vm_pop_cfunc_frame();
}
@@ -891,9 +891,9 @@ send_internal(int argc, const VALUE *argv, VALUE recv, call_type scope)
id = rb_check_id(&vid);
if (!id) {
if (rb_method_basic_definition_p(CLASS_OF(recv), idMethodMissing)) {
- VALUE exc = make_no_method_exception(rb_eNoMethodError, 0,
- recv, argc, argv,
- scope != CALL_PUBLIC);
+ VALUE exc = rb_make_no_method_exception(rb_eNoMethodError, 0,
+ recv, argc, argv,
+ scope != CALL_PUBLIC);
rb_exc_raise(exc);
}
if (!SYMBOL_P(*argv)) {