mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (ruby_exec_node): removed unused argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f87132b45f
commit
aa963d3357
2 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Oct 10 17:03:22 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (ruby_exec_node): removed unused argument.
|
||||
|
||||
Sat Oct 10 14:55:55 2009 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
|
||||
|
||||
* math.c (math_atanh): Fix bug for Math.atanh(+/-1). It now returns
|
||||
|
|
12
eval.c
12
eval.c
|
@ -189,8 +189,8 @@ ruby_cleanup(volatile int ex)
|
|||
return ex;
|
||||
}
|
||||
|
||||
int
|
||||
ruby_exec_node(void *n, const char *file)
|
||||
static int
|
||||
ruby_exec_internal(void *n)
|
||||
{
|
||||
volatile int state;
|
||||
VALUE iseq = (VALUE)n;
|
||||
|
@ -217,6 +217,12 @@ ruby_stop(int ex)
|
|||
|
||||
int
|
||||
ruby_run_node(void *n)
|
||||
{
|
||||
return ruby_cleanup(ruby_exec_node(n));
|
||||
}
|
||||
|
||||
int
|
||||
ruby_exec_node(void *n)
|
||||
{
|
||||
VALUE v = (VALUE)n;
|
||||
|
||||
|
@ -228,7 +234,7 @@ ruby_run_node(void *n)
|
|||
return FIX2INT(v);
|
||||
}
|
||||
ruby_init_stack((void *)&n);
|
||||
return ruby_cleanup(ruby_exec_node(n, 0));
|
||||
return ruby_exec_internal(n);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue