diff options
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index b78ddd6b4425..1c48d3b2ace9 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -4500,7 +4500,7 @@ llvm::Constant *CodeGenModule::GetFunctionStart(const ValueDecl *Decl) { return llvm::ConstantExpr::getBitCast( llvm::NoCFIValue::get(F), - llvm::Type::getInt8PtrTy(VMContext, F->getAddressSpace())); + llvm::PointerType::get(VMContext, F->getAddressSpace())); } static const FunctionDecl * |
