Don't uselessly pass slab pointer to splitTail/storeTail
commit2f6086c559bd3e70211482924c5980e1b4a06601
authorAlexey Toptygin <alexeyt@fb.com>
Fri, 22 Jul 2022 08:37:52 +0000 (22 01:37 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 22 Jul 2022 08:37:52 +0000 (22 01:37 -0700)
treec3754aabbc62fa9aab0ccd3cf1853aaa818476b4
parent37469c98b410606b6f7a7baedb5665dfce3dde2a
Don't uselessly pass slab pointer to splitTail/storeTail

Summary: Helper functions splitTail and storeTail in memory-manager.cpp both take a Slab* but do nothing at all with it. Remove the useless args and stop needlessly computing the Slab* just to pass it in to these helpers.

Reviewed By: ricklavoie

Differential Revision: D38042512

fbshipit-source-id: 55b0c33a9467d92f46df2a82d0550e86f5bf49d8
hphp/runtime/base/memory-manager.cpp