* 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
@ -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>
|
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
|
* 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;
|
return ex;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
static int
|
||||||
ruby_exec_node(void *n, const char *file)
|
ruby_exec_internal(void *n)
|
||||||
{
|
{
|
||||||
volatile int state;
|
volatile int state;
|
||||||
VALUE iseq = (VALUE)n;
|
VALUE iseq = (VALUE)n;
|
||||||
@ -217,6 +217,12 @@ ruby_stop(int ex)
|
|||||||
|
|
||||||
int
|
int
|
||||||
ruby_run_node(void *n)
|
ruby_run_node(void *n)
|
||||||
|
{
|
||||||
|
return ruby_cleanup(ruby_exec_node(n));
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
ruby_exec_node(void *n)
|
||||||
{
|
{
|
||||||
VALUE v = (VALUE)n;
|
VALUE v = (VALUE)n;
|
||||||
|
|
||||||
@ -228,7 +234,7 @@ ruby_run_node(void *n)
|
|||||||
return FIX2INT(v);
|
return FIX2INT(v);
|
||||||
}
|
}
|
||||||
ruby_init_stack((void *)&n);
|
ruby_init_stack((void *)&n);
|
||||||
return ruby_cleanup(ruby_exec_node(n, 0));
|
return ruby_exec_internal(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user