remove collecting from the machine
use as stand alone module
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user