remove the :int shorthand
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user