fixing tests for shifting constants into slots

This commit is contained in:
Torsten Ruger
2018-03-17 21:15:38 +05:30
parent 3fecdf54a5
commit cddc25a595
10 changed files with 14 additions and 13 deletions

View File

@ -15,6 +15,7 @@ module Risc
# Produce a RegToSlot instruction.
# From and to are registers or symbols that can be transformed to a register by resolve_to_register
# (which are precisely the symbols :message or :new_message. or a register)
# index resolves with resolve_to_index.
def self.reg_to_slot( source , from_reg , to , index )
from = resolve_to_register from_reg