1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

rb_memerror: abort immediately

Ditto for adab82b9a7.  TRY_WITH_GC was
found innocent.
This commit is contained in:
卜部昌平 2020-04-21 16:29:52 +09:00
parent dc9089b51f
commit c63b5c6179

3
gc.c
View file

@ -9642,6 +9642,9 @@ rb_memerror(void)
exc = ruby_vm_special_exception_copy(exc);
}
ec->errinfo = exc;
#ifdef __INTEL_COMPILER
__builtin_trap(); /* Yes, icc has it.*/
#endif
EC_JUMP_TAG(ec, TAG_RAISE);
}