Fix some lowptr llvm issues
commit3662e95bf5817e896fbffd3c058fa9822f92fc10
authorBrett Simmers <bsimmers@fb.com>
Thu, 18 Dec 2014 21:27:56 +0000 (18 13:27 -0800)
committerJoelMarcey <joelm@fb.com>
Fri, 19 Dec 2014 01:15:51 +0000 (18 17:15 -0800)
tree04437b045aa196c7b327e871a76680e6603ab43f
parentf8374ca5c2f361c91e5a406152e27823d3881707
Fix some lowptr llvm issues

Summary: Certain pointers are 4 bytes in memory but we still want them to be 8
bytes in registers, so we need to insert some trunc/zext instructions. This
shouldn't affect generated code in the x64 backend.

Reviewed By: @jasone

Differential Revision: D1748163

Signature: t1:1748163:1418924796:be359657303428999a73e1911ea060f439663a50
hphp/runtime/vm/jit/code-gen-helpers-x64.cpp