Removing the silly CHelpers header by rolling wrap and unwrap into the C
[oota-llvm.git] / lib / VMCore / Core.cpp
index f35951d45b0947943949d7eee9ceeda60690239e..b6a825462ae10361988c0046c90f40600703e50c 100644 (file)
 #include "llvm/Constants.h"
 #include "llvm/DerivedTypes.h"
 #include "llvm/GlobalVariable.h"
 #include "llvm/Constants.h"
 #include "llvm/DerivedTypes.h"
 #include "llvm/GlobalVariable.h"
-#include "llvm/Support/CHelpers.h"
-#include "llvm/Support/LLVMBuilder.h"
 #include "llvm/TypeSymbolTable.h"
 #include <cassert>
 
 using namespace llvm;
 
 #include "llvm/TypeSymbolTable.h"
 #include <cassert>
 
 using namespace llvm;
 
-namespace {
-  /// Opaque builder conversions.
-  /// 
-  inline LLVMBuilder *unwrap(LLVMBuilderRef B) {
-    return reinterpret_cast<LLVMBuilder*>(B);
-  }
-  
-  inline LLVMBuilderRef wrap(LLVMBuilder *B) {
-    return reinterpret_cast<LLVMBuilderRef>(B);
-  }
-}
-
 
 /*===-- Operations on modules ---------------------------------------------===*/
 
 
 /*===-- Operations on modules ---------------------------------------------===*/