Mercurial > lcfOS
comparison test/testregalloc.py @ 342:86b02c98a717 devel
Moved target directory
author | Windel Bouwman |
---|---|
date | Sat, 01 Mar 2014 15:40:31 +0100 |
parents | 6753763d3bec |
children | 3bb7dcfe5529 |
comparison
equal
deleted
inserted
replaced
341:4d204f6f7d4e | 342:86b02c98a717 |
---|---|
2 import os | 2 import os |
3 import sys | 3 import sys |
4 from ppci.irmach import makeIns, Frame | 4 from ppci.irmach import makeIns, Frame |
5 from ppci.codegen.registerallocator import RegisterAllocator | 5 from ppci.codegen.registerallocator import RegisterAllocator |
6 from ppci import ir | 6 from ppci import ir |
7 from target import Nop | 7 from ppci.target import Nop |
8 | 8 |
9 | 9 |
10 class RegAllocTestCase(unittest.TestCase): | 10 class RegAllocTestCase(unittest.TestCase): |
11 def setUp(self): | 11 def setUp(self): |
12 self.ra = RegisterAllocator() | 12 self.ra = RegisterAllocator() |