diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2020-04-29 00:01:46 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-04-29 00:05:46 +0900 |
commit | 1994ed90e4013b3a35d72743a0e7648efc31576c (patch) | |
tree | 5e280a9cba441635ec4c9cb212d01c13699c2b9d | |
parent | 31a4ee4caa3c73549cb8f3a14c99494daaa2f204 (diff) | |
download | ruby-1994ed90e4013b3a35d72743a0e7648efc31576c.tar.gz |
Remove debugging code from gc.c
Partially revert adab82b9a71f60ad1c7f4f8c134a5ae9198ab32a and
c63b5c6179d700ceacf5cae8d3ee86da1294c781.
The issue that these commits attempt to address was maybe fixed with
1c7f5a57125001447dc6173847dc68aa50bd8e93.
-rw-r--r-- | gc.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -9644,9 +9644,6 @@ 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); } @@ -9860,7 +9857,7 @@ objspace_malloc_fixup(rb_objspace_t *objspace, void *mem, size_t size) return mem; } -#if defined(__GNUC__) /* && RUBY_DEBUG */ +#if defined(__GNUC__) && RUBY_DEBUG #define RB_BUG_INSTEAD_OF_RB_MEMERROR #endif |