diff options
author | Björn Gustavsson <[email protected]> | 2017-10-01 07:02:44 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-10-01 07:02:44 +0200 |
commit | f75fa8129fcd18fc56407778960252e6c10a3a37 (patch) | |
tree | ce8b3ed6fe4b46ac142cb2d88ea0dc5a3c776377 /erts/emulator/beam/erl_gc.c | |
parent | 87deee8a9513714317ce7b620d3260314aad3f1e (diff) | |
parent | 281ae7c2cf7e2dfd48cf50b2f68fd76f7c6ab0e2 (diff) | |
download | otp-f75fa8129fcd18fc56407778960252e6c10a3a37.tar.gz otp-f75fa8129fcd18fc56407778960252e6c10a3a37.tar.bz2 otp-f75fa8129fcd18fc56407778960252e6c10a3a37.zip |
Merge pull request #1583 from bjorng/bjorn/erts/simplify-is_ssmall
Eliminate MY_IS_SSMALL()
Diffstat (limited to 'erts/emulator/beam/erl_gc.c')
-rw-r--r-- | erts/emulator/beam/erl_gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_gc.c b/erts/emulator/beam/erl_gc.c index 8344c164fa..97a1ca915f 100644 --- a/erts/emulator/beam/erl_gc.c +++ b/erts/emulator/beam/erl_gc.c @@ -337,7 +337,7 @@ erts_heap_sizes(Process* p) for (i = num_heap_sizes-1; i >= 0; i--) { n += 2; - if (!MY_IS_SSMALL(heap_sizes[i])) { + if (!IS_SSMALL(heap_sizes[i])) { big += BIG_UINT_HEAP_SIZE; } } @@ -352,7 +352,7 @@ erts_heap_sizes(Process* p) Eterm num; Sint sz = heap_sizes[i]; - if (MY_IS_SSMALL(sz)) { + if (IS_SSMALL(sz)) { num = make_small(sz); } else { num = uint_to_big(sz, bigp); |