adding the blocks to virtual machine and store instructions in array not list

This commit is contained in:
Torsten Ruger
2014-08-13 11:59:51 +03:00
parent c2ae184e6e
commit 200228a33d
16 changed files with 196 additions and 207 deletions

View File

@ -37,7 +37,7 @@ module Ast
end
function = Virtual::Function.new(name , me , args )
clazz.add_function function
clazz.add_code_function function
parent_locals = context.locals
parent_function = context.function