forked from OSchip/llvm-project
parent
be7c56ed78
commit
222c6123df
|
@ -153,8 +153,6 @@ void CodeGenFunction::GenerateCode(const FunctionDecl *FD) {
|
|||
CurFuncDecl = FD;
|
||||
FnRetTy = FD->getType()->getAsFunctionType()->getResultType();
|
||||
|
||||
FD->getType().dump();
|
||||
|
||||
CurFn = cast<llvm::Function>(CGM.GetAddrOfFunctionDecl(FD, true));
|
||||
assert(CurFn->isDeclaration() && "Function already has body?");
|
||||
|
||||
|
|
Loading…
Reference in New Issue