mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Use Function::getEntryBlock instead of Function::begin, for clarity.
llvm-svn: 51613
This commit is contained in:
parent
327d2c6167
commit
4b11213552
@ -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…
x
Reference in New Issue
Block a user