mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
This corrects an error in the type of the Llvm.dispose_context function.
Patch by James Woodyatt! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6fb474bd3c
commit
dd7da4f368
@ -144,7 +144,7 @@ type ('a, 'b) llrev_pos =
|
|||||||
|
|
||||||
(*===-- Contexts ----------------------------------------------------------===*)
|
(*===-- Contexts ----------------------------------------------------------===*)
|
||||||
external create_context : unit -> llcontext = "llvm_create_context"
|
external create_context : unit -> llcontext = "llvm_create_context"
|
||||||
external dispose_context : unit -> llcontext = "llvm_dispose_context"
|
external dispose_context : llcontext -> unit = "llvm_dispose_context"
|
||||||
external global_context : unit -> llcontext = "llvm_global_context"
|
external global_context : unit -> llcontext = "llvm_global_context"
|
||||||
|
|
||||||
(*===-- Modules -----------------------------------------------------------===*)
|
(*===-- Modules -----------------------------------------------------------===*)
|
||||||
|
@ -214,7 +214,7 @@ external create_context : unit -> llcontext = "llvm_create_context"
|
|||||||
|
|
||||||
(** [destroy_context ()] destroys a context. See the destructor
|
(** [destroy_context ()] destroys a context. See the destructor
|
||||||
[llvm::LLVMContext::~LLVMContext]. *)
|
[llvm::LLVMContext::~LLVMContext]. *)
|
||||||
external dispose_context : unit -> llcontext = "llvm_dispose_context"
|
external dispose_context : llcontext -> unit = "llvm_dispose_context"
|
||||||
|
|
||||||
(** See the function [llvm::getGlobalContext]. *)
|
(** See the function [llvm::getGlobalContext]. *)
|
||||||
external global_context : unit -> llcontext = "llvm_global_context"
|
external global_context : unit -> llcontext = "llvm_global_context"
|
||||||
|
Loading…
Reference in New Issue
Block a user