rework resolve_method, using builder

This commit is contained in:
Torsten Ruger
2018-04-07 23:07:44 +03:00
parent bf8e9e508b
commit 6958fc31ab
7 changed files with 33 additions and 36 deletions

View File

@ -27,8 +27,7 @@ module Mom
# Move method name, frame and arguemnt types from the method to the next_message
# Get the message from Space and link it.
def to_risc(compiler)
builder = Risc::Builder.new(compiler)
build_with(builder)
build_with(compiler.builder)
end
# directly called by to_risc