summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-10 20:32:07 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-10 20:32:07 +0000
commitcb223b7533d31f7388c835fa369af95a02b235d5 (patch)
tree2acfe0f2ae6f50efc6f95796473b9cdf979b9e28 /vm_eval.c
parentd8736ecff27972901353dea9fe8c1f6a066e37f9 (diff)
* vm.c (invoke_block_from_c): split this function into several
functions. * vm_insnhelper.c (vm_yield_callee_setup_arg): remove this function beacuse it is only delegation function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 305455e..0abbcc2 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -1054,7 +1054,7 @@ rb_yield_splat(VALUE values)
VALUE
rb_yield_block(VALUE val, VALUE arg, int argc, const VALUE *argv, VALUE blockarg)
{
- const rb_block_t *blockptr = 0;
+ const rb_block_t *blockptr = NULL;
if (!NIL_P(blockarg)) {
rb_proc_t *blockproc;
GetProcPtr(blockarg, blockproc);