fixing require order

so Register stuff is defined when builtin is loaded
This commit is contained in:
Torsten Ruger 2015-06-29 10:53:27 +03:00
parent a16abeb3e6
commit 06b5d24729
2 changed files with 1 additions and 2 deletions

View File

@ -8,8 +8,6 @@
# "New" is slightly misleading in that normal operation only ever # "New" is slightly misleading in that normal operation only ever
# recycles objects. # recycles objects.
require "register/builtin/object"
module Parfait module Parfait
# The Space contains all objects for a program. In functional terms it is a program, but in oo # The Space contains all objects for a program. In functional terms it is a program, but in oo
# it is a collection of objects, some of which are data, some classes, some functions # it is a collection of objects, some of which are data, some classes, some functions

View File

@ -7,4 +7,5 @@ require 'parser/transform'
require "salama-object-file" require "salama-object-file"
require "virtual" require "virtual"
require "register/register_machine" require "register/register_machine"
require "register/builtin/object"
require "arm/arm_machine" require "arm/arm_machine"