summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-07-10 14:54:01 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-07-13 08:56:18 +0900
commit2363a16e9ac3d8ba9608502d9969a39cce03ff17 (patch)
tree934aa565ecedf909a767baecf9a6079d541c8761 /tool
parent5783d84a170356a30b7cc578493880eb67ebda56 (diff)
add comments
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3305
Diffstat (limited to 'tool')
-rw-r--r--tool/mk_builtin_loader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb
index 639e53a9c5..ffdd840d17 100644
--- a/tool/mk_builtin_loader.rb
+++ b/tool/mk_builtin_loader.rb
@@ -311,7 +311,7 @@ def mk_builtin_header file
f.puts %' fprintf(f, " const VALUE *argv = GET_EP() - lnum - VM_ENV_DATA_SIZE + 1 + %ld;\\n", index);'
f.puts %' }'
end
- f.puts %' fprintf(f, " func f = (func)%p;\\n", (const void *)#{cfunc_name});'
+ f.puts %' fprintf(f, " func f = (func)/* #{cfunc_name} */%p;\\n", (const void *)#{cfunc_name});'
f.puts %' fprintf(f, " val = f(ec, GET_SELF()#{argv});\\n");'
end
f.puts %'}'