aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-08 13:54:37 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-08 13:54:37 +0000
commitd5c89ba7e55c17f40cdc6d9164629c96f87236a4 (patch)
tree28d8be72c8a700b124e81e63372558a970627d29 /numeric.c
parentba90d805e9bc377361530092981cdd020ce13c1c (diff)
downloadruby-d5c89ba7e55c17f40cdc6d9164629c96f87236a4.tar.gz
Export some missing symbols for MJIT
tool/ruby_vm/views/_insn_name_info.erb: on Linux, rb_vm_insn_name_offset was needed to compile with --jit-debug (Usually --jit-debug requires more symbols than the situation without --jit-debug because -O2 skips some functions to compile). vm.c: when running transform_mjit_header.rb with --jit-wait, rb_source_location_cstr was repoted to be missing. string.c: ditto, for rb_str_eql numeric.c: ditto, for rb_float_eql git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 0e2804329d..c5ff98b7d7 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1603,7 +1603,7 @@ flo_le(VALUE x, VALUE y)
* so an implementation-dependent value is returned.
*/
-VALUE
+MJIT_FUNC_EXPORTED VALUE
rb_float_eql(VALUE x, VALUE y)
{
if (RB_TYPE_P(y, T_FLOAT)) {