Skip to content

Commit 483aabc

Browse files
author
Rafael Sá Menezes
committed
removed definition from pass
1 parent 3b60f89 commit 483aabc

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

modules/backend/pass/TargetPass.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
bool TargetPass::runOnFunction(Function& F) {
1414
llvm::errs() << "Running TargetPass with: " << this->targetFunctionName;
1515

16-
// We need to have the definition of the function
17-
F.getParent()->getOrInsertFunction(
18-
this->targetFunctionName, Type::getVoidTy(F.getContext()));
19-
2016
this->targetFunctionMap2Check = F.getParent()->getOrInsertFunction(
2117
"map2check_target_function", Type::getVoidTy(F.getContext()),
2218
Type::getInt8PtrTy(F.getContext()), Type::getInt32Ty(F.getContext()),

0 commit comments

Comments
 (0)