rename (corrected) method def to instance methods in class

This commit is contained in:
Torsten Ruger
2014-08-23 23:57:47 +03:00
parent ad6be2676c
commit a7bfb6e6ee
9 changed files with 18 additions and 19 deletions

View File

@ -12,8 +12,8 @@ module Register
next unless code.is_a? Virtual::FunctionCall
to = RegisterReference.new(:r0)
tmp = RegisterReference.new(:r5)
move = RegisterMachine.instance.ldr( to , tmp , code.to.index )
block.replace(code , [move] )
# move = RegisterMachine.instance.ldr( to , tmp , code.to.index )
# block.replace(code , [move] )
end
end