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:
parent
6028e1765b
commit
a339b69193
3 changed files with 36 additions and 6 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue