block creation and insertion with correct types

This commit is contained in:
Torsten Ruger
2018-07-07 22:42:00 +03:00
parent 1913848910
commit 0d900de695
4 changed files with 32 additions and 10 deletions

View File

@ -45,7 +45,7 @@ module Risc
method = type.create_method( method_name , args , frame)
self.new(method)
end
# convert the given mom instruction to_risc and then add it (see add_code)
# continue down the instruction chain unti depleted
# (adding moves the insertion point so the whole mom chain is added as a risc chain)