Disabled non-refcounted locals optimization

It's still flaky, and I'm hitting asserts related to it on
trunk right now.
Esse commit está contido em:
bsimmers
2013-04-11 17:28:16 -07:00
commit de Sara Golemon
commit 0dd21ce600
+3 -2
Ver Arquivo
@@ -2226,11 +2226,12 @@ bool EmitterVisitor::visitImpl(ConstructPtr node) {
false, 0, 0);
}
for (auto& l : r->nonRefcountedLocals()) {
// XXX: disabled until static analysis is more reliable: t2225399
/*for (auto& l : r->nonRefcountedLocals()) {
auto v = m_curFunc->lookupVarId(StringData::GetStaticString(l));
m_metaInfo.add(m_ue.bcPos(), Unit::MetaInfo::NonRefCounted,
false, 0, v);
}
}*/
if (retV) {
e.RetV();
} else {