diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-05 18:54:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-05 18:54:05 +0000 |
commit | 98be4943e8dc4f3905629a7102668960873cf863 (patch) | |
tree | 6f331c03a440216936c5c47e2e283b327ee46912 /CodeGen/CodeGenFunction.cpp | |
parent | 631bf6c3251e57485d6a24d1137e39434a4afaad (diff) |
remove the source location arguments to various target query methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47954 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | CodeGen/CodeGenFunction.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CodeGen/CodeGenFunction.cpp b/CodeGen/CodeGenFunction.cpp index adbb414cc0..f48d093b25 100644 --- a/CodeGen/CodeGenFunction.cpp +++ b/CodeGen/CodeGenFunction.cpp @@ -59,8 +59,7 @@ bool CodeGenFunction::hasAggregateLLVMType(QualType T) { void CodeGenFunction::GenerateCode(const FunctionDecl *FD) { LLVMIntTy = ConvertType(getContext().IntTy); LLVMPointerWidth = static_cast<unsigned>( - getContext().getTypeSize(getContext().getPointerType(getContext().VoidTy), - SourceLocation())); + getContext().getTypeSize(getContext().getPointerType(getContext().VoidTy))); CurFuncDecl = FD; CurFn = cast<llvm::Function>(CGM.GetAddrOfFunctionDecl(FD, true)); |