refactor also building word

obviously created by copy/paste, more refactoring possible
This commit is contained in:
Torsten Ruger
2016-12-15 19:31:39 +02:00
parent 5ea6bfed27
commit dc56274940
4 changed files with 16 additions and 25 deletions

View File

@ -46,7 +46,6 @@ module Register
def translate_methods(methods , translator )
methods.each do |method|
instruction = method.instructions
puts method.name
while instruction.next
nekst = instruction.next
t = translator.translate(nekst) # returning nil means no replace