Merge pull request #27606 from benbiti/fix-CompileFunction-event

fix ProfileEvents::CompileFunction
This commit is contained in:
Maksim Kita 2021-08-12 13:31:48 +03:00 committed by GitHub
commit 38159c85ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,8 +143,6 @@ static void compileFunction(llvm::Module & module, const IFunctionBase & functio
* }
*/
ProfileEvents::increment(ProfileEvents::CompileFunction);
const auto & arg_types = function.getArgumentTypes();
llvm::IRBuilder<> b(module.getContext());