From 0d1a905edb43fe9260302b286d04cec66f7c4416 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 7 Aug 2012 11:13:57 +0000 Subject: * 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 --- vm_core.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index 130063a490..62850f28ce 100644 --- a/vm_core.h +++ b/vm_core.h @@ -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; -- cgit v1.2.3