remove location tracking for target info
llvm-svn: 39671
diff --git a/clang/CodeGen/CodeGenModule.cpp b/clang/CodeGen/CodeGenModule.cpp
index 4f7834e..cdc3e63 100644
--- a/clang/CodeGen/CodeGenModule.cpp
+++ b/clang/CodeGen/CodeGenModule.cpp
@@ -33,7 +33,7 @@
if (Entry) return Entry;
QualType ASTTy = cast<ValueDecl>(D)->getType();
- const llvm::Type *Ty = getTypes().ConvertType(ASTTy, D->getLocation());
+ const llvm::Type *Ty = getTypes().ConvertType(ASTTy);
if (isa<FunctionDecl>(D)) {
const llvm::FunctionType *FTy = cast<llvm::FunctionType>(Ty);
// FIXME: param attributes for sext/zext etc.