remove unused code
This commit is contained in:
parent
4412eda105
commit
a3585870b9
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user