cleanup: gencgc copy_unboxed_object and shared gc_general_copy_object
authorNikodemus Siivola <nikodemus@random-state.net>
Wed, 28 Mar 2012 10:40:35 +0000 (13:40 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Fri, 13 Apr 2012 10:06:55 +0000 (13:06 +0300)
commit40f6a8f39da1faba169a081dfd3aeb7ad8391f55
tree436de6980f9689b13605d8004b76037d7067b3be
parent7be8d1462a207bda809cd7553c5d76c6ebc4dda2
cleanup: gencgc copy_unboxed_object and shared gc_general_copy_object

  Implement the first in terms of the second: they're identical except for the
  calling convention. Move the second to gc-internal.h as an inline function.

  Also eliminates a couple of longs.
src/runtime/gc-common.c
src/runtime/gc-internal.h
src/runtime/gencgc.c