Rename SILBasicBlock::getID() -> getDebugID()

Swift SVN r24321
This commit is contained in:
Erik Eckstein
2015-01-09 19:37:03 +00:00
parent e021f5077d
commit c2776c455b
3 changed files with 8 additions and 6 deletions

View File

@@ -58,10 +58,11 @@ public:
~SILBasicBlock();
/// Gets the ID (= index in the function's block list) of the block.
///
/// Returns -1 if the block is not contained in a function.
/// Warning: This function is slow. Therefore it should only be used for
/// debug output.
int getID();
int getDebugID();
SILFunction *getParent() { return Parent; }
const SILFunction *getParent() const { return Parent; }