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:
parent
dc9089b51f
commit
c63b5c6179
1 changed files with 3 additions and 0 deletions
3
gc.c
3
gc.c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue