Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove two outdated LLVM fun bindings #13438

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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