diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-10 08:03:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-10 08:03:24 +0000 |
commit | aa963d33576f593d1472bd5f297abf58b88d3ad0 (patch) | |
tree | 7318d30f9c5ec9adb1ad6654d146a63820dbdff0 /eval.c | |
parent | f87132b45fa3916e968c80546db4f78882a160e8 (diff) |
* 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
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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; @@ -218,6 +218,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; switch (v) { @@ -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); } /* |