projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d6924
)
stop using method.
author
Chris Lattner
<sabre@nondot.org>
Tue, 15 Mar 2005 05:19:49 +0000
(
05:19
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 15 Mar 2005 05:19:49 +0000
(
05:19
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20603
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/ExtractFunction.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/ExtractFunction.cpp
b/lib/Transforms/IPO/ExtractFunction.cpp
index 482964e86f2c62fd7482340566111bff40cc47e8..2d291b7a8813eb570eadcd46586088eee9f00531 100644
(file)
--- a/
lib/Transforms/IPO/ExtractFunction.cpp
+++ b/
lib/Transforms/IPO/ExtractFunction.cpp
@@
-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) {