[heap] Slightly optimize Heap::UpdateAllocationSite()
This function is called for every live object in new space. We statically know which version to call, so let's use templates here and eliminite a branch at runtime. BUG=chromium:524425 LOG=N Review URL: https://codereview.chromium.org/1659823002 Cr-Commit-Position: refs/heads/master@{#33662}
Showing
Please
register
or
sign in
to comment