unlinking the objects collection from the machine
passing it around instead
This commit is contained in:
@ -6,9 +6,9 @@ class HelloTest < MiniTest::Test
|
||||
def check
|
||||
machine = Register.machine.boot
|
||||
Typed.compile( @input )
|
||||
machine.collect_space
|
||||
objects = machine.collect_space
|
||||
machine.translate_arm
|
||||
writer = Elf::ObjectWriter.new
|
||||
writer = Elf::ObjectWriter.new(machine , objects )
|
||||
writer.save "test/hello.o"
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user