Zero-extend NvGetStr type registernightly-2020.05.10
commitdaec38aac8569a03c5fb47712aed7b0b80ceb5f6
authorShaunak Kishore <kshaunak@fb.com>
Sun, 10 May 2020 00:21:48 +0000 (9 17:21 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sun, 10 May 2020 00:24:07 +0000 (9 17:24 -0700)
tree63a9e33831fca3bc34b8d476614d0418a92b4846
parent6e3db8627afc48cd78bd6196a1a294dbb59f50dd
Zero-extend NvGetStr type register

Summary: We should zero out the upper bits of the type byte here. The old way is still correct, but loading the full quadword is unnecessary.

Reviewed By: ricklavoie

Differential Revision: D21486765

fbshipit-source-id: b631bb1a4eef6e4282b4d157f1b86f9bdd7de9b5
hphp/runtime/base/hash-table-x64.S