diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-09 22:26:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-09 22:26:58 +0000 |
commit | 74c2b7633fd73bf782d2881c063eb0c58821d2bf (patch) | |
tree | b687d68f10f95037596b9dcd7fb5939666c75a72 /lib/VMCore/Type.cpp | |
parent | b8259dd93c2cab05e8381bb442f018cf52ed646d (diff) | |
download | external_llvm-74c2b7633fd73bf782d2881c063eb0c58821d2bf.zip external_llvm-74c2b7633fd73bf782d2881c063eb0c58821d2bf.tar.gz external_llvm-74c2b7633fd73bf782d2881c063eb0c58821d2bf.tar.bz2 |
Rename contype to subtype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Type.cpp')
-rw-r--r-- | lib/VMCore/Type.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index 87fa581..d2b23d4 100644 --- a/lib/VMCore/Type.cpp +++ b/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; |