use compiler base class for blocks too

can now go to mom level and add
test harness still looks overly complicated, but works
first block tests at mom level
This commit is contained in:
Torsten Ruger
2018-07-10 22:03:32 +03:00
parent a3e758357c
commit 27a142f2a3
4 changed files with 34 additions and 12 deletions

View File

@ -24,7 +24,7 @@ module Vool
block_compiler = Risc::BlockCompiler.new( parfait_block , compiler.get_method )
compiler.add_block_compiler(block_compiler)
head = body.to_mom( block_compiler )
#block_compiler.add_mom(head)
block_compiler.add_mom(head)
block_compiler
end