aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/external.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-08-27 17:36:58 +0200
committerSverker Eriksson <[email protected]>2013-09-30 17:34:10 +0200
commitca1dc60a852c7827c2934ffeacefdd0119e2d776 (patch)
treed978f60d7377de86cc4f316d95354db4fe999e4d /erts/emulator/beam/external.h
parent156b011958a3b80e507039ddc916db039874ada1 (diff)
downloadotp-ca1dc60a852c7827c2934ffeacefdd0119e2d776.tar.gz
otp-ca1dc60a852c7827c2934ffeacefdd0119e2d776.tar.bz2
otp-ca1dc60a852c7827c2934ffeacefdd0119e2d776.zip
erts: Remove ASSERT_EXPR macro
Diffstat (limited to 'erts/emulator/beam/external.h')
-rw-r--r--erts/emulator/beam/external.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/external.h b/erts/emulator/beam/external.h
index e37d47919e..ff29e84972 100644
--- a/erts/emulator/beam/external.h
+++ b/erts/emulator/beam/external.h
@@ -138,8 +138,8 @@ typedef struct {
#define ERTS_DIST_EXT_SIZE(EDEP) \
(sizeof(ErtsDistExternal) \
- (((EDEP)->flags & ERTS_DIST_EXT_ATOM_TRANS_TAB) \
- ? (ASSERT_EXPR(0 <= (EDEP)->attab.size \
- && (EDEP)->attab.size <= ERTS_ATOM_CACHE_SIZE), \
+ ? (ASSERT(0 <= (EDEP)->attab.size \
+ && (EDEP)->attab.size <= ERTS_ATOM_CACHE_SIZE), \
sizeof(Eterm)*(ERTS_ATOM_CACHE_SIZE - (EDEP)->attab.size)) \
: sizeof(ErtsAtomTranslationTable)))