Move ast, xform, and legalize modules.
- cdsl.ast defines classes representing abstract syntax trees. - cdsl.xform defines classes for instruction transformations. - base.legalize defines legalization patterns.
This commit is contained in:
@@ -259,7 +259,7 @@ class Instruction(object):
|
||||
Create an `ast.Apply` AST node representing the application of this
|
||||
instruction to the arguments.
|
||||
"""
|
||||
from cretonne.ast import Apply
|
||||
from .ast import Apply
|
||||
return Apply(self, args)
|
||||
|
||||
|
||||
@@ -312,5 +312,5 @@ class BoundInstruction(object):
|
||||
Create an `ast.Apply` AST node representing the application of this
|
||||
instruction to the arguments.
|
||||
"""
|
||||
from cretonne.ast import Apply
|
||||
from .ast import Apply
|
||||
return Apply(self, args)
|
||||
|
||||
Reference in New Issue
Block a user