have to translate the labels

and use binary as function call target
(because we don’t have the translated label)
This commit is contained in:
Torsten Ruger
2018-03-28 12:50:07 +03:00
parent 85ddf53429
commit 7493d738e1
3 changed files with 24 additions and 23 deletions

View File

@ -22,8 +22,9 @@ module Risc
assert Positioned.position(obj)
end
end
def test_binary
@machine.create_binary
# @machine.create_binary
end
end
end

View File

@ -29,9 +29,7 @@ module Risc
all << ins
end
end
def test_no_risc
@machine.translate_arm
@machine.position_all
@machine.objects.each do |id , method|
next unless method.is_a? Parfait::TypedMethod
@ -46,5 +44,6 @@ module Risc
end
end
end
end
end