remove unused code

This commit is contained in:
Torsten Ruger 2016-12-28 18:17:52 +02:00
parent 4412eda105
commit a3585870b9
2 changed files with 0 additions and 9 deletions

View File

@ -77,7 +77,6 @@ module Arm
options = {} if options == nil
options.merge defaults
options[:opcode] = inst
first = Register::RegisterValue.convert(first)
clazz.new(first , options)
end
end
@ -88,8 +87,6 @@ module Arm
def_method(inst) do |left ,right , options = nil|
options = {} if options == nil
options.merge defaults
left = Register::RegisterValue.convert(left)
right = Register::RegisterValue.convert(right)
options[:opcode] = inst
clazz.new(left , right ,options)
end
@ -102,9 +99,6 @@ module Arm
options = {} if options == nil
options.merge defaults
options[:opcode] = inst
result = Register::RegisterValue.convert(result)
left = Register::RegisterValue.convert(left)
right = Register::RegisterValue.convert(right)
clazz.new(result, left , right ,options)
end
end

View File

@ -58,9 +58,6 @@ module Register
@symbol
end
def self.convert(unused)
unused
end
end
# Here we define the mapping from virtual machine objects, to register machine registers