This commit is contained in:
Torsten Ruger
2014-05-19 11:28:37 +03:00
parent 59952f8503
commit c56b7cdf09
4 changed files with 5 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ module Arm
right = Vm::IntegerConstant.new( right.position - self.position - 8 )
@rn = :pc
end
if( right.is_a? Fixnum ) #HACK to not have to change the code just now
if( right.is_a? Fixnum )
right = Vm::IntegerConstant.new( right )
end
if (right.is_a?(Vm::IntegerConstant))