Ruby
4.1.0dev (2026-09-08 revision b6830f5d2be2f96904fe123f333bd3d832d202af)
gc
default
zjit_fastpath.h
1
#ifndef RUBY_GC_DEFAULT_ZJIT_FASTPATH_H
2
#define RUBY_GC_DEFAULT_ZJIT_FASTPATH_H
3
4
#include <stddef.h>
5
6
#include "gc/gc_impl.h"
7
#include "
ruby/internal/static_assert.h
"
8
#include "
ruby/ruby.h
"
9
10
struct
rb_gc_zjit_default_new_obj_fastpath
{
11
size_t
cursor_offset;
12
size_t
cursor_end_offset;
13
size_t
slot_size;
14
size_t
total_allocated_objects_offset;
15
VALUE
flags;
16
VALUE
klass;
17
};
18
19
RBIMPL_STATIC_ASSERT
(zjit_default_fastpath_fits,
20
sizeof
(
struct
rb_gc_zjit_default_new_obj_fastpath
) <=
sizeof
(
union
rb_gc_zjit_fastpath_data
));
21
22
#endif
/* RUBY_GC_DEFAULT_ZJIT_FASTPATH_H */
static_assert.h
Defines RBIMPL_STATIC_ASSERT.
RBIMPL_STATIC_ASSERT
#define RBIMPL_STATIC_ASSERT
Wraps (or simulates) static_assert
Definition
static_assert.h:67
ruby.h
rb_gc_zjit_default_new_obj_fastpath
Definition
zjit_fastpath.h:10
rb_gc_zjit_fastpath_data
Definition
gc_impl.h:23
VALUE
uintptr_t VALUE
Type that represents a Ruby object.
Definition
value.h:40
Generated by
1.9.8