From 7a1767520611d9ff6face702068de858e1cadf2c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 4 Dec 2001 00:03:30 +0000 Subject: Renamed inst_const_iterator -> const_inst_iterator Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1408 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/VMCore/Function.cpp') diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index c3d8e87f8c..4b38ce1196 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -62,7 +62,7 @@ void Method::setParent(Module *parent) { } const MethodType *Method::getMethodType() const { - return cast(cast(getType())->getValueType()); + return cast(cast(getType())->getElementType()); } const Type *Method::getReturnType() const { -- cgit v1.2.3-70-g09d2