gcc_jit_field *lisp_obj_as_ptr;
gcc_jit_field *lisp_obj_as_num;
/* struct jmp_buf. */
- gcc_jit_struct *jmp_buf;
+ gcc_jit_struct *jmp_buf_s;
/* struct handler. */
- gcc_jit_struct *handler;
+ gcc_jit_struct *handler_s;
gcc_jit_field *handler_jmp_field;
gcc_jit_field *handler_val_field;
gcc_jit_field *handler_next_field;
gcc_jit_type *handler_ptr_type;
/* struct thread_state. */
- gcc_jit_struct *thread_state;
+ gcc_jit_struct *thread_state_s;
gcc_jit_field *m_handlerlist;
gcc_jit_type *thread_state_ptr_type;
gcc_jit_rvalue *current_thread;
comp.char_type,
sizeof (jmp_buf)),
"stuff");
- comp.jmp_buf =
+ comp.jmp_buf_s =
gcc_jit_context_new_struct_type (comp.ctxt,
NULL,
"comp_jmp_buf",
static void
define_handler_struct (void)
{
- comp.handler = gcc_jit_context_new_opaque_struct (comp.ctxt, NULL, "comp_handler");
+ comp.handler_s =
+ gcc_jit_context_new_opaque_struct (comp.ctxt, NULL, "comp_handler");
comp.handler_ptr_type =
- gcc_jit_type_get_pointer (gcc_jit_struct_as_type (comp.handler));
+ gcc_jit_type_get_pointer (gcc_jit_struct_as_type (comp.handler_s));
comp.handler_jmp_field = gcc_jit_context_new_field (comp.ctxt,
NULL,
gcc_jit_struct_as_type (
- comp.jmp_buf),
+ comp.jmp_buf_s),
"jmp");
comp.handler_val_field = gcc_jit_context_new_field (comp.ctxt,
NULL,
- offsetof (struct handler, jmp)
- sizeof (((struct handler *) 0)->jmp)),
"pad2") };
- gcc_jit_struct_set_fields (comp.handler,
+ gcc_jit_struct_set_fields (comp.handler_s,
NULL,
sizeof (fields) / sizeof (*fields),
fields);
- sizeof (((struct thread_state *) 0)->m_handlerlist)),
"pad1") };
- comp.thread_state =
+ comp.thread_state_s =
gcc_jit_context_new_struct_type (comp.ctxt,
NULL,
"comp_thread_state",
sizeof (fields) / sizeof (*fields),
fields);
comp.thread_state_ptr_type =
- gcc_jit_type_get_pointer (gcc_jit_struct_as_type (comp.thread_state));
+ gcc_jit_type_get_pointer (gcc_jit_struct_as_type (comp.thread_state_s));
}
/* Declare a substitute for PSEUDOVECTORP as inline function. */