diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-04 22:19:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-04 22:19:18 +0000 |
commit | 2aac6bf66a4f4486e14ee5bdc96277ec770afdc7 (patch) | |
tree | 7c0149ec42632ae549ecdb13e45c1ec780eb3063 /lib/Transforms/Instrumentation/TraceValues.cpp | |
parent | 3d0dceb733fe8d5d916eab58d923eb7ff491d6c6 (diff) |
s/MethodType/FunctionType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/TraceValues.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/TraceValues.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/TraceValues.cpp b/lib/Transforms/Instrumentation/TraceValues.cpp index e064caa817..e31aeb8185 100644 --- a/lib/Transforms/Instrumentation/TraceValues.cpp +++ b/lib/Transforms/Instrumentation/TraceValues.cpp @@ -67,8 +67,8 @@ Pass *createTraceValuesPassForBasicBlocks() { // Trace BB's and methods // bool InsertTraceCode::doInitialization(Module *M) { const Type *SBP = PointerType::get(Type::SByteTy); - const MethodType *MTy = - MethodType::get(Type::IntTy, vector<const Type*>(1, SBP), true); + const FunctionType *MTy = + FunctionType::get(Type::IntTy, vector<const Type*>(1, SBP), true); PrintfFunc = M->getOrInsertFunction("printf", MTy); return false; |