adding cache entry to parfait

This commit is contained in:
Torsten Ruger
2018-03-17 19:03:39 +05:30
parent 16c8fcbf66
commit 642f16b73a
4 changed files with 21 additions and 4 deletions

View File

@ -12,12 +12,10 @@ module Mom
# See vool send statement
#
class DynamicCall < Instruction
attr :cached_type
attr :cached_method
attr :cache_entry
def initialize(type = nil, method = nil)
@cached_type = type
@cached_method = method
@cache_entry = Parfait::CacheEntry.new(type, method)
end
def to_risc(context)