diff options
author | Dale Johannesen <dalej@apple.com> | 2010-01-20 21:36:02 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-01-20 21:36:02 +0000 |
commit | 73e884bb3e971b1e794ba2501df15138f73b8b1a (patch) | |
tree | faeace4a1ac5310bba52fb09b777f44711436340 /include | |
parent | 917d6282567e4d0bb0e0e4ef4b4cd153661fccfa (diff) | |
download | external_llvm-73e884bb3e971b1e794ba2501df15138f73b8b1a.zip external_llvm-73e884bb3e971b1e794ba2501df15138f73b8b1a.tar.gz external_llvm-73e884bb3e971b1e794ba2501df15138f73b8b1a.tar.bz2 |
make findDebugLoc a class method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineBasicBlock.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index ad4bc1f..20644c1 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -337,6 +337,10 @@ public: MachineBasicBlock *DestB, bool isCond); + /// findDebugLoc - find the next valid DebugLoc starting at MBBI, skipping + /// any DEBUG_VALUE instructions. Return UnknownLoc if there is none. + DebugLoc findDebugLoc(MachineBasicBlock::iterator &MBBI); + // Debugging methods. void dump() const; void print(raw_ostream &OS) const; @@ -367,9 +371,6 @@ private: // Methods used to maintain doubly linked list of blocks... void removePredecessor(MachineBasicBlock *pred); }; -DebugLoc -findDebugLoc(MachineBasicBlock::iterator &MBBI, MachineBasicBlock &MBB); - raw_ostream& operator<<(raw_ostream &OS, const MachineBasicBlock &MBB); void WriteAsOperand(raw_ostream &, const MachineBasicBlock*, bool t); |