fix interpreter

by currently not checking for old register pattern
feels like wip, but passes (all but one)
This commit is contained in:
2020-03-13 16:25:35 +02:00
parent f2250bc206
commit c16ed5ab3a
4 changed files with 22 additions and 14 deletions

View File

@ -61,7 +61,7 @@ module Parfait
# But the integer (address) needs to be adjusted by load address.
class ReturnAddress < Integer
def to_s
def to_s(ignored = nil)
"ReturnAddress 0x" + object_id.to_s(16) + ":" + value.to_s
end
end