fixing assembly
position code changed and linking too passes not working
This commit is contained in:
@ -34,10 +34,6 @@ module Parfait
|
||||
@object_layout.push name
|
||||
end
|
||||
|
||||
def mem_length
|
||||
padded_words(3)
|
||||
end
|
||||
|
||||
# ruby 2.1 list (just for reference, keep at bottom)
|
||||
#:allocate, :new, :superclass
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ module Parfait
|
||||
raise "not a method #{method.class} #{method.inspect}" unless method.is_a? Method
|
||||
raise "syserr #{method.name.class}" unless method.name.is_a? Word
|
||||
@instance_methods << method
|
||||
puts "#{self.name} add #{method.name}"
|
||||
#puts "#{self.name} add #{method.name}"
|
||||
method
|
||||
end
|
||||
|
||||
|
@ -71,6 +71,10 @@ module Parfait
|
||||
get_layout().index_of(name)
|
||||
end
|
||||
|
||||
def mem_length
|
||||
padded_words( get_layout().get_length() + 2 )
|
||||
end
|
||||
|
||||
# Object
|
||||
# :nil?, :===, :=~, :!~, :eql?, :hash, :<=>, :class, :singleton_class, :clone, :dup, :taint, :tainted?, :untaint,
|
||||
# :untrust, :untrusted?, :trust, :freeze, :frozen?, :to_s, :inspect, :methods, :singleton_methods, :protected_methods,
|
||||
|
@ -74,10 +74,6 @@ module Parfait
|
||||
raise "uups " if name.is_a? String
|
||||
@classes[name] = c
|
||||
end
|
||||
|
||||
def mem_length
|
||||
padded_words( 5 )
|
||||
end
|
||||
end
|
||||
# ObjectSpace
|
||||
# :each_object, :garbage_collect, :define_finalizer, :undefine_finalizer, :_id2ref, :count_objects
|
||||
|
Reference in New Issue
Block a user