summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-09 11:31:41 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-09 11:31:41 +0000
commit212a77ed46d73af3600756247f7c30d6c270eff1 (patch)
tree3fdac90fa7b0d433856c9f208cda027550e63712 /mjit.c
parent33dd5d6970489c0aef929880e8730126cc7ad4c6 (diff)
process.c: fix outdated mjit_pause declaration
by sharing it with vm.c in internal.h. vm.c: ditto internal.h: ditto mjit.h: share more. mjit.c: make sure the third arguemnt is not used git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index a3a6304850..5549e29b85 100644
--- a/mjit.c
+++ b/mjit.c
@@ -1782,7 +1782,7 @@ stop_worker(void)
/* Stop JIT-compiling methods but compiled code is kept available. */
VALUE
-mjit_pause(int argc, VALUE *argv, VALUE recv)
+mjit_pause(int argc, VALUE *argv, RB_UNUSED_VAR(VALUE self))
{
VALUE options = Qnil;
VALUE wait = Qtrue;