move space accesor to boot_space

This commit is contained in:
Torsten Ruger
2014-08-24 21:32:21 +03:00
parent dd82095cca
commit 0b65e5840e
10 changed files with 18 additions and 17 deletions

View File

@ -39,6 +39,14 @@ module Virtual
end
end
def self.space
if defined? @@space
@@space
else
@@space = BootSpace.new
end
end
# Passes are initiated empty and added to by anyone who want (basically)
# Even linking and assembly are passes and so there are quite a few system passes neccesary to result in a
# working binary. Other than that, this is intentionally quite flexible