Module.link_in and Instruction.is_volatile APIs added (Seth Warn)

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@62 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2009-02-21 10:02:46 +00:00
commit 6028e1765b
6 changed files with 89 additions and 2 deletions

View file

@ -95,6 +95,9 @@ def do_module():
m4 = Module.from_assembly(ss2)
t = m4 == m
t = m4.pointer_size
mA = Module.new('ma')
mB = Module.new('mb')
mA.link_in(mB)
def do_type():
@ -451,6 +454,7 @@ def do_builder():
t = i.is_associative == False
t = i.is_commutative == False
t = i.is_trapping == False
t = i.is_volatile == False
t = i.opcode
t = i.opcode_name