File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ export GlobalValue,
151151 unnamed_addr, unnamed_addr!,
152152 alignment, alignment!
153153
154- parent (val:: GlobalValue ) = LLVM . Module (API. LLVMGetGlobalParent (ref (val)))
154+ parent (val:: GlobalValue ) = Module (API. LLVMGetGlobalParent (ref (val)))
155155
156156isdeclaration (val:: GlobalValue ) = convert (Core. Bool, API. LLVMIsDeclaration (ref (val)))
157157
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export ModulePass
1616
1717 function ModulePass (name:: String , runner:: Core.Function )
1818 function callback (ptr:: Ptr{Cvoid} ):: Core.Bool
19- mod = LLVM . Module (convert (reftype (Module), ptr))
19+ mod = Module (convert (reftype (Module), ptr))
2020 return runner (mod):: Core.Bool
2121 end
2222
@@ -38,7 +38,7 @@ export FunctionPass
3838
3939 function FunctionPass (name:: String , runner:: Core.Function )
4040 function callback (ptr:: Ptr{Cvoid} ):: Core.Bool
41- fn = LLVM . Function (convert (reftype (Function), ptr))
41+ fn = Function (convert (reftype (Function), ptr))
4242 return runner (fn):: Core.Bool
4343 end
4444
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ function ModulePassManager(f::Core.Function, args...)
3232end
3333
3434run! (mpm:: ModulePassManager , mod:: Module ) =
35- LLVM . convert (Core. Bool, API. LLVMRunPassManager (ref (mpm), ref (mod)))
35+ convert (Core. Bool, API. LLVMRunPassManager (ref (mpm), ref (mod)))
3636
3737
3838
@@ -65,4 +65,4 @@ finalize!(fpm::FunctionPassManager) =
6565 convert (Core. Bool, API. LLVMFinalizeFunctionPassManager (ref (fpm)))
6666
6767run! (fpm:: FunctionPassManager , f:: Function ) =
68- LLVM . convert (Core. Bool, API. LLVMRunFunctionPassManager (ref (fpm), ref (f)))
68+ convert (Core. Bool, API. LLVMRunFunctionPassManager (ref (fpm), ref (f)))
You can’t perform that action at this time.
0 commit comments