diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-07 11:13:57 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-07 11:13:57 +0000 |
commit | 0d1a905edb43fe9260302b286d04cec66f7c4416 (patch) | |
tree | fdb10453a3e6c04d81a535a4439f2f868f2c2fd6 /vm_core.h | |
parent | fca3c408a72cc11bb065bf253bfe00dde4f92b9e (diff) | |
download | ruby-0d1a905edb43fe9260302b286d04cec66f7c4416.tar.gz |
* vm_exec.c, insns.def (leave): solve problems on
OPT_CALL_THREADED_CODE.
Catch up finish frame structure on OPT_CALL_THREADED_CODE.
* vm_core.h: add rb_thread_t#retval for temporary space on
OPT_CALL_THREADED_CODE.
* vm.c (th_init): clear rb_thread_t#retval as Qundef.
* vm_dump.c (rb_vmdebug_debug_print_pre): fix debug print format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -454,6 +454,11 @@ typedef struct rb_thread_struct { /* temporary place of errinfo */ VALUE errinfo; + /* temporary place of retval on OPT_CALL_THREADED_CODE */ +#if OPT_CALL_THREADED_CODE + VALUE retval; +#endif + /* async errinfo queue */ VALUE async_errinfo_queue; int async_errinfo_queue_checked; |