aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index a605cadb98..4cf4e365a2 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -360,6 +360,8 @@ struct rb_vm_trap_tag {
#define RUBY_VM_VALUE_CACHE_SIZE 0x1000
#define USE_VALUE_CACHE 0
+typedef struct rb_thread_struct rb_thread_t;
+
struct rb_thread_struct
{
VALUE self;
@@ -605,6 +607,8 @@ VALUE vm_call0(rb_thread_t *th, VALUE klass, VALUE recv, VALUE id, ID oid,
int vm_get_sourceline(rb_control_frame_t *);
+NOINLINE(void rb_gc_save_machine_context(rb_thread_t *));
+
RUBY_EXTERN VALUE sysstack_error;
/* for thread */