remove the last_object from chain

also tried to keep the first around as was done in space
partially to not have to add the consrtants seperately
didn't work, as chain gets broken
also this has to be redone anyway
This commit is contained in:
Torsten Ruger
2018-08-29 21:05:54 +03:00
parent c983dcf0eb
commit ea7f3c9653
5 changed files with 24 additions and 17 deletions

View File

@ -6,7 +6,9 @@ module Risc
module Collector
def self.collect_space(linker)
keep Parfait.object_space , 0
linker.constants.each {|obj| keep(obj,0)}
linker.constants.each do |obj|
keep(obj,0)
end
Position.positions
end