add method to risc function call

just so we still know at compile time
This commit is contained in:
Torsten Ruger
2018-03-21 19:05:53 +05:30
parent a9196e9cd6
commit b5ef929c9c
3 changed files with 7 additions and 6 deletions

View File

@ -24,7 +24,7 @@ module Mom
return_label = Risc::Label.new(self,"continue")
load = SlotLoad.new([:message,:next_message,:return_address],[return_label])
moves = load.to_risc(compiler)
moves << Risc::FunctionCall.new(self, reg)
moves << Risc::FunctionCall.new(self, method ,reg)
moves << return_label
end