diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | eval.c | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Dec 17 03:30:23 2005 Tanaka Akira <akr@m17n.org> + + * eval.c (bmcall): fix a GC problem by tail call on + IA64 with gcc 4.0.3 20051216 (prerelease). + Fri Dec 16 00:54:06 2005 Yukihiro Matsumoto <matz@ruby-lang.org> * signal.c (Init_signal): revert C++ style comment. @@ -9273,9 +9273,12 @@ bmcall(args, method) VALUE args, method; { volatile VALUE a; + VALUE ret; a = svalue_to_avalue(args); - return method_call(RARRAY(a)->len, RARRAY(a)->ptr, method); + ret = method_call(RARRAY(a)->len, RARRAY(a)->ptr, method); + a = Qnil; /* prevent tail call */ + return ret; } VALUE |
