diff options
author | Fangrui Song <i@maskray.me> | 2021-01-11 13:39:03 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-01-11 13:39:03 -0800 |
commit | b88c8f1aab527f1aebe612ab6c50a418bff88584 (patch) | |
tree | c2f7b0437b9098763bf9941611b8c81f23d78ef4 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 00f773cf424699d8eb31591fdc95e0ca18b2682c (diff) | |
download | llvm-b88c8f1aab527f1aebe612ab6c50a418bff88584.zip llvm-b88c8f1aab527f1aebe612ab6c50a418bff88584.tar.gz llvm-b88c8f1aab527f1aebe612ab6c50a418bff88584.tar.bz2 |
CGDebugInfo: Delete unused parameters
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 49f1332..2c302ae 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -977,8 +977,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, ArgTypes.push_back(VD->getType()); QualType FnType = getContext().getFunctionType( RetTy, ArgTypes, FunctionProtoType::ExtProtoInfo(CC)); - DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, CurFuncIsThunk, - Builder); + DI->emitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, CurFuncIsThunk); } if (ShouldInstrumentFunction()) { |