Clean up code-gen emitLoad() code
commit43824590d4f77316e9928126c996d15ab768dae0
authorMax Wang <mwang@fb.com>
Thu, 18 Feb 2016 04:13:01 +0000 (17 20:13 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 18 Feb 2016 04:30:41 +0000 (17 20:30 -0800)
treed70573e60f4a290ce6ce0af9dccac521e8cd39e7
parent5154a4788944928ce5eee2b30bbf49a531d8ea38
Clean up code-gen emitLoad() code

Summary:We don't need two member functions for loading TVs, where one calls the
other one which does roughly the same thing as the first one.  In fact,
we need zero.  Free the function!

Also nix the `emit` prefix (and do the same for storeTV()).  Also kill
some dead code and sad helpers.

Reviewed By: edwinsmith

Differential Revision: D2926318

fb-gh-sync-id: 6d5adeb70c5c2fbbfa54d3f629d5249aa9cfaadc
shipit-source-id: 6d5adeb70c5c2fbbfa54d3f629d5249aa9cfaadc
hphp/runtime/vm/jit/code-gen-helpers-inl.h
hphp/runtime/vm/jit/code-gen-x64.cpp
hphp/runtime/vm/jit/code-gen-x64.h
hphp/runtime/vm/jit/unique-stubs-x64.cpp