Continue testing mom instructions

especially with the custom asserts, gadda say
mesa lika disa
This commit is contained in:
2019-09-15 18:31:10 +03:00
parent 6f108f67d7
commit 5ab021de5a
8 changed files with 73 additions and 7 deletions

View File

@ -96,7 +96,7 @@ module Mom
# type information inferred from their names / type hierachy
def sym_to_risc(compiler , source)
slots = @slots.dup
raise "Not Message #{object}" unless @known_object == :message
raise "Not Message #{@known_object}" unless @known_object == :message
left = Risc.message_reg
left = left.resolve_and_add( slots.shift , compiler)
reg = compiler.current.register