summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h5
1 files changed, 5 insertions, 0 deletions
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;