remove instance_get instruction

This commit is contained in:
Torsten Ruger
2015-10-10 11:17:04 +03:00
parent 4334b68736
commit 8642207158
5 changed files with 1 additions and 32 deletions

View File

@@ -1,16 +0,0 @@
module Virtual
# This implements instance variable get (not the opposite of Set,
# such a thing does not exists, their slots)
# Ivar get needs to acces the layout, find the index of the name,
# and shuffle the data to return register
# In short it's so complicated we implement it in ruby and stick the implementation here
class GetImplementation
def run block
block.codes.dup.each do |code|
next unless code.is_a? Virtual::InstanceGet
raise "Start coding"
end
end
end
end