remove collecting from the machine

use as stand alone module
This commit is contained in:
Torsten Ruger
2016-12-31 19:54:18 +02:00
parent 671512b96c
commit dccd097fef
6 changed files with 12 additions and 14 deletions

View File

@ -6,7 +6,7 @@ class HelloTest < MiniTest::Test
def check
machine = Register.machine.boot
Typed.compile( @input )
objects = machine.collect_space
objects = Register::Collector.collect_space
machine.translate_arm
writer = Elf::ObjectWriter.new(machine , objects )
writer.save "test/hello.o"