cleanup
This commit is contained in:
parent
1d4c431b23
commit
5dd0948c65
13 changed files with 24 additions and 24 deletions
|
|
@ -2,11 +2,11 @@ from llvm.core import *
|
|||
|
||||
class TBAABuilder(object):
|
||||
'''Simplify creation of TBAA metadata.
|
||||
|
||||
Each TBAABuidler object operates on a module.
|
||||
|
||||
Each TBAABuidler object operates on a module.
|
||||
User can create multiple TBAABuilder on a module
|
||||
'''
|
||||
|
||||
|
||||
def __init__(self, module, rootid):
|
||||
'''
|
||||
module --- the module to use.
|
||||
|
|
@ -23,7 +23,7 @@ class TBAABuilder(object):
|
|||
def get_node(self, name, parent=None, const=False):
|
||||
'''Returns a MetaData object representing a TBAA node.
|
||||
|
||||
Use loadstore_instruction.set_metadata('tbaa', node) to
|
||||
Use loadstore_instruction.set_metadata('tbaa', node) to
|
||||
bind a type to a memory.
|
||||
'''
|
||||
parent = parent or self.root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue