rubyx/test/mom/instruction/helper.rb

17 lines
239 B
Ruby
Raw Normal View History

2018-05-15 18:29:27 +02:00
require_relative '../helper'
module Mom
class CompilerMock
def use_reg( type )
Risc.tmp_reg(type , nil)
2018-05-16 11:35:44 +02:00
end
def reset_regs
2018-05-15 18:29:27 +02:00
end
def add_constant(c)
end
end
class InstructionMock < Instruction
end
end