Refine some use of types in the IR
commit162b46fb99abc5bd8fd7764a949d00fb0d96ac19
authorbsimmers <bsimmers@fb.com>
Fri, 8 Feb 2013 20:38:17 +0000 (8 12:38 -0800)
committerSara Golemon <sgolemon@fb.com>
Wed, 13 Feb 2013 14:43:40 +0000 (13 06:43 -0800)
tree62d43e1c1ec332af3ae01680a9e2d76ff441e515
parentf5188b8fe9c541118713fae3ef766d022c8822c2
Refine some use of types in the IR

- LdLocAddr now returns a properly typed pointer
- Audit and clean up every use of Type::Null
- Add Type::debugString for use in gdb (calling Type::isString often
doesn't work)
- PtrToStr and PtrToNull are statically known
hphp/doc/ir.specification
hphp/runtime/vm/translator/hopt/codegen.cpp
hphp/runtime/vm/translator/hopt/hhbctranslator.cpp
hphp/runtime/vm/translator/hopt/ir.cpp
hphp/runtime/vm/translator/hopt/ir.h
hphp/runtime/vm/translator/hopt/linearscan.cpp
hphp/runtime/vm/translator/hopt/simplifier.cpp
hphp/runtime/vm/translator/hopt/test/type.cpp
hphp/runtime/vm/translator/hopt/tracebuilder.cpp
hphp/runtime/vm/translator/hopt/tracebuilder.h
hphp/runtime/vm/translator/hopt/vectortranslator.cpp