Add mom boot options

and remove a lot of stale parfait boots from tests
(from before using rubyxc)
This commit is contained in:
2019-09-07 16:43:47 +03:00
parent 1539904ee2
commit 2c681bf2e5
25 changed files with 16 additions and 39 deletions

View File

@ -5,7 +5,6 @@ module Vool
include VoolCompile
def setup
Parfait.boot!(Parfait.default_test_options)
@compiler = compile_first_method( "local = 5;return")
@ins = @compiler.mom_instructions.next
end
@ -34,7 +33,6 @@ module Vool
class TestAssignMomInstanceToLocal < MiniTest::Test
include VoolCompile
def setup
Parfait.boot!(Parfait.default_test_options)
@compiler = compile_first_method( "@a = 5 ; local = @a;return")
@ins = @compiler.mom_instructions.next
end
@ -48,7 +46,6 @@ module Vool
include VoolCompile
def setup
Parfait.boot!(Parfait.default_test_options)
@compiler = compile_first_method( "arg = 5;return")
@ins = @compiler.mom_instructions.next
end