diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-03-26 18:01:55 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-03-26 18:01:55 +0000 |
| commit | 57698e2c0bf6853a66f06a5ec5014c53001de006 (patch) | |
| tree | cb10a0c04ac9b03816baad3862b1f9ff2bacb738 /llvm/lib/VMCore/SymbolTable.cpp | |
| parent | 5d088b00bf14601f3f44573e9665a9668ea74603 (diff) | |
| download | bcm5719-llvm-57698e2c0bf6853a66f06a5ec5014c53001de006.tar.gz bcm5719-llvm-57698e2c0bf6853a66f06a5ec5014c53001de006.zip | |
Change references from Method to Function
change references from MethodARgument to FunctionArgument
llvm-svn: 1991
Diffstat (limited to 'llvm/lib/VMCore/SymbolTable.cpp')
| -rw-r--r-- | llvm/lib/VMCore/SymbolTable.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/SymbolTable.cpp b/llvm/lib/VMCore/SymbolTable.cpp index 80f8e100e83..bd19291fa58 100644 --- a/llvm/lib/VMCore/SymbolTable.cpp +++ b/llvm/lib/VMCore/SymbolTable.cpp @@ -8,7 +8,7 @@ #include "llvm/InstrTypes.h" #include "llvm/DerivedTypes.h" #include "llvm/Module.h" -#include "llvm/Method.h" +#include "llvm/Function.h" #include "Support/StringExtras.h" #include <iostream> @@ -238,8 +238,8 @@ void SymbolTable::refineAbstractType(const DerivedType *OldType, // The only thing we are allowing for now is two method prototypes being // folded into one. // - Method *ExistM = dyn_cast<Method>(TI->second); - Method *NewM = dyn_cast<Method>(V.second); + Function *ExistM = dyn_cast<Function>(TI->second); + Function *NewM = dyn_cast<Function>(V.second); if (ExistM && NewM && ExistM->isExternal() && NewM->isExternal()) { // Ok we have two external methods. Make all uses of the new one @@ -264,7 +264,7 @@ void SymbolTable::refineAbstractType(const DerivedType *OldType, InternallyInconsistent = false; // Now we can remove this method from the module entirely... - NewM->getParent()->getMethodList().remove(NewM); + NewM->getParent()->getFunctionList().remove(NewM); delete NewM; } else { |

