Skip to content

Commit

Permalink
Remove two outdated LLVM fun bindings (#13438)
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil authored May 8, 2023
1 parent c9de730 commit 2aeaea0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/llvm.cr
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ module LLVM
LibLLVM.initialize_x86_target_mc
LibLLVM.initialize_x86_asm_printer
LibLLVM.initialize_x86_asm_parser
# LibLLVM.link_in_jit
LibLLVM.link_in_mc_jit
{% else %}
raise "ERROR: LLVM was built without X86 target"
Expand All @@ -31,7 +30,6 @@ module LLVM
LibLLVM.initialize_aarch64_target_mc
LibLLVM.initialize_aarch64_asm_printer
LibLLVM.initialize_aarch64_asm_parser
# LibLLVM.link_in_jit
LibLLVM.link_in_mc_jit
{% else %}
raise "ERROR: LLVM was built without AArch64 target"
Expand All @@ -48,7 +46,6 @@ module LLVM
LibLLVM.initialize_arm_target_mc
LibLLVM.initialize_arm_asm_printer
LibLLVM.initialize_arm_asm_parser
# LibLLVM.link_in_jit
LibLLVM.link_in_mc_jit
{% else %}
raise "ERROR: LLVM was built without ARM target"
Expand All @@ -65,7 +62,6 @@ module LLVM
LibLLVM.initialize_webassembly_target_mc
LibLLVM.initialize_webassembly_asm_printer
LibLLVM.initialize_webassembly_asm_parser
# LibLLVM.link_in_jit
LibLLVM.link_in_mc_jit
{% else %}
raise "ERROR: LLVM was built without WebAssembly target"
Expand Down
2 changes: 0 additions & 2 deletions src/llvm/lib_llvm.cr
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ lib LibLLVM
fun initialize_webassembly_target = LLVMInitializeWebAssemblyTarget
fun initialize_webassembly_target_info = LLVMInitializeWebAssemblyTargetInfo
fun initialize_webassembly_target_mc = LLVMInitializeWebAssemblyTargetMC
fun initialize_native_target = LLVMInitializeNativeTarget
fun is_constant = LLVMIsConstant(val : ValueRef) : Int32
fun is_function_var_arg = LLVMIsFunctionVarArg(ty : TypeRef) : Int32
fun module_create_with_name_in_context = LLVMModuleCreateWithNameInContext(module_id : UInt8*, context : ContextRef) : ModuleRef
Expand Down Expand Up @@ -266,7 +265,6 @@ lib LibLLVM
fun type_of = LLVMTypeOf(val : ValueRef) : TypeRef
fun write_bitcode_to_file = LLVMWriteBitcodeToFile(module : ModuleRef, path : UInt8*) : Int32
fun verify_module = LLVMVerifyModule(module : ModuleRef, action : LLVM::VerifierFailureAction, outmessage : UInt8**) : Int32
fun link_in_jit = LLVMLinkInJIT
fun link_in_mc_jit = LLVMLinkInMCJIT
fun start_multithreaded = LLVMStartMultithreaded : Int32
fun stop_multithreaded = LLVMStopMultithreaded
Expand Down

0 comments on commit 2aeaea0

Please sign in to comment.