diff options
author | Björn-Egil Dahlberg <[email protected]> | 2017-02-28 15:32:58 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2017-02-28 15:55:25 +0100 |
commit | 3e638439e80e388aa66a2047735a47c954cd70c8 (patch) | |
tree | 75f5eba123a29ecccca0cee62af19dd8753178b5 /erts/emulator/beam/copy.c | |
parent | 6b51f402e4e656776565233021edcea8f4d1590b (diff) | |
download | otp-3e638439e80e388aa66a2047735a47c954cd70c8.tar.gz otp-3e638439e80e388aa66a2047735a47c954cd70c8.tar.bz2 otp-3e638439e80e388aa66a2047735a47c954cd70c8.zip |
erts: Refactor MOVE_CONS 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 a8e37c0173..e567eabc82 100644 --- a/erts/emulator/beam/copy.c +++ b/erts/emulator/beam/copy.c @@ -2007,7 +2007,7 @@ move_one_frag(Eterm** hpp, ErlHeapFragment* frag, ErlOffHeap* off_heap, int lite } else { /* must be a cons cell */ ASSERT(ptr+1 < end); - MOVE_CONS(ptr, val, hp, &dummy_ref); + move_cons(&ptr, val, &hp, &dummy_ref); ptr += 2; } } |