From 1117548f9ef9618c85e4cd46431f8e4436cfc705 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 9 Sep 2001 22:26:58 +0000 Subject: Rename contype to subtype llvm-svn: 522 --- llvm/lib/VMCore/Type.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/VMCore/Type.cpp b/llvm/lib/VMCore/Type.cpp index 87fa581a573..d2b23d482d0 100644 --- a/llvm/lib/VMCore/Type.cpp +++ b/llvm/lib/VMCore/Type.cpp @@ -310,8 +310,8 @@ static bool TypesEqual(const Type *Ty, const Type *Ty2, } // Iterate over the types and make sure the the contents are equivalent... - Type::contype_iterator I = Ty ->contype_begin(), IE = Ty ->contype_end(); - Type::contype_iterator I2 = Ty2->contype_begin(), IE2 = Ty2->contype_end(); + Type::subtype_iterator I = Ty ->subtype_begin(), IE = Ty ->subtype_end(); + Type::subtype_iterator I2 = Ty2->subtype_begin(), IE2 = Ty2->subtype_end(); for (; I != IE && I2 != IE2; ++I, ++I2) if (!TypesEqual(*I, *I2, EqTypes)) return false; -- cgit v1.2.3