return the linker from mom_compiler

linker holds assemblers
assemblers come from method compilation
and so the layers come into focus
This commit is contained in:
Torsten Ruger
2018-07-01 21:51:48 +03:00
parent 5f2a256608
commit 22408b86c6
8 changed files with 35 additions and 30 deletions

View File

@ -16,5 +16,10 @@ module Vool
def test_has_compilers
assert_equal Risc::MethodCompiler , @ret.method_compilers.first.class
end
def test_constant
assert @ret.method_compilers.first.add_constant( Parfait::Integer.new(5) )
end
end
end