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:
mdevan.foobar 2008-08-12 10:25:44 +00:00
commit 18177ba0fa
3 changed files with 172 additions and 31 deletions

View file

@ -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):