summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
-rw-r--r--vm_core.h14
1 files changed, 14 insertions, 0 deletions
@@ -794,6 +794,7 @@ struct rb_vm_tag {
rb_jmpbuf_t buf;
struct rb_vm_tag *prev;
enum ruby_tag_type state;
};
STATIC_ASSERT(rb_vm_tag_buf_offset, offsetof(struct rb_vm_tag, buf) > 0);
@@ -1797,6 +1798,19 @@ rb_current_vm(void)
return ruby_current_vm_ptr;
}
#else
#error "unsupported thread model"
#endif