Commit 35cab168f725476285e8714d751ffe6b001ac5b5

Ran Benita 2014-02-09T16:49:45

types: steal types when merging if possible Like we do everywhere else. Removes some unnecessary allocations and copying. Signed-off-by: Ran Benita <ran234@gmail.com>