Remove dead function: emitContVarEnvHelperCall().

It was never called.

Reviewed By: @ottoni

Differential Revision: D1146574
Esse commit está contido em:
Edwin Smith
2014-01-28 05:25:26 -08:00
commit de Sara Golemon
commit 35ca2405fc
2 arquivos alterados com 0 adições e 15 exclusões
-14
Ver Arquivo
@@ -5854,20 +5854,6 @@ void CodeGenerator::cgContEnter(IRInstruction* inst) {
m_as. call (curOpd(addr).reg());
}
void CodeGenerator::emitContVarEnvHelperCall(SSATmp* fp, TCA helper) {
auto scratch = m_rScratch;
m_as. loadq (curOpd(fp).reg()[AROFF(m_varEnv)], scratch);
m_as. testq (scratch, scratch);
unlikelyIfBlock(CC_NZ, [&] (Asm& a) {
cgCallHelper(a,
CppCall(helper),
kVoidDest,
SyncOptions::kNoSyncPoint,
ArgGroup(curOpds()).ssa(fp));
});
}
void CodeGenerator::cgContPreNext(IRInstruction* inst) {
auto contReg = curOpd(inst->src(0)).reg();
-1
Ver Arquivo
@@ -315,7 +315,6 @@ private:
RDS::Handle cgLdClsCachedCommon(IRInstruction* inst);
void emitFwdJcc(ConditionCode cc, Block* target);
void emitFwdJcc(Asm& a, ConditionCode cc, Block* target);
void emitContVarEnvHelperCall(SSATmp* fp, TCA helper);
const Func* curFunc() const;
Class* curClass() const { return curFunc()->cls(); }
const Unit* curUnit() const { return curFunc()->unit(); }