1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert r35616 "* ext/bigdecimal/bigdecimal.c: use RB_GC_GUARD. [ruby-dev:45627]"

RB_GC_GUARD() is only for variables on the machine stack, because it
forces a VALUE to be stored in a variable which should be referenced
from the GC, but does not add any reference path to the variable.
So it makes no sense for objects in heap.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-05-11 04:50:54 +00:00
parent 5f58cd0906
commit 9cc7e9d1e8
2 changed files with 212 additions and 296 deletions

View file

@ -3,10 +3,6 @@ Fri May 11 09:51:07 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/test/unit.rb (Test::Unit::Runner#failed): no unnecessary
newlines if no reports to be displayed.
Thu May 11 03:41:00 2012 Kenta Murata <mrkn@mrkn.jp>
* ext/bigdecimal/bigdecimal.c: use RB_GC_GUARD. [ruby-dev:45627]
Thu May 10 10:55:35 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/minitest/test_minitest_mock.rb: Correct requiring path to

File diff suppressed because it is too large Load diff