Nobuyoshi Nakada
d6ac5c53d4
Revert "Always evaluate the expression RUBY_ASSERT_MESG_WHEN just once"
...
It caused a significant benchmark fall. Some assertions seem to
use expressions with side-effects which cannot be inlined.
This reverts commit b452c03a14
.
2019-08-05 08:55:09 +09:00
Nobuyoshi Nakada
b452c03a14
Always evaluate the expression RUBY_ASSERT_MESG_WHEN just once
2019-07-15 17:45:37 +09:00
Nobuyoshi Nakada
a7fdb22373
Enable RUBY_ASSERT_MESG_WHEN when RUBY_DEBUG is turned on
2019-07-15 11:01:53 +09:00
Koichi Sasada
f6f09cbc76
introduce RUBY_ASSERT_ALWAYS(expr).
...
RUBY_ASSERT_ALWAYS(expr) ignores NDEBUG (we cannot remove this
assertion).
2019-07-15 10:21:41 +09:00
Nobuyoshi Nakada
08c2a9dc59
Introduce RUBY_DEBUG flag macro
...
When RUBY_DEBUG is turned on, all RUBY_ASSERT() macros will be
enabled regardless RUBY_NDEBUG.
2019-07-14 17:58:06 +09:00
git
73904abb95
* expand tabs.
2019-07-14 17:45:52 +09:00
Nobuyoshi Nakada
32f0135144
Split RUBY_ASSERT and so on under include/ruby
2019-07-14 17:45:21 +09:00