diff options
author | Björn-Egil Dahlberg <[email protected]> | 2017-02-28 15:22:35 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2017-02-28 15:55:25 +0100 |
commit | 6b51f402e4e656776565233021edcea8f4d1590b (patch) | |
tree | 9e5bfb0edba8e1befbeb9a955707dc286906acf7 /erts/emulator/beam/copy.c | |
parent | 4bbbf4ff9b3fe4be24bf8d57780c84d5b3ca0f77 (diff) | |
download | otp-6b51f402e4e656776565233021edcea8f4d1590b.tar.gz otp-6b51f402e4e656776565233021edcea8f4d1590b.tar.bz2 otp-6b51f402e4e656776565233021edcea8f4d1590b.zip |
erts: Refactor MOVE_BOXED to inline function
Diffstat (limited to 'erts/emulator/beam/copy.c')
-rw-r--r-- | erts/emulator/beam/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/copy.c b/erts/emulator/beam/copy.c index 85db23393c..a8e37c0173 100644 --- a/erts/emulator/beam/copy.c +++ b/erts/emulator/beam/copy.c @@ -1990,7 +1990,7 @@ move_one_frag(Eterm** hpp, ErlHeapFragment* frag, ErlOffHeap* off_heap, int lite if (is_header(val)) { struct erl_off_heap_header* hdr = (struct erl_off_heap_header*)hp; ASSERT(ptr + header_arity(val) < end); - MOVE_BOXED(ptr, val, hp, &dummy_ref); + move_boxed(&ptr, val, &hp, &dummy_ref); switch (val & _HEADER_SUBTAG_MASK) { case REF_SUBTAG: if (is_ordinary_ref_thing(hdr)) |