Skip to content

Commit 796c3a3

Browse files
committed
Fix finalization of ExecutionEngine, SymbolTable
Finalizers work on `mutable` structs.
1 parent 53c82fe commit 796c3a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/IR/ExecutionEngine.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
struct ExecutionEngine
1+
mutable struct ExecutionEngine
22
engine::API.MlirExecutionEngine
33

44
function ExecutionEngine(engine)

Diff for: src/IR/SymbolTable.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
struct SymbolTable
1+
mutable struct SymbolTable
22
st::API.MlirSymbolTable
33

44
function SymbolTable(st)

0 commit comments

Comments
 (0)