diff options
| -rw-r--r-- | sparse-llvm.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sparse-llvm.c b/sparse-llvm.c index a4523795..bf7389c9 100644 --- a/sparse-llvm.c +++ b/sparse-llvm.c @@ -523,11 +523,6 @@ static LLVMValueRef get_function(struct function *fn, struct instruction *insn) return f->func; /* found match; return */ } END_FOR_EACH_PTR(f); - /* search for module local functions */ - func = LLVMGetNamedFunction(fn->module, buffer); - if (func) - return func; - /* build function type definition */ LLVMTypeRef func_type = get_func_type(fn, insn); |
