forked from OSchip/llvm-project
parent
47c6f6d43d
commit
1e93c6a809
|
@ -309,7 +309,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
|
|||
getContext().getFunctionType(RetTy, ArgsArray, NumArgs,
|
||||
FunctionProtoType::ExtProtoInfo());
|
||||
|
||||
delete ArgsArray;
|
||||
delete[] ArgsArray;
|
||||
|
||||
DI->setLocation(StartLoc);
|
||||
DI->EmitFunctionStart(GD, FnType, CurFn, Builder);
|
||||
|
|
Loading…
Reference in New Issue