diff options
author | Sverker Eriksson <[email protected]> | 2017-12-08 19:02:04 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-12-20 15:14:46 +0100 |
commit | 97152092fd4e5fe827a4dac42f3b51ae634ba1ff (patch) | |
tree | d3aff784f35766fceca5faa98a0bef9110c0366d /erts/emulator/test/alloc_SUITE_data/allocator_test.h | |
parent | abb61a8b4039bb9059cb6a8cf78feaad5f2cdc28 (diff) | |
download | otp-97152092fd4e5fe827a4dac42f3b51ae634ba1ff.tar.gz otp-97152092fd4e5fe827a4dac42f3b51ae634ba1ff.tar.bz2 otp-97152092fd4e5fe827a4dac42f3b51ae634ba1ff.zip |
erts: Improve alloc_SUITE:migration
to mix it up with some realloc calls.
Diffstat (limited to 'erts/emulator/test/alloc_SUITE_data/allocator_test.h')
-rw-r--r-- | erts/emulator/test/alloc_SUITE_data/allocator_test.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/test/alloc_SUITE_data/allocator_test.h b/erts/emulator/test/alloc_SUITE_data/allocator_test.h index 97ee58cdad..5272f86c98 100644 --- a/erts/emulator/test/alloc_SUITE_data/allocator_test.h +++ b/erts/emulator/test/alloc_SUITE_data/allocator_test.h @@ -156,7 +156,8 @@ typedef void* erts_cond; #define IS_SMP_ENABLED ((int) ALC_TEST0(0xf13)) #define ALLOC_TEST(S) ((void*) ALC_TEST1(0xf14, (S))) #define FREE_TEST(P) ((void) ALC_TEST1(0xf15, (P))) -#define SET_TEST_MBC_USER_HEADER(SZ,CMBC,DMBC) ((int)ALC_TEST3(0xf16, (SZ), (CMBC), (DMBC))) -#define GET_TEST_MBC_SIZE() ((int) ALC_TEST0(0xf17)) +#define REALLOC_TEST(P,S) ((void*) ALC_TEST2(0xf16, (P), (S))) +#define SET_TEST_MBC_USER_HEADER(SZ,CMBC,DMBC) ((int)ALC_TEST3(0xf17, (SZ), (CMBC), (DMBC))) +#define GET_TEST_MBC_SIZE() ((int) ALC_TEST0(0xf18)) #endif |