diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-09-03 11:50:46 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-05 17:47:12 -0700 |
commit | fd2ef1a9bfa489842472d183ea10b6fd9838c460 (patch) | |
tree | 6cdd5a5aee5c4d90af6c3d858191984d44382bc1 /thread.c | |
parent | ce04392d8d4f8cf14c70bbf1ad3544c7db4e1671 (diff) | |
download | ruby-fd2ef1a9bfa489842472d183ea10b6fd9838c460.tar.gz |
Add VM_NO_KEYWORDS
I think this is easier to read than using literal 0 with comments
in every case where it is used.
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -681,7 +681,7 @@ thread_do_start(rb_thread_t *th) th->value = rb_vm_invoke_proc(th->ec, proc, (int)args_len, args_ptr, - 0 /* kw_splat */, VM_BLOCK_HANDLER_NONE); + VM_NO_KEYWORDS, VM_BLOCK_HANDLER_NONE); EXEC_EVENT_HOOK(th->ec, RUBY_EVENT_THREAD_END, th->self, 0, 0, 0, Qundef); } |