diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | string.c | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Sat Oct 11 14:57:08 2014 Eric Wong <e@80x24.org> + + * string.c (rb_str_intern): remove unnecessary RB_GC_GUARD + Sat Oct 11 13:47:13 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (remove_duplicate_keys): remove duplicate literal keys, @@ -7549,9 +7549,8 @@ rb_str_crypt(VALUE str, VALUE salt) VALUE -rb_str_intern(VALUE s) +rb_str_intern(VALUE str) { - VALUE str = RB_GC_GUARD(s); ID id; id = rb_intern_str(str); |