diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-02-16 09:30:23 +0000 | 
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-02-16 09:30:23 +0000 | 
| commit | 6fe5c7aa327e188b7176daa5595bbf075a6b94df (patch) | |
| tree | 4cfca640904d1896e25032757a61f8959c066919 /include/llvm/CodeGen/MachineBasicBlock.h | |
| parent | 989df958a10f0beb90b89ccadd8351cbe51d90b1 (diff) | |
Notes
Diffstat (limited to 'include/llvm/CodeGen/MachineBasicBlock.h')
| -rw-r--r-- | include/llvm/CodeGen/MachineBasicBlock.h | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index 20644c17e1ad..db82ba5b5650 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -21,6 +21,9 @@ namespace llvm {  class BasicBlock;  class MachineFunction; +class MCContext; +class MCSymbol; +class StringRef;  class raw_ostream;  template <> @@ -338,7 +341,7 @@ public:                              bool isCond);    /// findDebugLoc - find the next valid DebugLoc starting at MBBI, skipping -  /// any DEBUG_VALUE instructions.  Return UnknownLoc if there is none. +  /// any DBG_VALUE instructions.  Return UnknownLoc if there is none.    DebugLoc findDebugLoc(MachineBasicBlock::iterator &MBBI);    // Debugging methods. @@ -352,6 +355,10 @@ public:    int getNumber() const { return Number; }    void setNumber(int N) { Number = N; } +  /// getSymbol - Return the MCSymbol for this basic block. +  /// +  MCSymbol *getSymbol(MCContext &Ctx) const; +    private:   // Methods used to maintain doubly linked list of blocks...    friend struct ilist_traits<MachineBasicBlock>;  | 
