mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
stop using method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20603 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
77d6924304
commit
feb1550824
@ -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