wrought one more instruction for message setup

now with dsl ready, should be faster
This commit is contained in:
Torsten Ruger
2018-04-06 20:58:58 +03:00
parent c02576b239
commit 41d573d571
3 changed files with 11 additions and 17 deletions

View File

@ -70,8 +70,8 @@ module Vool
VoolCompiler.ruby_to_vool in_Test("def meth; local = 5 ; a = 6;end")
test = Parfait.object_space.get_class_by_name(:Test)
method = test.instance_type.get_method(:meth)
assert_equal 3 , method.frame.instance_length
assert_equal 2 , method.frame.variable_index(:local)
assert_equal 3 , method.frame_type.instance_length
assert_equal 2 , method.frame_type.variable_index(:local)
end
end