mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-18 17:38:30 +00:00
remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98365 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0f129a5d9
commit
0d941c15c0
@ -50,25 +50,6 @@ DwarfException::~DwarfException() {
|
|||||||
delete ExceptionTimer;
|
delete ExceptionTimer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// CreateLabelDiff - Emit a label and subtract it from the expression we
|
|
||||||
/// already have. This is equivalent to emitting "foo - .", but we have to emit
|
|
||||||
/// the label for "." directly.
|
|
||||||
const MCExpr *DwarfException::CreateLabelDiff(const MCExpr *ExprRef,
|
|
||||||
const char *LabelName,
|
|
||||||
unsigned Index) {
|
|
||||||
SmallString<64> Name;
|
|
||||||
raw_svector_ostream(Name) << MAI->getPrivateGlobalPrefix()
|
|
||||||
<< LabelName << Asm->getFunctionNumber()
|
|
||||||
<< "_" << Index;
|
|
||||||
MCSymbol *DotSym = Asm->OutContext.GetOrCreateTemporarySymbol(Name.str());
|
|
||||||
Asm->OutStreamer.EmitLabel(DotSym);
|
|
||||||
|
|
||||||
return MCBinaryExpr::CreateSub(ExprRef,
|
|
||||||
MCSymbolRefExpr::Create(DotSym,
|
|
||||||
Asm->OutContext),
|
|
||||||
Asm->OutContext);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// EmitCIE - Emit a Common Information Entry (CIE). This holds information that
|
/// EmitCIE - Emit a Common Information Entry (CIE). This holds information that
|
||||||
/// is shared among many Frame Description Entries. There is at least one CIE
|
/// is shared among many Frame Description Entries. There is at least one CIE
|
||||||
/// in every non-empty .debug_frame section.
|
/// in every non-empty .debug_frame section.
|
||||||
|
@ -169,11 +169,6 @@ class DwarfException : public DwarfPrinter {
|
|||||||
const SmallVectorImpl<unsigned> &FirstActions);
|
const SmallVectorImpl<unsigned> &FirstActions);
|
||||||
void EmitExceptionTable();
|
void EmitExceptionTable();
|
||||||
|
|
||||||
/// CreateLabelDiff - Emit a label and subtract it from the expression we
|
|
||||||
/// already have. This is equivalent to emitting "foo - .", but we have to
|
|
||||||
/// emit the label for "." directly.
|
|
||||||
const MCExpr *CreateLabelDiff(const MCExpr *ExprRef, const char *LabelName,
|
|
||||||
unsigned Index);
|
|
||||||
public:
|
public:
|
||||||
//===--------------------------------------------------------------------===//
|
//===--------------------------------------------------------------------===//
|
||||||
// Main entry points.
|
// Main entry points.
|
||||||
|
Loading…
Reference in New Issue
Block a user