All passes added in llvm.passes. More tests. Some bug fixes.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@33 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
4ee007190c
commit
18177ba0fa
3 changed files with 172 additions and 31 deletions
|
|
@ -110,10 +110,10 @@ class ExecutionEngine(object):
|
|||
core.check_is_function(fn)
|
||||
_core.LLVMFreeMachineCodeForFunction(self.ptr, fn.ptr)
|
||||
|
||||
# CRASH! BOOM!! BANG!!! TODO FIXME
|
||||
def add_module_provider(self, mp):
|
||||
core.check_is_module_provider(mp)
|
||||
_core.LLVMAddModuleProvider(self.ptr, mp.ptr)
|
||||
mp._own(self)
|
||||
|
||||
@property
|
||||
def target_data(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue