diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-27 11:33:01 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-27 11:33:01 +0000 |
| commit | fbdc3b1a4f7f66073d53146d5d2ffca6f1e986b1 (patch) | |
| tree | fcd1b4f3b33b42d8aff8b95372d8f6996adc79cb | |
| parent | c1ccc983ff34df27b30d32bc20acd93323457fe5 (diff) | |
| download | ruby-fbdc3b1a4f7f66073d53146d5d2ffca6f1e986b1.tar.gz ruby-fbdc3b1a4f7f66073d53146d5d2ffca6f1e986b1.tar.xz ruby-fbdc3b1a4f7f66073d53146d5d2ffca6f1e986b1.zip | |
* compile.c (iseq_translate_direct_threaded_code): fix prototype
function name.
* vm.h: add correct cast.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | compile.c | 2 | ||||
| -rw-r--r-- | vm.h | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +Wed Jun 27 20:31:07 2007 Koichi Sasada <ko1@atdot.net> + + * compile.c (iseq_translate_direct_threaded_code): fix prototype + function name. + + * vm.h: add correct cast. + Wed Jun 27 17:08:42 2007 Koichi Sasada <ko1@atdot.net> * vm_evalbody.ci: support OPT_CALL_THREADED_CODE. @@ -222,7 +222,7 @@ iseq_translate_direct_threaded_code(rb_iseq_t *iseq) #if OPT_DIRECT_THREADED_CODE void **table = (void **)vm_eval(0); #else - extern void **insns_address_table(); + extern void **get_insns_address_table(); void **table = get_insns_address_table(); #endif int i; @@ -276,7 +276,7 @@ default: \ return 0; \ } while (0) #else -#define THROW_EXCEPTION(exc) return (exc) +#define THROW_EXCEPTION(exc) return (VALUE)(exc) #endif #define SCREG(r) (reg_##r) |
