small clean
This commit is contained in:
parent
f92e5cf475
commit
bf5576f805
@ -5,7 +5,6 @@ require "virtual/instruction"
|
||||
require "virtual/compiled_method"
|
||||
require "virtual/slots/slot"
|
||||
require "virtual/type"
|
||||
require "virtual/object"
|
||||
require "virtual/constants"
|
||||
# the passes _are_ order dependant
|
||||
require "virtual/passes/send_implementation"
|
||||
|
@ -1,5 +1,3 @@
|
||||
require_relative "object"
|
||||
|
||||
module Virtual
|
||||
|
||||
# Think flowcharts: blocks are the boxes. The smallest unit of linear code
|
||||
|
@ -38,19 +38,6 @@ module Virtual
|
||||
end
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user