Minor tweaks to StateVector @override-unit-failures
commit71a51b31ec3edd34743d1dde62c104588d0a4245
authorJordan DeLong <jdelong@fb.com>
Mon, 6 May 2013 00:04:46 +0000 (5 17:04 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 7 May 2013 17:55:30 +0000 (7 10:55 -0700)
treecc60453289b64daec3cb0890072c307e4e4ce6aa
parent08693f9d6f1653d05852778aa0457eadf1af9dee
Minor tweaks to StateVector @override-unit-failures

- Move to state_vector.h
- Use smart::vector instead of std::vector
- Make factoryId and count helpers private
- Add const_iterator support
- Make grow() use resize() instead of looping push_back().
- Use assign() in reset().
hphp/runtime/vm/translator/hopt/codegen.h
hphp/runtime/vm/translator/hopt/dce.cpp
hphp/runtime/vm/translator/hopt/irfactory.h
hphp/runtime/vm/translator/hopt/linearscan.cpp
hphp/runtime/vm/translator/hopt/linearscan.h
hphp/runtime/vm/translator/hopt/state_vector.h [new file with mode: 0644]
hphp/runtime/vm/translator/hopt/tracebuilder.h