Project

General

Profile

« Previous | Next » 

Revision 1c0add85

Added by yugui (Yuki Sonoda) over 14 years ago

merges r30922 and r30924 from trunk into ruby_1_9_2.

  • prevent temporary objects from GC, and should not use
    RSTRING_PTR() for function calls since it evaluates the argument
    a couple of times.
    --
  • thread.c (exec_recursive): prevent temporary objects from GC.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e