Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion gc/mmtk/mmtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ rb_mmtk_gc_thread_bug(const char *msg, ...)
rb_bug("rb_mmtk_gc_thread_bug");
}

RBIMPL_ATTR_NORETURN()
static void
rb_mmtk_gc_thread_panic_handler(void)
{
Expand Down Expand Up @@ -983,7 +984,7 @@ static inline VALUE
rb_mmtk_call_object_closure(VALUE obj, bool pin)
{
if (RB_UNLIKELY(RB_BUILTIN_TYPE(obj) == T_NONE)) {
const size_t info_size = 256;
enum { info_size = 256 };
char obj_info_buf[info_size];
rb_raw_obj_info(obj_info_buf, info_size, obj);

Expand Down
Loading