start with some slot definition tests
This commit is contained in:
13
test/mom/instruction/helper.rb
Normal file
13
test/mom/instruction/helper.rb
Normal file
@ -0,0 +1,13 @@
|
||||
require_relative '../helper'
|
||||
|
||||
module Mom
|
||||
class CompilerMock
|
||||
def use_reg( type )
|
||||
Risc.tmp_reg(type , nil)
|
||||
end
|
||||
def add_constant(c)
|
||||
end
|
||||
end
|
||||
class InstructionMock < Instruction
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user