remove the :int shorthand

This commit is contained in:
Torsten Ruger
2018-03-31 19:17:55 +03:00
parent 696886cc94
commit a2173645b3
6 changed files with 9 additions and 9 deletions

View File

@ -25,7 +25,7 @@ module Mom
# Instead we need a DynamicJump instruction that explicitly takes a register as
# a target (not a label)
def to_risc(compiler)
reg = compiler.use_reg( :int )
reg = compiler.use_reg( :Object )
call = Risc.load_constant( self , @cache_entry , reg )
method_index = Risc.resolve_to_index(:cache_entry , :cached_method)
call << Risc::SlotToReg.new( self , reg ,method_index, reg)