fix method seperation
Since Compiled method split into Method and CompiledMethodInfo (parfait/vm) lots of call syntax changes
This commit is contained in:
@ -31,13 +31,9 @@ module Parfait
|
||||
# all is good after this init
|
||||
#global objects (data)
|
||||
@objects = Parfait::List.new_object
|
||||
#@symbols = Parfait::List.new_object
|
||||
end
|
||||
attr_reader :classes , :objects , :symbols, :messages, :next_message , :next_frame
|
||||
|
||||
@@SPACE = { :names => [:classes,:objects,:symbols,:messages, :next_message , :next_frame] ,
|
||||
:types => [Virtual::Reference,Virtual::Reference,Virtual::Reference,Virtual::Reference,Virtual::Reference]}
|
||||
|
||||
# need a two phase init for the object space (and generally parfait) because the space
|
||||
# is an interconnected graph, so not everthing is ready
|
||||
def late_init
|
||||
@ -46,9 +42,6 @@ module Parfait
|
||||
@next_message = @messages.first
|
||||
@next_frame = @frames.first
|
||||
end
|
||||
def old_layout
|
||||
@@SPACE
|
||||
end
|
||||
|
||||
@@object_space = nil
|
||||
# Make the object space globally available
|
||||
@ -64,9 +57,6 @@ module Parfait
|
||||
def add_object o
|
||||
return if @objects.include?(o)
|
||||
@objects.push o
|
||||
if o.is_a? Symbol
|
||||
@symbols << o
|
||||
end
|
||||
end
|
||||
|
||||
# this is the way to instantiate classes (not Parfait::Class.new)
|
||||
|
Reference in New Issue
Block a user