Enable BasicBlock.function API

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@63 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2009-02-21 16:40:01 +00:00
commit a339b69193
3 changed files with 36 additions and 6 deletions

View file

@ -349,8 +349,9 @@ def do_basicblock():
s = list(b.instructions)
b2 = b.insert_before('before')
b2.delete()
# ff = b.function
# ^ not working yet!
ff = b.function
m2 = ff.module
t = m == m2
def _do_builder_mrv():