diff options
author | Sverker Eriksson <[email protected]> | 2013-08-27 17:36:58 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-09-30 17:34:10 +0200 |
commit | ca1dc60a852c7827c2934ffeacefdd0119e2d776 (patch) | |
tree | d978f60d7377de86cc4f316d95354db4fe999e4d /erts/emulator/beam/global.h | |
parent | 156b011958a3b80e507039ddc916db039874ada1 (diff) | |
download | otp-ca1dc60a852c7827c2934ffeacefdd0119e2d776.tar.gz otp-ca1dc60a852c7827c2934ffeacefdd0119e2d776.tar.bz2 otp-ca1dc60a852c7827c2934ffeacefdd0119e2d776.zip |
erts: Remove ASSERT_EXPR macro
Diffstat (limited to 'erts/emulator/beam/global.h')
-rwxr-xr-x | erts/emulator/beam/global.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index bacd5a5752..063d16c0c7 100755 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -866,13 +866,13 @@ Eterm store_external_or_ref_in_proc_(Process *, Eterm); Eterm store_external_or_ref_(Uint **, ErlOffHeap*, Eterm); #define NC_HEAP_SIZE(NC) \ - (ASSERT_EXPR(is_node_container((NC))), \ + (ASSERT(is_node_container((NC))), \ IS_CONST((NC)) ? 0 : (thing_arityval(*boxed_val((NC))) + 1)) #define STORE_NC(Hpp, ETpp, NC) \ - (ASSERT_EXPR(is_node_container((NC))), \ + (ASSERT(is_node_container((NC))), \ IS_CONST((NC)) ? (NC) : store_external_or_ref_((Hpp), (ETpp), (NC))) #define STORE_NC_IN_PROC(Pp, NC) \ - (ASSERT_EXPR(is_node_container((NC))), \ + (ASSERT(is_node_container((NC))), \ IS_CONST((NC)) ? (NC) : store_external_or_ref_in_proc_((Pp), (NC))) /* duplicates from big.h */ |