Add TranslArgs and delete a bunch of tx64 code
commita9f529a91a9c8fafe904669d2c3467f373991873
authorbsimmers <bsimmers@fb.com>
Mon, 20 May 2013 22:21:45 +0000 (20 15:21 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 21 May 2013 18:17:37 +0000 (21 11:17 -0700)
tree92c87d325ec0878c145a8c98d6589423cb810969
parent21b545f297c5c43a33f98b0854df8d3dcee238af
Add TranslArgs and delete a bunch of tx64 code

I want to add a new argument to translateTracelet. Rather
than plumbing it through the many functions in the translation stack,
let's use an options struct. Dealing with the many bools we had flying
around controlling hhir was complicating things, so I removed
m_useHHIR and collapsed them all into an "interp" bool in
TranslArgs. I removed any code that was clearly unreachable from these
changes.
hphp/runtime/vm/translator/hopt/irtranslator.cpp
hphp/runtime/vm/translator/translator-x64.cpp
hphp/runtime/vm/translator/translator-x64.h
hphp/runtime/vm/translator/translator.cpp
hphp/runtime/vm/translator/translator.h