Bug #17511 » ruby-ec-volatile.patch
| eval_intern.h | ||
|---|---|---|
|
return state;
|
||
|
}
|
||
|
NORETURN(static inline void rb_ec_tag_jump(const rb_execution_context_t *ec, enum ruby_tag_type st));
|
||
|
NORETURN(static inline void rb_ec_tag_jump(const rb_execution_context_t * volatile ec, enum ruby_tag_type st));
|
||
|
static inline void
|
||
|
rb_ec_tag_jump(const rb_execution_context_t *ec, enum ruby_tag_type st)
|
||
|
rb_ec_tag_jump(const rb_execution_context_t * volatile ec, enum ruby_tag_type st)
|
||
|
{
|
||
|
ec->tag->state = st;
|
||
|
ruby_longjmp(ec->tag->buf, 1);
|
||
|
-- a/vm.c
|
||
|
++ b/vm.c
|
||
| ... | ... | |
|
VALUE errinfo, VALUE *initial);
|
||
|
VALUE
|
||
|
vm_exec(rb_execution_context_t *ec, bool mjit_enable_p)
|
||
|
vm_exec(rb_execution_context_t * volatile ec, bool mjit_enable_p)
|
||
|
{
|
||
|
enum ruby_tag_type state;
|
||
|
VALUE result = Qundef;
|
||
- « Previous
- 1
- 2
- Next »