Make isSlowPath() a public member of ColdBlockInfo.

Swift SVN r24108
This commit is contained in:
Erik Eckstein
2014-12-23 09:11:57 +00:00
parent 6d9a7a1045
commit cf0030b587
2 changed files with 3 additions and 1 deletions

View File

@@ -36,6 +36,8 @@ class ColdBlockInfo {
public:
ColdBlockInfo(DominanceAnalysis *DA): DA(DA) {}
static bool isSlowPath(const SILBasicBlock *FromBB, const SILBasicBlock *ToBB);
bool isCold(const SILBasicBlock *BB);
};
} // end namespace swift