summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/proc.c b/proc.c
index 2af6d62e6b..d1562588e7 100644
--- a/proc.c
+++ b/proc.c
@@ -1176,10 +1176,12 @@ rb_method_call(int argc, VALUE *argv, VALUE method)
}
}
if ((state = EXEC_TAG()) == 0) {
+ VALUE rb_vm_call(rb_thread_t * th, VALUE klass, VALUE recv, VALUE id, ID oid,
+ int argc, const VALUE *argv, const NODE *body, int nosuper);
+
PASS_PASSED_BLOCK();
- result = vm_call0(GET_THREAD(),
- data->oclass, data->recv, data->id, data->oid,
- argc, argv, data->body, 0);
+ result = rb_vm_call(GET_THREAD(), data->oclass, data->recv, data->id, data->oid,
+ argc, argv, data->body, 0);
}
POP_TAG();
if (safe >= 0)