slight rename tremours

This commit is contained in:
Torsten Ruger
2014-07-16 20:16:10 +03:00
parent 1ff7ae2b0a
commit 4185758532
2 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ module Virtual
def attributes
[:name , :args , :receiver , :return_type , :start]
end
def initialize name , args , receiver = Virtual::SelfReference.new , return_type = Virtual::Mystery , start = MethodDefinitionEnter.new
def initialize name , args , receiver = Virtual::SelfReference.new , return_type = Virtual::Mystery , start = MethodEnter.new
@name = name.to_sym
@args = args
@locals = []
@ -28,7 +28,7 @@ module Virtual
@current = @start
end
attr_reader :name , :args , :receiver , :start
attr_accessor :return_type
attr_accessor :return_type , :current
def add instruction
raise instruction.inspect unless instruction.is_a? Instruction