aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineModuleInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-14 08:36:50 +0000
committerChris Lattner <sabre@nondot.org>2010-03-14 08:36:50 +0000
commit63d7836267298f5b6cde43f0a89acbabfc109f48 (patch)
treecfca325f2bbfbecb0f5bc5fc7f1996e58025416b /include/llvm/CodeGen/MachineModuleInfo.h
parent6b4205aa44094f96115be72dd23aaf47a0257d2f (diff)
get MMI out of the label uniquing business, just go to MCContext
to get unique assembler temporary labels. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineModuleInfo.h')
-rw-r--r--include/llvm/CodeGen/MachineModuleInfo.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h
index 6783599be3..30f99db85b 100644
--- a/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/include/llvm/CodeGen/MachineModuleInfo.h
@@ -102,9 +102,6 @@ class MachineModuleInfo : public ImmutablePass {
/// want.
MachineModuleInfoImpl *ObjFileMMI;
- /// NextLabelIDToReturn - Unique ID counter for labels.
- unsigned NextLabelIDToReturn;
-
// FrameMoves - List of moves done by a function's prolog. Used to construct
// frame maps by debug and exception handling consumers.
std::vector<MachineMove> FrameMoves;
@@ -201,21 +198,12 @@ public:
bool callsUnwindInit() const { return CallsUnwindInit; }
void setCallsUnwindInit(bool b) { CallsUnwindInit = b; }
- /// NextLabelID - Return the next unique label id.
- ///
- unsigned NextLabelID() {
- return NextLabelIDToReturn++;
- }
-
- /// getLabelSym - Turn a label ID into a symbol.
- MCSymbol *getLabelSym(unsigned ID);
-
/// getFrameMoves - Returns a reference to a list of moves done in the current
/// function's prologue. Used to construct frame maps for debug and exception
/// handling comsumers.
std::vector<MachineMove> &getFrameMoves() { return FrameMoves; }
- //===-EH-----------------------------------------------------------------===//
+ //===- EH ---------------------------------------------------------------===//
/// getOrCreateLandingPadInfo - Find or create an LandingPadInfo for the
/// specified MachineBasicBlock.