summaryrefslogtreecommitdiff
path: root/tool/ruby_vm/views/_mjit_compile_send.erb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-04-06 01:50:12 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2020-04-06 01:50:12 -0700
commit928bb17770ca0648d4098a7c941e4cc4ec22e004 (patch)
treee83149eab0c52b6c2e7bb3d16a0ffd5bc4524c5b /tool/ruby_vm/views/_mjit_compile_send.erb
parent4f802828f4a5ba4c92b78faa6ecf61fb76a1c900 (diff)
Fix -Wshorten-64-to-32 in 4f802828f4
Diffstat (limited to 'tool/ruby_vm/views/_mjit_compile_send.erb')
-rw-r--r--tool/ruby_vm/views/_mjit_compile_send.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ruby_vm/views/_mjit_compile_send.erb b/tool/ruby_vm/views/_mjit_compile_send.erb
index ab2ad93343..9104648e72 100644
--- a/tool/ruby_vm/views/_mjit_compile_send.erb
+++ b/tool/ruby_vm/views/_mjit_compile_send.erb
@@ -25,7 +25,7 @@
&& fastpath_applied_iseq_p(ci, captured_cc, iseq = def_iseq_ptr(vm_cc_cme(captured_cc)->def))) {
int param_size = iseq->body->param.size;
- int sp_inc = sp_inc_of_sendish(ci);
+ int sp_inc = (int)sp_inc_of_sendish(ci);
fprintf(f, "{\n");
% # JIT: Declare stack_size to be used in some macro of _mjit_compile_insn_body.erb