rename the objects accessor

and move to object keys, not object_id
This commit is contained in:
Torsten Ruger
2018-06-15 09:18:39 +03:00
parent 3cc9175efa
commit 2c765c8f14
8 changed files with 18 additions and 15 deletions

View File

@ -54,7 +54,7 @@ module Risc
@machine.translate(:interpreter)
@machine.position_all
@machine.create_binary
@machine.objects.each do |id , method|
@machine.object_positions.each do | method , position|
next unless method.is_a? Parfait::TypedMethod
method.cpu_instructions.each do |ins|
ins.assemble(DevNull.new)