small clean

This commit is contained in:
Torsten Ruger 2015-05-13 12:22:51 +03:00
parent f92e5cf475
commit bf5576f805
3 changed files with 10 additions and 26 deletions

View File

@ -5,7 +5,6 @@ require "virtual/instruction"
require "virtual/compiled_method" require "virtual/compiled_method"
require "virtual/slots/slot" require "virtual/slots/slot"
require "virtual/type" require "virtual/type"
require "virtual/object"
require "virtual/constants" require "virtual/constants"
# the passes _are_ order dependant # the passes _are_ order dependant
require "virtual/passes/send_implementation" require "virtual/passes/send_implementation"

View File

@ -1,5 +1,3 @@
require_relative "object"
module Virtual module Virtual
# Think flowcharts: blocks are the boxes. The smallest unit of linear code # Think flowcharts: blocks are the boxes. The smallest unit of linear code

View File

@ -38,19 +38,6 @@ module Virtual
end end
attr_reader :me, :next_normal, :next_exception, :arguments , :frame attr_reader :me, :next_normal, :next_exception, :arguments , :frame
# dummy for the eventual
def new_frame
raise self.inspect
end
# #
def compile_get method , name
raise "CALLED"
if method.has_arg(name)
method.add_code MessageGet.new(name)
else
method.add_code FrameGet.new(name)
end
method.get_var(name)
end
end end
end end