Ver código fonte

Merge branch 'master' of github.com:taddeus/peephole

Richard Torenvliet 14 anos atrás
pai
commit
ed3a0551ea
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      tests/test_optimize.py

+ 1 - 1
tests/test_optimize.py

@@ -43,7 +43,7 @@ class TestOptimize(unittest.TestCase):
     def test_optimize_block_movinst_false(self):
         statements = [self.foo, \
                       S('command', 'move', '$regA', '$regB'), \
-                      S('command', 'addu', '$regA', '$regC', 2), \
+                      S('command', 'addu', '$regD', '$regC', 2), \
                       self.bar]
 
         block = B(statements)