move from new_object to normal new

This commit is contained in:
Torsten Ruger
2015-07-20 13:01:15 +03:00
parent 08e1852e5f
commit 2c1c38716b
13 changed files with 33 additions and 21 deletions

View File

@ -17,7 +17,7 @@ module Virtual
# The way out is to build empty shell objects and stuff the neccessary data into them
# (not use the normal initialize way)
def boot_parfait!
@space = Parfait::Space.new_object
@space = Parfait::Space.new
# map from the vm - class_name to the Parfait class (which carries parfait name)
class_mappings = {} #will later become instance variable

View File

@ -25,7 +25,7 @@ module FakeMem
end
module Virtual
def self.new_list array
list = Parfait::List.new_object
list = Parfait::List.new
list.set_length array.length
index = 1
while index <= array.length do