diff test/testregalloc.py @ 296:9417caea2eb3

Directorized some backend files
author Windel Bouwman
date Sun, 01 Dec 2013 13:36:58 +0100
parents 05184b95fa16
children 674789d9ff37
line wrap: on
line diff
--- a/test/testregalloc.py	Thu Nov 28 21:10:32 2013 +0100
+++ b/test/testregalloc.py	Sun Dec 01 13:36:58 2013 +0100
@@ -2,14 +2,14 @@
 import os
 import sys
 from irmach import AbstractInstruction as makeIns, Frame
-import registerallocator
+from codegen.registerallocator import RegisterAllocator
 import ir
 from target import Nop
 
 
 class RegAllocTestCase(unittest.TestCase):
     def setUp(self):
-        self.ra = registerallocator.RegisterAllocator()
+        self.ra = RegisterAllocator()
 
     def testRegAlloc(self):
         f = Frame('tst')