remove unused code
This commit is contained in:
parent
4412eda105
commit
a3585870b9
lib
@ -77,7 +77,6 @@ module Arm
|
|||||||
options = {} if options == nil
|
options = {} if options == nil
|
||||||
options.merge defaults
|
options.merge defaults
|
||||||
options[:opcode] = inst
|
options[:opcode] = inst
|
||||||
first = Register::RegisterValue.convert(first)
|
|
||||||
clazz.new(first , options)
|
clazz.new(first , options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -88,8 +87,6 @@ module Arm
|
|||||||
def_method(inst) do |left ,right , options = nil|
|
def_method(inst) do |left ,right , options = nil|
|
||||||
options = {} if options == nil
|
options = {} if options == nil
|
||||||
options.merge defaults
|
options.merge defaults
|
||||||
left = Register::RegisterValue.convert(left)
|
|
||||||
right = Register::RegisterValue.convert(right)
|
|
||||||
options[:opcode] = inst
|
options[:opcode] = inst
|
||||||
clazz.new(left , right ,options)
|
clazz.new(left , right ,options)
|
||||||
end
|
end
|
||||||
@ -102,9 +99,6 @@ module Arm
|
|||||||
options = {} if options == nil
|
options = {} if options == nil
|
||||||
options.merge defaults
|
options.merge defaults
|
||||||
options[:opcode] = inst
|
options[:opcode] = inst
|
||||||
result = Register::RegisterValue.convert(result)
|
|
||||||
left = Register::RegisterValue.convert(left)
|
|
||||||
right = Register::RegisterValue.convert(right)
|
|
||||||
clazz.new(result, left , right ,options)
|
clazz.new(result, left , right ,options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -58,9 +58,6 @@ module Register
|
|||||||
@symbol
|
@symbol
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.convert(unused)
|
|
||||||
unused
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Here we define the mapping from virtual machine objects, to register machine registers
|
# Here we define the mapping from virtual machine objects, to register machine registers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user