chaning calling convention not to add frame/arg types

these types are only needed to debug and can be gotten from the method (also in the mesage)
just saving the 6 instructions for every call
This was made possible through previous commits on fake_memory access
This commit is contained in:
Torsten Ruger
2018-08-12 14:47:05 +03:00
parent 28b4a2b373
commit 25d7b8bd83
2 changed files with 18 additions and 15 deletions

View File

@ -25,6 +25,10 @@ module Parfait
attr :type
def self.memory_size
16
end
def to_s
str = "NamedList len= #{get_length}"
str += " at #{Risc::Position.get(self)}" if Risc::Position.set?(self)