Exemplo n.º 1
0
void IntOperand::destroy(IntOperand*& pOperand) {
  g_IntOperandFactory->destroy(pOperand);
  g_IntOperandFactory->deallocate(pOperand);
  pOperand = NULL;
}
Exemplo n.º 2
0
void FragOperand::destroy(FragOperand*& pOperand) {
  g_FragOperandFactory->destroy(pOperand);
  g_FragOperandFactory->deallocate(pOperand);
  pOperand = NULL;
}
Exemplo n.º 3
0
void SymOperand::destroy(SymOperand*& pOperand) {
  g_SymOperandFactory->destroy(pOperand);
  g_SymOperandFactory->deallocate(pOperand);
  pOperand = NULL;
}
Exemplo n.º 4
0
void EhFrame::Destroy(EhFrame*& pSection)
{
  pSection->~EhFrame();
  g_EhFrameFactory->deallocate(pSection);
  pSection = NULL;
}
Exemplo n.º 5
0
void SectDescOperand::destroy(SectDescOperand*& pOperand) {
  g_SectDescOperandFactory->destroy(pOperand);
  g_SectDescOperandFactory->deallocate(pOperand);
  pOperand = NULL;
}
void StringList::destroy(StringList*& pStringList) {
  g_StringListFactory->destroy(pStringList);
  g_StringListFactory->deallocate(pStringList);
  pStringList = NULL;
}
Exemplo n.º 7
0
void RelocData::Destroy(RelocData*& pSection) {
  pSection->~RelocData();
  g_RelocDataFactory->deallocate(pSection);
  pSection = NULL;
}
Exemplo n.º 8
0
void NameSpec::destroy(NameSpec*& pNameSpec) {
  g_NameSpecFactory->destroy(pNameSpec);
  g_NameSpecFactory->deallocate(pNameSpec);
  pNameSpec = NULL;
}
void ELFSegment::Destroy(ELFSegment*& pSegment)
{
  g_ELFSegmentFactory->destroy(pSegment);
  g_ELFSegmentFactory->deallocate(pSegment);
  pSegment = NULL;
}
Exemplo n.º 10
0
void RpnExpr::destroy(RpnExpr*& pRpnExpr)
{
  g_ExprFactory->destroy(pRpnExpr);
  g_ExprFactory->deallocate(pRpnExpr);
  pRpnExpr = NULL;
}
void SectionData::Destroy(SectionData*& pSection) {
  pSection->~SectionData();
  g_SectDataFactory->deallocate(pSection);
  pSection = NULL;
}
Exemplo n.º 12
0
void LDSymbol::Destroy(LDSymbol*& pSymbol) {
  pSymbol->~LDSymbol();
  g_LDSymbolFactory->deallocate(pSymbol);
  pSymbol = NULL;
}
Exemplo n.º 13
0
void StrToken::destroy(StrToken*& pStrToken) {
  g_StrTokenFactory->destroy(pStrToken);
  g_StrTokenFactory->deallocate(pStrToken);
  pStrToken = NULL;
}
Exemplo n.º 14
0
void LDSection::Destroy(LDSection*& pSection) {
  g_SectFactory->destroy(pSection);
  g_SectFactory->deallocate(pSection);
  pSection = NULL;
}