mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 08:25:27 +00:00
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
This commit is contained in:
@@ -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!");
|
||||
|
Reference in New Issue
Block a user