mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 13:44:28 +00:00
Use Function::getEntryBlock instead of Function::begin, for clarity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51613 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b22d6ac348
commit
ef61af01df
@ -272,7 +272,7 @@ void SparseSolver::visitInst(Instruction &I) {
|
||||
}
|
||||
|
||||
void SparseSolver::Solve(Function &F) {
|
||||
MarkBlockExecutable(F.begin());
|
||||
MarkBlockExecutable(&F.getEntryBlock());
|
||||
|
||||
// Process the work lists until they are empty!
|
||||
while (!BBWorkList.empty() || !InstWorkList.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user