fix some pesty errors

need to fix instruction overlap beofre interpreter starts again
This commit is contained in:
Torsten Ruger
2018-06-05 19:05:12 +03:00
parent 8d953a619f
commit d7b3368b28
6 changed files with 30 additions and 40 deletions

View File

@ -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