diff options
author | Sverker Eriksson <[email protected]> | 2013-08-27 17:23:09 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-09-30 17:34:10 +0200 |
commit | 156b011958a3b80e507039ddc916db039874ada1 (patch) | |
tree | 1bebd9b4ba948a5fa14d091275f9f334559f35d8 /erts/emulator/beam/erl_alloc_util.c | |
parent | e0ecc86e35475b434efa6cccba44074ca1040b7a (diff) | |
download | otp-156b011958a3b80e507039ddc916db039874ada1.tar.gz otp-156b011958a3b80e507039ddc916db039874ada1.tar.bz2 otp-156b011958a3b80e507039ddc916db039874ada1.zip |
erts: Refactor the ASSERT macro
Introduce unconditional ERTS_ASSERT
and use that for both ASSERT and ASSERT_EXPR.
Diffstat (limited to 'erts/emulator/beam/erl_alloc_util.c')
-rw-r--r-- | erts/emulator/beam/erl_alloc_util.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.c b/erts/emulator/beam/erl_alloc_util.c index 825b68bb85..3ea74a12f9 100644 --- a/erts/emulator/beam/erl_alloc_util.c +++ b/erts/emulator/beam/erl_alloc_util.c @@ -87,9 +87,6 @@ static int initialized = 0; #define SYS_ALLOC_CARRIER_CEILING(X) \ SYS_ALLOC_CARRIER_FLOOR((X) + INV_SYS_ALLOC_CARRIER_MASK) -#undef ASSERT -#define ASSERT ASSERT_EXPR - #if 0 /* Can be useful for debugging */ #define MBC_REALLOC_ALWAYS_MOVES |