function now returns locals, not free registers

This commit is contained in:
Torsten Ruger
2014-05-21 16:42:36 +03:00
parent e1f889fd10
commit 2df2dcc528
7 changed files with 22 additions and 26 deletions

View File

@ -83,7 +83,7 @@ module Core
result = fibo_function.args[0]
int = fibo_function.args[1]
count = Vm::Integer.new(2)
loop_block = Vm::Block.new("loop")
loop_block = Vm::Block.new("loop", nil)
f1 = Vm::Integer.new(3)
f2 = Vm::Integer.new(4)
b = fibo_function.body.scope binding