diff options
author | Sverker Eriksson <[email protected]> | 2014-12-16 15:22:07 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-12-16 15:22:07 +0100 |
commit | c4228fb7cb3bd651dd44f8dfd9a4f91f41d5cc2c (patch) | |
tree | e11aab77ae5383ae16f99cff9003208f32ceb15f /erts/emulator/beam/erl_instrument.c | |
parent | be779dbb921e2f99d1d6f626d32e34053a0635d9 (diff) | |
parent | b3e52c026ce4920e1a4e36ef98e5de94666e91ef (diff) | |
download | otp-c4228fb7cb3bd651dd44f8dfd9a4f91f41d5cc2c.tar.gz otp-c4228fb7cb3bd651dd44f8dfd9a4f91f41d5cc2c.tar.bz2 otp-c4228fb7cb3bd651dd44f8dfd9a4f91f41d5cc2c.zip |
Merge branch 'sverk/ct-assert'
* sverk/ct-assert:
erts: Add compile time assert ERTS_CT_ASSERT
Diffstat (limited to 'erts/emulator/beam/erl_instrument.c')
-rw-r--r-- | erts/emulator/beam/erl_instrument.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_instrument.c b/erts/emulator/beam/erl_instrument.c index df7c443387..da85b86c87 100644 --- a/erts/emulator/beam/erl_instrument.c +++ b/erts/emulator/beam/erl_instrument.c @@ -1226,7 +1226,7 @@ erts_instr_init(int stat, int map_stat) mem_anchor = NULL; /* Install instrumentation functions */ - ASSERT(sizeof(erts_allctrs) == sizeof(real_allctrs)); + ERTS_CT_ASSERT(sizeof(erts_allctrs) == sizeof(real_allctrs)); sys_memcpy((void *)real_allctrs,(void *)erts_allctrs,sizeof(erts_allctrs)); |