summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/ConstantReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-03-06 17:18:14 +0000
committerChris Lattner <sabre@nondot.org>2003-03-06 17:18:14 +0000
commitc8f563bed1bc5555ff078486e3bed1c49a25d6e9 (patch)
treebeae045f9c10128e0c1d420c08ff177038a928f8 /llvm/lib/Bytecode/Reader/ConstantReader.cpp
parent3f57f180592de0cd8b0678687819291e60639395 (diff)
downloadbcm5719-llvm-c8f563bed1bc5555ff078486e3bed1c49a25d6e9.tar.gz
bcm5719-llvm-c8f563bed1bc5555ff078486e3bed1c49a25d6e9.zip
s/Method/Function in variable and method names
llvm-svn: 5715
Diffstat (limited to 'llvm/lib/Bytecode/Reader/ConstantReader.cpp')
-rw-r--r--llvm/lib/Bytecode/Reader/ConstantReader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Bytecode/Reader/ConstantReader.cpp b/llvm/lib/Bytecode/Reader/ConstantReader.cpp
index f337ed17ffa..838c6e83b6e 100644
--- a/llvm/lib/Bytecode/Reader/ConstantReader.cpp
+++ b/llvm/lib/Bytecode/Reader/ConstantReader.cpp
@@ -102,9 +102,9 @@ void BytecodeParser::refineAbstractType(const DerivedType *OldType,
if (OldType == NewType &&
OldType->isAbstract()) return; // Type is modified, but same
- TypeValuesListTy::iterator I = find(MethodTypeValues.begin(),
- MethodTypeValues.end(), OldType);
- if (I == MethodTypeValues.end()) {
+ TypeValuesListTy::iterator I = find(FunctionTypeValues.begin(),
+ FunctionTypeValues.end(), OldType);
+ if (I == FunctionTypeValues.end()) {
I = find(ModuleTypeValues.begin(), ModuleTypeValues.end(), OldType);
assert(I != ModuleTypeValues.end() &&
"Can't refine a type I don't know about!");
OpenPOWER on IntegriCloud