summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-09 02:31:23 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-09 02:31:23 +0000
commitc56edb9a59488f5efb6b6cbe02ac9db10bc0e6d3 (patch)
tree13bb3e499ace099af85fe5679e763f5fba3a16de /internal.h
parent35fde4da0bef35b1f0e240549ed3307a3f0c0fca (diff)
revert RB_FIXABLE related changesets [Bug #13288][Bug #13293][Bug #13294]
This commit is auto-generated using following command: svn diff -r57807:57788 include internal.h bignum.c numeric.c compile.c insns.def object.c sprintf.c | patch -p0 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/internal.h b/internal.h
index bc8d9d30d3..06455f9409 100644
--- a/internal.h
+++ b/internal.h
@@ -1383,17 +1383,6 @@ rb_float_new_inline(double d)
#define rb_float_value(v) rb_float_value_inline(v)
#define rb_float_new(d) rb_float_new_inline(d)
-static inline VALUE
-rb_dbl2ival(double d)
-{
- if (RB_FIXABLE(d)) {
- return LONG2FIX((long)d);
- }
- else {
- return rb_dbl2big(d);
- }
-}
-
/* object.c */
void rb_obj_copy_ivar(VALUE dest, VALUE obj);
CONSTFUNC(VALUE rb_obj_equal(VALUE obj1, VALUE obj2));