mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 11:51:13 +00:00
stop using method.
llvm-svn: 20603
This commit is contained in:
parent
f0c2ba9aa1
commit
8cfd7fbf35
@ -63,7 +63,7 @@ namespace {
|
||||
// can be "used", instead of ones with bodies.
|
||||
std::vector<Function*> NewFunctions;
|
||||
|
||||
Function *Last = &M.back(); // Figure out where the last real fn is...
|
||||
Function *Last = --M.end(); // Figure out where the last real fn is.
|
||||
|
||||
for (Module::iterator I = M.begin(); ; ++I) {
|
||||
if (&*I != Named) {
|
||||
|
Loading…
Reference in New Issue
Block a user