Remove dead function: emitContVarEnvHelperCall().
It was never called. Reviewed By: @ottoni Differential Revision: D1146574
Esse commit está contido em:
@@ -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();
|
||||
|
||||
|
||||
@@ -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(); }
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário