mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (bmcall): add volatile to avoid GC problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5ff36b57be
commit
5782e5b000
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Mar 20 10:45:29 2003 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* eval.c (bmcall): add volatile to avoid GC problem.
|
||||
|
||||
Wed Mar 19 23:05:30 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||
|
||||
* lib/tracer.rb (trace_func): save and recover Thread.critical state.
|
||||
|
|
4
eval.c
4
eval.c
|
@ -7250,8 +7250,8 @@ static VALUE
|
|||
bmcall(args, method)
|
||||
VALUE args, method;
|
||||
{
|
||||
args = svalue_to_avalue(args);
|
||||
return method_call(RARRAY(args)->len, RARRAY(args)->ptr, method);
|
||||
volatile args2 = svalue_to_avalue(args);
|
||||
return method_call(RARRAY(args2)->len, RARRAY(args2)->ptr, method);
|
||||
}
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Add table
Reference in a new issue