giving the method to return and save

so they can make decisions
like wether to create a frame or not
This commit is contained in:
Torsten Ruger
2015-06-28 22:03:21 +03:00
parent 02615db508
commit a16abeb3e6
4 changed files with 19 additions and 5 deletions

View File

@ -2,6 +2,11 @@ module Virtual
# following classes are stubs. currently in brainstorming mode, so anything may change anytime
class MethodEnter < Instruction
def initialize method
@method = method
end
attr_reader :method
end
end

View File

@ -3,6 +3,12 @@ module Virtual
# also the return shuffles our objects beck before actually transferring control
class MethodReturn < Instruction
def initialize method
@method = method
end
attr_reader :method
end
end