start on dynamic call test

fix cache entry being not loaded
test incomplete because of missing resolve_method
This commit is contained in:
Torsten Ruger
2018-03-24 17:55:01 +02:00
parent 6a538624c5
commit ad3e73d931
2 changed files with 60 additions and 0 deletions

View File

@ -58,6 +58,7 @@ module Mom
end
when Parfait::CacheEntry
left = compiler.use_reg( :int )
const << Risc.load_constant(original_source, @left.known_object , left)
left_index = Risc.resolve_to_index(:cache_entry , left_slots.first)
else
raise "We have left #{@left.known_object}"