clean up requires a bit

This commit is contained in:
Torsten Ruger 2018-03-13 16:57:24 +05:30
parent 698de13d65
commit a3890afc20
5 changed files with 20 additions and 21 deletions

View File

@ -1,2 +0,0 @@
require_relative "common/list"
require_relative "common/statements"

View File

@ -14,5 +14,5 @@
module Mom
end
require_relative "mom/instruction/instruction.rb"
require_relative "mom/statement/statement.rb"
require_relative "instruction/instruction.rb"
require_relative "statement/statement.rb"

View File

@ -5,12 +5,12 @@ class String
end
require "risc/padding"
require "risc/positioned"
require_relative "risc/padding"
require_relative "risc/positioned"
require "parfait"
require "risc/machine"
require "risc/method_compiler"
require_relative "risc/machine"
require_relative "risc/method_compiler"
class Fixnum
def fits_u8?
@ -19,6 +19,7 @@ class Fixnum
end
require "risc/instruction"
require "risc/register_value"
require "risc/assembler"
require_relative "risc/instruction"
require_relative "risc/register_value"
require_relative "risc/assembler"
require_relative "risc/builtin/space"

View File

@ -1,6 +1,4 @@
require "parser/ruby22"
require "logging"
require "elf/object_writer"
require "ast"
AST::Node.class_eval do
@ -10,10 +8,13 @@ AST::Node.class_eval do
end
require "rx-file"
require "risc"
require "risc/builtin/space"
require "arm/arm_machine"
require "arm/translator"
require "common"
require "vool"
require "mom"
require_relative "logging"
require_relative "elf/object_writer"
require_relative "risc"
require_relative "arm/arm_machine"
require_relative "arm/translator"
require_relative "common/list"
require_relative "common/statements"
require_relative "vool/vool_compiler"
require_relative "mom/mom"

View File

@ -1 +0,0 @@
require_relative "vool/vool_compiler"