Duplicate wrapper function in LLVM-C.

Hi (Gordon).

There appears to be two wrapper functions for
DerivedType::refineAbstractTypeTo() in llvm-c (Core.h, Core.cpp):

void LLVMRefineAbstractType(LLVMTypeRef AbstractType, LLVMTypeRef ConcreteType){
  DerivedType *Ty = unwrap<DerivedType>(AbstractType);
  Ty->refineAbstractTypeTo(unwrap(ConcreteType));
}

void LLVMRefineType(LLVMTypeRef AbstractTy, LLVMTypeRef ConcreteTy) {
  unwrap<DerivedType>(AbstractTy)->refineAbstractTypeTo(unwrap(ConcreteTy));
}

The attached patch removes the first one.

Regards,
-Mahadevan.

rm_dup_wrapper_fn.patch (1.12 KB)

Thanks, applied here:

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080519/062600.html

— Gordon