move message to stack_pointer

changing a bunch of register names
some of which get names now
This commit is contained in:
2020-03-22 11:29:56 +02:00
parent a93a3c8af5
commit be684c0c43
17 changed files with 78 additions and 68 deletions

View File

@ -14,7 +14,7 @@ module Risc
assert_equal Hash , @allocator.used_regs.class
end
def test_reg_names
assert_equal 15 , @allocator.reg_names.length
assert_equal 13 , @allocator.reg_names.length
end
def test_compiler
assert_equal CallableCompiler , @allocator.compiler.class