Fixed: close all call sites.

This commit is contained in:
arookas 2015-12-31 05:43:45 -05:00
parent 2f5bb18948
commit 4365a6b894

View file

@ -30,8 +30,8 @@ namespace arookas {
foreach (var function in context.SymbolTable.Functions) { foreach (var function in context.SymbolTable.Functions) {
function.Compile(context); function.Compile(context);
} }
foreach (var function in context.SymbolTable.Functions) { foreach (var callable in context.SymbolTable.Callables) {
function.CloseCallSites(context); callable.CloseCallSites(context);
} }
results.DataCount = context.DataTable.Count; results.DataCount = context.DataTable.Count;
results.SymbolCount = context.SymbolTable.Count; results.SymbolCount = context.SymbolTable.Count;