diff options
author | Chris Lattner <sabre@nondot.org> | 2007-06-22 19:05:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-06-22 19:05:19 +0000 |
commit | f033c147c94d42439e789ef34f4c392b7d6e48c5 (patch) | |
tree | 338fac5232337e7c026b35eab77e3c1d89a6929c /clang/CodeGen/CGStmt.cpp | |
parent | 0fb8465981df491b97297e146308ffc3df73fce3 (diff) | |
download | bcm5719-llvm-f033c147c94d42439e789ef34f4c392b7d6e48c5.tar.gz bcm5719-llvm-f033c147c94d42439e789ef34f4c392b7d6e48c5.zip |
remove location tracking for target info
llvm-svn: 39671
Diffstat (limited to 'clang/CodeGen/CGStmt.cpp')
-rw-r--r-- | clang/CodeGen/CGStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/CodeGen/CGStmt.cpp b/clang/CodeGen/CGStmt.cpp index d874e513614..e2dfacae188 100644 --- a/clang/CodeGen/CGStmt.cpp +++ b/clang/CodeGen/CGStmt.cpp @@ -263,7 +263,7 @@ void CodeGenFunction::EmitReturnStmt(const ReturnStmt &S) { Builder.CreateRet(llvm::UndefValue::get(RetTy)); } else { // Do implicit conversions to the returned type. - RetVal = EmitConversion(RetVal, RV->getType(), FnRetTy, SourceLocation()); + RetVal = EmitConversion(RetVal, RV->getType(), FnRetTy); if (RetVal.isScalar()) { // FIXME: Pass return loc in! |