Backing out r174919 while I investigate a self-host bug on Takumi's builder.

llvm-svn: 174925
This commit is contained in:
Lang Hames
2013-02-12 00:44:43 +00:00
parent 209d63af48
commit 697b004219
6 changed files with 11 additions and 367 deletions

View File

@@ -559,11 +559,6 @@ void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn,
// The lambda "__invoke" function is special, because it forwards or
// clones the body of the function call operator (but is actually static).
EmitLambdaStaticInvokeFunction(cast<CXXMethodDecl>(FD));
} else if (FD->isDefaulted() && isa<CXXMethodDecl>(FD) &&
cast<CXXMethodDecl>(FD)->isCopyAssignmentOperator()) {
// Implicit copy-assignment gets the same special treatment as implicit
// copy-constructors.
emitImplicitAssignmentOperatorBody(Args);
}
else
EmitFunctionBody(Args);