cache booted functions

remove more redundant parfait boots
This commit is contained in:
2019-09-07 17:56:06 +03:00
parent 2c681bf2e5
commit b13c19def3
18 changed files with 35 additions and 32 deletions

View File

@ -6,6 +6,7 @@ module Risc
def setup
Parfait.boot!(Parfait.default_test_options)
Mom.boot!
Mom::Builtin.boot_functions # creates main
Risc.boot!
@init = Parfait.object_space.get_init
@compiler = Risc::MethodCompiler.new( @init , Mom::Label.new( "source_name", "return_label"))