Displaying 1 result from an estimated 1 matches for "llvmfloattype".
2009 Aug 14
0
[LLVMdev] How shall we modify llvm's OCaml binding to support LLVMContext?
...lement it in the API. For the
LLVM's C++ api, many key functions were modified to only take a LLVMContext,
such as replacing the global variable Type::FloatTy with a function
Type::getFloatTy(LLVMContext&). For llvm-c though, we need to maintain
backwards compatibility so we've modified LLVMFloatType() to internally use
getGlobalContext(), and added LLVMFloatTypeInContext(LLVMContextRef) in
order to explicitly choose which context to use. So, the question is what do
we do with OCaml? Do we feel that we can break backwards compatibility and
force passing around the LLVMContext, or should I follo...