fix some pesty errors
need to fix instruction overlap beofre interpreter starts again
This commit is contained in:
@ -52,7 +52,8 @@ module Arm
|
||||
# But, for methods, this happens to be the size of the object header,
|
||||
# so there it balances out, but not blocks
|
||||
# have to use the code, not the method object for methods
|
||||
arg = Risc::Position.get(@first) - Risc::Position.get(self)
|
||||
f_pos = Risc::Position.get(@first)
|
||||
arg = f_pos - Risc::Position.get(self)
|
||||
else
|
||||
arg = @first
|
||||
end
|
||||
|
@ -24,7 +24,7 @@ module Risc
|
||||
me = previous.at + add
|
||||
object_pos = Position.get(@object)
|
||||
return if me == object_pos.at
|
||||
Position.set(@object , me)
|
||||
Position.set_to(@object , me)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user