mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (bmcall): fix a GC problem by tail call on
IA64 with gcc 4.0.3 20051216 (prerelease). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1d120e283d
commit
76be880cfd
2 changed files with 9 additions and 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>
|
Fri Dec 16 00:54:06 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* signal.c (Init_signal): revert C++ style comment.
|
* signal.c (Init_signal): revert C++ style comment.
|
||||||
|
|
|
||||||
5
eval.c
5
eval.c
|
|
@ -9273,9 +9273,12 @@ bmcall(args, method)
|
||||||
VALUE args, method;
|
VALUE args, method;
|
||||||
{
|
{
|
||||||
volatile VALUE a;
|
volatile VALUE a;
|
||||||
|
VALUE ret;
|
||||||
|
|
||||||
a = svalue_to_avalue(args);
|
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
|
VALUE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue