diff options
author | John McCall <rjmccall@apple.com> | 2010-12-14 07:30:51 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-12-14 07:30:51 +0000 |
commit | 5546da68bb616a27e06a3f8a4cfc0a275916a14e (patch) | |
tree | 7c40bef1ecfdc6a39c54e5137f52639c5f6e1f74 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 9fd838d31b44108b99327ebc927ed8bed70634f9 (diff) | |
download | bcm5719-llvm-5546da68bb616a27e06a3f8a4cfc0a275916a14e.tar.gz bcm5719-llvm-5546da68bb616a27e06a3f8a4cfc0a275916a14e.zip |
Pull out r121752 in case it's causing the selfhost breakage.
llvm-svn: 121759
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 8a0d78cc217..7bd0c3da9ea 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -250,14 +250,13 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, Builder.SetInsertPoint(EntryBB); + QualType FnType = getContext().getFunctionType(RetTy, 0, 0, false, 0, + false, false, 0, 0, + /*FIXME?*/ + FunctionType::ExtInfo()); + // Emit subprogram debug descriptor. if (CGDebugInfo *DI = getDebugInfo()) { - // FIXME: what is going on here and why does it ignore all these - // interesting type properties? - QualType FnType = - getContext().getFunctionType(RetTy, 0, 0, - FunctionProtoType::ExtProtoInfo()); - DI->setLocation(StartLoc); DI->EmitFunctionStart(GD, FnType, CurFn, Builder); } |