aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-12-02 17:37:13 +0100
committerSverker Eriksson <[email protected]>2014-12-02 17:37:13 +0100
commitb3e52c026ce4920e1a4e36ef98e5de94666e91ef (patch)
treeacd32450496744ade5043d8b56cb32b5f3dae1c2 /erts/emulator/beam/beam_emu.c
parentc0067390b80f015a0342284505543d099b9e20e6 (diff)
downloadotp-b3e52c026ce4920e1a4e36ef98e5de94666e91ef.tar.gz
otp-b3e52c026ce4920e1a4e36ef98e5de94666e91ef.tar.bz2
otp-b3e52c026ce4920e1a4e36ef98e5de94666e91ef.zip
erts: Add compile time assert ERTS_CT_ASSERT
and usage
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index e9f5fd798b..3af7c43abf 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -5142,7 +5142,7 @@ get_map_elements_fail:
#ifndef NO_JUMP_TABLE
#ifdef ERTS_OPCODE_COUNTER_SUPPORT
/* Are tables correctly generated by beam_makeops? */
- ASSERT(sizeof(counting_opcodes) == sizeof(opcodes));
+ ERTS_CT_ASSERT(sizeof(counting_opcodes) == sizeof(opcodes));
#ifdef DEBUG
counting_opcodes[op_catch_end_y] = LabelAddr(lb_catch_end_y);
#endif