diff options
| author | Stephen Lin <stephenwlin@gmail.com> | 2013-06-19 23:23:19 +0000 |
|---|---|---|
| committer | Stephen Lin <stephenwlin@gmail.com> | 2013-06-19 23:23:19 +0000 |
| commit | 3258abc2bad74e8bb1799d124bc4113c7234fa42 (patch) | |
| tree | 59acc3732ab5c88d76098ecbeb1d9373d3d1a4b0 /lib/CodeGen/CGVTables.cpp | |
| parent | 8bb86697791077f8127f991a0eeaeefcb902b10b (diff) | |
| download | clang-3258abc2bad74e8bb1799d124bc4113c7234fa42.tar.gz clang-3258abc2bad74e8bb1799d124bc4113c7234fa42.tar.bz2 clang-3258abc2bad74e8bb1799d124bc4113c7234fa42.tar.xz | |
Revert r184205 and associated patches while investigating issue with broken buildbot (possible interaction with LTO)
<rdar://problem/14209661>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184384 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVTables.cpp')
| -rw-r--r-- | lib/CodeGen/CGVTables.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGVTables.cpp b/lib/CodeGen/CGVTables.cpp index 9c4a5e0cda..e15639d31d 100644 --- a/lib/CodeGen/CGVTables.cpp +++ b/lib/CodeGen/CGVTables.cpp @@ -287,9 +287,8 @@ void CodeGenFunction::GenerateThunk(llvm::Function *Fn, GlobalDecl GD, const ThunkInfo &Thunk) { const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); + QualType ResultType = FPT->getResultType(); QualType ThisType = MD->getThisType(getContext()); - QualType ResultType = - CGM.getCXXABI().HasThisReturn(GD) ? ThisType : FPT->getResultType(); FunctionArgList FunctionArgs; |
