summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-09 22:26:58 +0000
committerChris Lattner <sabre@nondot.org>2001-09-09 22:26:58 +0000
commit1117548f9ef9618c85e4cd46431f8e4436cfc705 (patch)
tree06a92f8eab5a7f57d14f3392b02e485f68ce110e /llvm/lib
parentacfd27d5023befbe1a3d6fb7f3292ccfe8d30d17 (diff)
downloadbcm5719-llvm-1117548f9ef9618c85e4cd46431f8e4436cfc705.tar.gz
bcm5719-llvm-1117548f9ef9618c85e4cd46431f8e4436cfc705.zip
Rename contype to subtype
llvm-svn: 522
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Type.cpp4
1 files changed, 2 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud