Copy given object into given heap object.
- Parameters
-
dest | Pointer to destination heap memory slot |
obj | Object to copy |
thd | Thread data object for the applicable mutator |
- Returns
- The appropriate pointer to use for
obj
NOTE: There is no additional type checking because this function is called from gc_move
which already does that.