MethodPass's are now guaranteed to not be run on external methods!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-01-31 00:51:24 +00:00
parent fb1b3f119d
commit fcc93d2c0a
5 changed files with 2 additions and 9 deletions

View File

@ -435,8 +435,6 @@ static bool DoRaisePass(Method *M) {
// level.
//
bool RaisePointerReferences::doit(Method *M) {
if (M->isExternal()) return false;
#ifdef DEBUG_PEEPHOLE_INSTS
cerr << "\n\n\nStarting to work on Method '" << M->getName() << "'\n";
#endif