get the label int to work consistently

still need to use it in the return
This commit is contained in:
Torsten Ruger
2018-05-30 10:54:18 +03:00
parent 074ec34659
commit 0dc89c772a
9 changed files with 41 additions and 32 deletions

View File

@ -13,21 +13,6 @@ module Arm
true
end
end
class FakeInt
attr_reader :value
def initialize(val)
set_value(val)
end
def is_a?(clazz)
clazz == Parfait::Integer
end
def byte_length
4
end
def set_value(val)
@value = val
end
end
module ArmHelper
def setup
@machine = Arm::ArmMachine