llvm-general 0.1 → 3.2.0.2
raw patch · 3 files changed
+10/−3 lines, 3 files
Files
- llvm-general.cabal +8/−1
- src/LLVM/General/Internal/FFI/AssemblyC.cpp +1/−1
- src/LLVM/General/Internal/FFI/ConstantC.cpp +1/−1
llvm-general.cabal view
@@ -1,11 +1,12 @@ name: llvm-general-version: 0.1+version: 3.2.0.2 license: BSD3 license-file: LICENSE author: Benjamin S.Scarlet <fgthb0@greynode.net> maintainer: Benjamin S. Scarlet <fgthb0@greynode.net> copyright: Benjamin S. Scarlet 2013 build-type: Custom+stability: experimental cabal-version: >= 1.8 category: Compilers/Interpreters, Code Generation synopsis: General purpose LLVM bindings@@ -27,6 +28,12 @@ source-repository head type: git location: git://github.com/bscarlet/llvm-general.git++source-repository this+ type: git+ location: git://github.com/bscarlet/llvm-general.git+ branch: llvm-3.2+ tag: v3.2.0.2 library build-tools: llvm-config
src/LLVM/General/Internal/FFI/AssemblyC.cpp view
@@ -17,7 +17,7 @@ const char *assembly, SMDiagnostic *error ) {- wrap(ParseAssemblyString(assembly, NULL, *error, *unwrap(context))); + return wrap(ParseAssemblyString(assembly, NULL, *error, *unwrap(context))); } char *LLVM_General_GetModuleAssembly(LLVMModuleRef module) {
src/LLVM/General/Internal/FFI/ConstantC.cpp view
@@ -9,7 +9,7 @@ extern "C" { LLVMValueRef LLVM_General_GetConstantDataSequentialElementAsConstant(LLVMValueRef v, unsigned i) {- wrap(unwrap<ConstantDataSequential>(v)->getElementAsConstant(i));+ return wrap(unwrap<ConstantDataSequential>(v)->getElementAsConstant(i)); } LLVMValueRef LLVM_General_GetBlockAddressFunction(LLVMValueRef v) {