Mercurial > lcfOS
diff python/ppci/irmach.py @ 342:86b02c98a717 devel
Moved target directory
author | Windel Bouwman |
---|---|
date | Sat, 01 Mar 2014 15:40:31 +0100 |
parents | e9fe6988497c |
children | 3bb7dcfe5529 |
line wrap: on
line diff
--- a/python/ppci/irmach.py Fri Feb 28 18:07:14 2014 +0100 +++ b/python/ppci/irmach.py Sat Mar 01 15:40:31 2014 +0100 @@ -7,7 +7,7 @@ Instructions are selected and scheduled at this stage. """ -from target import Instruction +from .target import Instruction class Frame: @@ -38,7 +38,7 @@ abstraction of machine instructions. """ def __init__(self, cls, ops=(), src=(), dst=(), jumps=(), others=(), ismove=False): - assert type(cls) is type or isinstance(cls, Instruction) + assert type(cls) is type or isinstance(cls, Instruction), str(cls) self.assem = cls self.ops = tuple(ops) self.src = tuple(src)