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

@ -173,7 +173,7 @@ module Risc
# Build with builder (see there), adding the created instructions
def build(&block)
builder.build_and_return(&block)
builder.build(&block)
end
# return a new builder that uses this compiler