mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* compile.c (iseq_translate_direct_threaded_code): fix prototype
function name. * vm.h: add correct cast. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c44e2cdd58
commit
41e9245e85
3 changed files with 9 additions and 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;
|
||||
|
|
2
vm.h
2
vm.h
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue