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:
@ -22,8 +22,9 @@ module Risc
|
||||
assert Positioned.position(obj)
|
||||
end
|
||||
end
|
||||
|
||||
def test_binary
|
||||
@machine.create_binary
|
||||
# @machine.create_binary
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user