diff options
author | Sverker Eriksson <[email protected]> | 2015-09-10 12:01:17 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-11-12 15:25:47 +0100 |
commit | 49d2f809cf8435b17d54f0fd2f37a8aa939ea457 (patch) | |
tree | 6ea8ed61d9855e5607874fd5c98b638f9dd683e5 /erts/emulator/beam/erl_gc.c | |
parent | b7f760cee119e1824de0cfc2b34ae6fe971bf505 (diff) | |
download | otp-49d2f809cf8435b17d54f0fd2f37a8aa939ea457.tar.gz otp-49d2f809cf8435b17d54f0fd2f37a8aa939ea457.tar.bz2 otp-49d2f809cf8435b17d54f0fd2f37a8aa939ea457.zip |
fix check_process_code for separate literal area
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 734f120e09..89fabde67c 100644 --- a/erts/emulator/beam/erl_gc.c +++ b/erts/emulator/beam/erl_gc.c @@ -645,10 +645,10 @@ erts_garbage_collect_hibernate(Process* p) void erts_garbage_collect_literals(Process* p, Eterm* literals, - Uint lit_size, + Uint byte_lit_size, struct erl_off_heap_header* oh) { - Uint byte_lit_size = sizeof(Eterm)*lit_size; + Uint lit_size = byte_lit_size / sizeof(Eterm); Uint old_heap_size; Eterm* temp_lit; Sint offs; |