Remove unused UnitEmitter::m_feMap
commite8acd400ac5688e73fe9ca8819b2fbc943f252dc
authorJan Oravec <jan@fb.com>
Wed, 5 Jun 2013 02:11:38 +0000 (4 19:11 -0700)
committersgolemon <sgolemon@hiphop-ubuntu-12.04-64>
Wed, 12 Jun 2013 18:34:39 +0000 (12 11:34 -0700)
tree7b114fe2ce385e8820239a7924780bb9d8d2a181
parente3d31d70de7f6d8cf616969ffb465a3ec62ac437
Remove unused UnitEmitter::m_feMap

The value of m_feMap is never used. Keys are used to assert when there
is an attempt to define a function with already existing name. It does
this job poorly because it is not an authoritative source of existing
function names. When the top-level function is defined, setCached() is
called, which already checks for duplicates, so let's rely on it.
hphp/compiler/analysis/emitter.cpp
hphp/runtime/vm/as.cpp
hphp/runtime/vm/func.cpp
hphp/runtime/vm/unit.cpp
hphp/runtime/vm/unit.h