From 6e5a0e4e89a08f79af11a68a73ce1526cc606a65 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 6 Mar 2003 17:18:14 +0000 Subject: s/Method/Function in variable and method names git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5715 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/ConstantReader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Bytecode/Reader/ConstantReader.cpp') diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp index f337ed17ff..838c6e83b6 100644 --- a/lib/Bytecode/Reader/ConstantReader.cpp +++ b/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!"); -- cgit v1.2.3-18-g5258